mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
sys-apps/intel-cmt-cat: drop 4.3.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST intel-cmt-cat-4.3.0.tar.gz 478547 BLAKE2B 09dc746f9861dd1db5bdf7a46c469b57dbcf5215a9b418207581d4fe5abcdc4157169ace781f34f17228a5b4ad130af3a01f760d2c679be4c7d4efd3fc8208e4 SHA512 8229af3e931d7f32f1723c38cea9d3197554c076d64030256b05d44c2f1e6c3271501352ed4a8a8f4027a7c196f0a1fcf45fff48cb6f0f14c1d1ef45f7784fcd
|
||||
DIST intel-cmt-cat-4.4.0.tar.gz 494818 BLAKE2B 827b5b001612ce0241088aabe2cfb87f460148e5321f92ff9f0a1b9d58ac1afe25e32afc3c842736f33f338e80a8ba64d983271504d8dc2cc89fcc95ff903b9a SHA512 3882304976f5a27bb7085a764ac481114c403281648e288f75db3dba325c46572b88d5d47841711cf1bdc77f4706fb28026036f871bbfb763a66bcc226e1728d
|
||||
|
||||
@@ -1,140 +0,0 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} ) #pypy3 has warnings
|
||||
|
||||
inherit distutils-r1 perl-module
|
||||
|
||||
DESCRIPTION="User space software for Intel(R) Resource Director Technology"
|
||||
HOMEPAGE="
|
||||
https://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html
|
||||
https://github.com/intel/intel-cmt-cat
|
||||
"
|
||||
SRC_URI="https://github.com/intel/intel-cmt-cat/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="appqos perl"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
appqos? (
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/flask-restful[${PYTHON_USEDEP}]
|
||||
dev-python/gevent[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
sys-apps/CommsPowerManagement[${PYTHON_USEDEP}]
|
||||
)
|
||||
perl? ( dev-lang/perl:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
appqos? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-perl-makefile.patch"
|
||||
"${FILESDIR}/${P}-no-strip.patch"
|
||||
"${FILESDIR}/${P}-respect-flags.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
mkdir -p "${T}/prefix" || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake all PREFIX="${T}/prefix"
|
||||
|
||||
pushd "lib/python" || die
|
||||
python_foreach_impl distutils-r1_python_compile
|
||||
popd || die
|
||||
|
||||
if use perl; then
|
||||
pushd "lib/perl" || die
|
||||
perl-module_src_configure
|
||||
perl-module_src_compile
|
||||
popd || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install PREFIX="${T}/prefix"
|
||||
|
||||
dobin "${T}"/prefix/bin/*
|
||||
doheader "${T}"/prefix/include/*
|
||||
doman "${T}"/prefix/man/man*/*
|
||||
dolib.so "${T}"/prefix/lib/*
|
||||
|
||||
dobin tools/membw/membw
|
||||
dobin snmp/rdt-agentx.pl
|
||||
|
||||
dodoc ChangeLog README.md
|
||||
docinto membw
|
||||
dodoc tools/membw/README
|
||||
docinto pqos
|
||||
dodoc -r pqos/README pqos/configs
|
||||
docinto lib
|
||||
dodoc lib/README
|
||||
docinto lib/python
|
||||
dodoc lib/python/README.md
|
||||
docinto snmp
|
||||
dodoc snmp/README
|
||||
docinto rdtset
|
||||
dodoc rdtset/README
|
||||
|
||||
if use appqos; then
|
||||
docinto appqos
|
||||
dodoc appqos/README.md
|
||||
fi
|
||||
|
||||
unset DOCS
|
||||
python_foreach_impl python_install
|
||||
|
||||
if use perl; then
|
||||
pushd "lib/perl" || die
|
||||
unset DOCS
|
||||
myinst=( DESTDIR="${D}" )
|
||||
perl-module_src_install
|
||||
popd || die
|
||||
docinto lib/perl
|
||||
dodoc lib/perl/README
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${S}/lib" python_foreach_impl python_test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
pushd "lib/python" || die
|
||||
distutils-r1_python_install
|
||||
popd || die
|
||||
|
||||
if use appqos; then
|
||||
python_domodule appqos
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "lib/python" || die
|
||||
eunittest
|
||||
popd || die
|
||||
|
||||
if use appqos; then
|
||||
pushd "appqos" || die
|
||||
epytest -vv tests
|
||||
popd || die
|
||||
fi
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} ) #pypy3 has warnings
|
||||
PYTHON_COMPAT=( python3_{9..11} ) #pypy3 has warnings
|
||||
|
||||
inherit distutils-r1 perl-module
|
||||
|
||||
|
||||
Reference in New Issue
Block a user