mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 13:33:32 -04:00
sys-apps/intel-cmt-cat: disable pypy3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
inherit distutils-r1 perl-module
|
inherit distutils-r1 perl-module
|
||||||
|
|
||||||
@@ -21,14 +21,22 @@ IUSE="perl"
|
|||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${PYTHON_DEPS}
|
${PYTHON_DEPS}
|
||||||
|
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||||
|
|
||||||
perl? ( dev-lang/perl:= )
|
perl? ( dev-lang/perl:= )
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}"
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
PATCHES=( "${FILESDIR}/${PN}-perl-makefile.patch" )
|
PATCHES=( "${FILESDIR}/${PN}-perl-makefile.patch" )
|
||||||
|
|
||||||
distutils_enable_tests unittest
|
distutils_enable_tests unittest
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
#TODO: install appqos
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
mkdir -p "${T}/prefix" || die
|
mkdir -p "${T}/prefix" || die
|
||||||
@@ -48,9 +56,6 @@ src_compile() {
|
|||||||
pushd "lib/python" || die
|
pushd "lib/python" || die
|
||||||
python_foreach_impl distutils-r1_python_compile
|
python_foreach_impl distutils-r1_python_compile
|
||||||
popd || die
|
popd || die
|
||||||
# pushd "appqos" || die
|
|
||||||
# python_foreach_impl distutils-r1_python_compile
|
|
||||||
# popd || die
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
@@ -80,6 +85,9 @@ src_install() {
|
|||||||
docinto appqos
|
docinto appqos
|
||||||
dodoc appqos/README.md
|
dodoc appqos/README.md
|
||||||
|
|
||||||
|
unset DOCS
|
||||||
|
python_foreach_impl python_install
|
||||||
|
|
||||||
if use perl ; then
|
if use perl ; then
|
||||||
pushd "lib/perl" || die
|
pushd "lib/perl" || die
|
||||||
unset DOCS
|
unset DOCS
|
||||||
@@ -89,20 +97,26 @@ src_install() {
|
|||||||
docinto lib/perl
|
docinto lib/perl
|
||||||
dodoc lib/perl/README
|
dodoc lib/perl/README
|
||||||
fi
|
fi
|
||||||
unset DOCS
|
|
||||||
pushd "lib/python" || die
|
|
||||||
python_foreach_impl distutils-r1_python_install
|
|
||||||
popd || die
|
|
||||||
# pushd "appqos" || die
|
|
||||||
# python_foreach_impl distutils-r1_python_install
|
|
||||||
# popd || die
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_test() {
|
src_test() {
|
||||||
pushd "lib/python" || die
|
|
||||||
python_foreach_impl python_test
|
python_foreach_impl python_test
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
pushd "lib/python" || die
|
||||||
|
distutils-r1_python_install
|
||||||
popd || die
|
popd || die
|
||||||
|
|
||||||
|
# python_domodule appqos
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
pushd "lib/python" || die
|
||||||
|
eunittest
|
||||||
|
popd || die
|
||||||
|
|
||||||
# pushd "appqos" || die
|
# pushd "appqos" || die
|
||||||
# python_foreach_impl python_test
|
# epytest -vv tests
|
||||||
# popd || die
|
# popd || die
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user