From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3DECD1580BA for ; Wed, 25 Aug 2021 08:00:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61D73E0830; Wed, 25 Aug 2021 08:00:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 49F1FE0830 for ; Wed, 25 Aug 2021 08:00:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD2F833BE5A for ; Wed, 25 Aug 2021 08:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D8408D3 for ; Wed, 25 Aug 2021 08:00:19 +0000 (UTC) From: "Alessandro Barbieri" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" Message-ID: <1629878417.b886b5f8bd874281028e16ecd1a5cdcd76c859b2.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild X-VCS-Directories: sys-apps/intel-cmt-cat/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: b886b5f8bd874281028e16ecd1a5cdcd76c859b2 X-VCS-Branch: dev Date: Wed, 25 Aug 2021 08:00:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f3a22c0e-8ed4-484b-b310-ab9e313eba47 X-Archives-Hash: 4b6c784f4c68780f295c079e9c1ad914 commit: b886b5f8bd874281028e16ecd1a5cdcd76c859b2 Author: Alessandro Barbieri gmail com> AuthorDate: Wed Aug 25 07:57:43 2021 +0000 Commit: Alessandro Barbieri gmail 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 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 }