public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/
@ 2021-08-27 16:10 Haelwenn Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Haelwenn Monnier @ 2021-08-27 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     b886b5f8bd874281028e16ecd1a5cdcd76c859b2
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Aug 25 07:57:43 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
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
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/
@ 2021-08-27 16:10 Haelwenn Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Haelwenn Monnier @ 2021-08-27 16:10 UTC (permalink / raw
  To: gentoo-commits

commit:     63cc2ef5e4bd14274c142ca5a129cdd78dc00a72
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Aug 26 02:35:38 2021 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Aug 26 02:36:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63cc2ef5

sys-apps/intel-cmt-cat: add appqos

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 ...-4.2.0.ebuild => intel-cmt-cat-4.2.0-r1.ebuild} | 45 ++++++++++++++--------
 sys-apps/intel-cmt-cat/metadata.xml                |  3 ++
 2 files changed, 32 insertions(+), 16 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-r1.ebuild
similarity index 76%
rename from sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0.ebuild
rename to sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0-r1.ebuild
index 0efe73894..f4c6de5e7 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-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..10} ) #pypy3 has warnings
 
 inherit distutils-r1 perl-module
 
@@ -17,17 +17,24 @@ SRC_URI="https://github.com/intel/intel-cmt-cat/archive/refs/tags/v${PV}.tar.gz
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="perl"
+IUSE="appqos perl"
 
 RDEPEND="
 	${PYTHON_DEPS}
-	dev-python/jsonschema[${PYTHON_USEDEP}]
-
+	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? ( dev-python/mock[${PYTHON_USEDEP}] )
+	test? ( appqos? ( dev-python/mock[${PYTHON_USEDEP}] ) )
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -36,8 +43,6 @@ PATCHES=( "${FILESDIR}/${PN}-perl-makefile.patch" )
 distutils_enable_tests unittest
 distutils_enable_tests pytest
 
-#TODO: install appqos
-
 src_prepare() {
 	mkdir -p "${T}/prefix" || die
 
@@ -47,15 +52,16 @@ src_prepare() {
 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
-	pushd "lib/python" || die
-	python_foreach_impl distutils-r1_python_compile
-	popd || die
 }
 
 src_install() {
@@ -82,8 +88,11 @@ src_install() {
 	dodoc snmp/README
 	docinto rdtset
 	dodoc rdtset/README
-	docinto appqos
-	dodoc appqos/README.md
+
+	if use appqos; then
+		docinto appqos
+		dodoc appqos/README.md
+	fi
 
 	unset DOCS
 	python_foreach_impl python_install
@@ -108,7 +117,9 @@ python_install() {
 	distutils-r1_python_install
 	popd || die
 
-#	python_domodule appqos
+	if use appqos; then
+		python_domodule appqos
+	fi
 }
 
 python_test() {
@@ -116,7 +127,9 @@ python_test() {
 	eunittest
 	popd || die
 
-#	pushd "appqos" || die
-#	epytest -vv tests
-#	popd || die
+	if use appqos; then
+		pushd "appqos" || die
+		epytest -vv tests
+		popd || die
+	fi
 }

diff --git a/sys-apps/intel-cmt-cat/metadata.xml b/sys-apps/intel-cmt-cat/metadata.xml
index fd18b3532..a0be758e8 100644
--- a/sys-apps/intel-cmt-cat/metadata.xml
+++ b/sys-apps/intel-cmt-cat/metadata.xml
@@ -48,4 +48,7 @@ PID API compile time option has been removed and the APIs are always available.
 Note that proper operation of these APIs depends on availability and
 selection of OS interface.
 	</longdescription>
+	<use>
+		<flag name="appqos">Install App QoS, a software created to demonstrate the use of Intel(R) RDT technologies (CAT, MBA) to improve QoS for applications via partitioning system resources.</flag>
+	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/
@ 2021-10-06  1:13 Theo Anderson
  0 siblings, 0 replies; 4+ messages in thread
From: Theo Anderson @ 2021-10-06  1:13 UTC (permalink / raw
  To: gentoo-commits

commit:     e4b2a97e4b743e4b4580a2241342534050b92969
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Oct  4 23:08:50 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Mon Oct  4 23:08:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4b2a97e

sys-apps/intel-cmt-cat: use https

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0-r2.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0-r2.ebuild
index aee2b7962..09341e17b 100644
--- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0-r2.ebuild
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.2.0-r2.ebuild
@@ -9,7 +9,7 @@ inherit distutils-r1 perl-module
 
 DESCRIPTION="User space software for Intel(R) Resource Director Technology"
 HOMEPAGE="
-	http://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html
+	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"


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/
@ 2023-03-13  8:29 Viorel Munteanu
  0 siblings, 0 replies; 4+ messages in thread
From: Viorel Munteanu @ 2023-03-13  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     e528d70ef74edfcf9310300eabed81d87413ece9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Mar 12 14:00:06 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Mar 12 14:00:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e528d70e

sys-apps/intel-cmt-cat: drop 4.3.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 sys-apps/intel-cmt-cat/Manifest                   |   1 -
 sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild | 140 ----------------------
 sys-apps/intel-cmt-cat/intel-cmt-cat-4.4.0.ebuild |   2 +-
 3 files changed, 1 insertion(+), 142 deletions(-)

diff --git a/sys-apps/intel-cmt-cat/Manifest b/sys-apps/intel-cmt-cat/Manifest
index 453e3f0f4..1f68d52f1 100644
--- a/sys-apps/intel-cmt-cat/Manifest
+++ b/sys-apps/intel-cmt-cat/Manifest
@@ -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

diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
deleted file mode 100644
index 04b4cef8e..000000000
--- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
+++ /dev/null
@@ -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
-}

diff --git a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.4.0.ebuild b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.4.0.ebuild
index 6f31809b6..b0a50edec 100644
--- a/sys-apps/intel-cmt-cat/intel-cmt-cat-4.4.0.ebuild
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.4.0.ebuild
@@ -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
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-03-13  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-06  1:13 [gentoo-commits] repo/proj/guru:master commit in: sys-apps/intel-cmt-cat/ Theo Anderson
  -- strict thread matches above, loose matches on Subject: below --
2023-03-13  8:29 Viorel Munteanu
2021-08-27 16:10 Haelwenn Monnier
2021-08-27 16:10 Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox