From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
Date: Wed, 25 Aug 2021 08:00:19 +0000 (UTC) [thread overview]
Message-ID: <1629878417.b886b5f8bd874281028e16ecd1a5cdcd76c859b2.Alessandro-Barbieri@gentoo> (raw)
commit: b886b5f8bd874281028e16ecd1a5cdcd76c859b2
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Aug 25 07:57:43 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Aug 25 08:00:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b886b5f8
sys-apps/intel-cmt-cat: disable pypy3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild | 40 +++++++++++++++--------
1 file changed, 27 insertions(+), 13 deletions(-)
diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild
index e65818eef..0efe73894 100644
--- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 perl-module
@@ -21,14 +21,22 @@ IUSE="perl"
RDEPEND="
${PYTHON_DEPS}
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+
perl? ( dev-lang/perl:= )
"
-DEPEND="${RDEPEND}"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-python/mock[${PYTHON_USEDEP}] )
+"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
PATCHES=( "${FILESDIR}/${PN}-perl-makefile.patch" )
distutils_enable_tests unittest
+distutils_enable_tests pytest
+
+#TODO: install appqos
src_prepare() {
mkdir -p "${T}/prefix" || die
@@ -48,9 +56,6 @@ src_compile() {
pushd "lib/python" || die
python_foreach_impl distutils-r1_python_compile
popd || die
-# pushd "appqos" || die
-# python_foreach_impl distutils-r1_python_compile
-# popd || die
}
src_install() {
@@ -80,6 +85,9 @@ src_install() {
docinto appqos
dodoc appqos/README.md
+ unset DOCS
+ python_foreach_impl python_install
+
if use perl ; then
pushd "lib/perl" || die
unset DOCS
@@ -89,20 +97,26 @@ src_install() {
docinto lib/perl
dodoc lib/perl/README
fi
- unset DOCS
+}
+
+src_test() {
+ python_foreach_impl python_test
+}
+
+python_install() {
pushd "lib/python" || die
- python_foreach_impl distutils-r1_python_install
+ distutils-r1_python_install
popd || die
-# pushd "appqos" || die
-# python_foreach_impl distutils-r1_python_install
-# popd || die
+
+# python_domodule appqos
}
-src_test() {
+python_test() {
pushd "lib/python" || die
- python_foreach_impl python_test
+ eunittest
popd || die
+
# pushd "appqos" || die
-# python_foreach_impl python_test
+# epytest -vv tests
# popd || die
}
next reply other threads:[~2021-08-25 8:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-25 8:00 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-26 2:36 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/ Alessandro Barbieri
2021-10-04 23:19 Alessandro Barbieri
2022-03-06 2:22 Alessandro Barbieri
2022-03-20 1:30 Alessandro Barbieri
2022-12-21 22:24 Julien Roy
2023-03-12 14:02 Anna Vyalkova
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1629878417.b886b5f8bd874281028e16ecd1a5cdcd76c859b2.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox