public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2021-08-25  8:00 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-25  8:00 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:     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
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2021-08-26  2:36 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-08-26  2:36 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:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
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] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2021-10-04 23:19 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-10-04 23:19 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:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
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] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2022-03-06  2:22 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2022-03-06  2:22 UTC (permalink / raw
  To: gentoo-commits

commit:     f8fdc08321a1a00a89e65a2ceb24f2fdd259a824
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar  6 01:42:50 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar  6 02:22:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f8fdc083

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

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

 sys-apps/intel-cmt-cat/Manifest                   |   1 +
 sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild | 139 ++++++++++++++++++++++
 2 files changed, 140 insertions(+)

diff --git a/sys-apps/intel-cmt-cat/Manifest b/sys-apps/intel-cmt-cat/Manifest
index 59cfff0d6..8820d1e5a 100644
--- a/sys-apps/intel-cmt-cat/Manifest
+++ b/sys-apps/intel-cmt-cat/Manifest
@@ -1 +1,2 @@
 DIST intel-cmt-cat-4.2.0.tar.gz 470596 BLAKE2B 781e69a7019a27e87b6b6c8d2c914305a837d019cadf8d1b6221942c631e0e46531a292379d7979ae88e7a590b155bc4e5a62777bdd9ebfb2881471ef64bfa32 SHA512 ccfae2e3fa5bb8b7dfe5ed39ab20a8526eb759378aeb14fb7ed79f4f94820cd69e497c9e7d411f1d9ec40c07ca4c7c4f2db6ff1e034a8517c01c06bd8a70d4b6
+DIST intel-cmt-cat-4.3.0.tar.gz 478547 BLAKE2B 09dc746f9861dd1db5bdf7a46c469b57dbcf5215a9b418207581d4fe5abcdc4157169ace781f34f17228a5b4ad130af3a01f760d2c679be4c7d4efd3fc8208e4 SHA512 8229af3e931d7f32f1723c38cea9d3197554c076d64030256b05d44c2f1e6c3271501352ed4a8a8f4027a7c196f0a1fcf45fff48cb6f0f14c1d1ef45f7784fcd

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
new file mode 100644
index 000000000..7e8662eb6
--- /dev/null
+++ b/sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild
@@ -0,0 +1,139 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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"
+KEYWORDS="~amd64"
+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}/${PN}-do-not-strip.patch"
+	"${FILESDIR}/${PN}-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
+	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.txt
+	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() {
+	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
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2022-03-20  1:30 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2022-03-20  1:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1b2736966b6579742b9e89b53c3e591bc891198c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 20 01:29:24 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 20 01:30:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b273696

sys-apps/intel-cmt-cat: try to fix library load path for tests

Bug: https://bugs.gentoo.org/834906
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

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
index 2c84f7f4c..61345cd83 100644
--- 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
@@ -34,7 +34,9 @@ RDEPEND="
 "
 DEPEND="
 	${RDEPEND}
-	test? ( appqos? ( dev-python/mock[${PYTHON_USEDEP}] ) )
+	test? (
+		appqos? ( dev-python/mock[${PYTHON_USEDEP}] )
+	)
 "
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -101,7 +103,7 @@ src_install() {
 	unset DOCS
 	python_foreach_impl python_install
 
-	if use perl ; then
+	if use perl; then
 		pushd "lib/perl" || die
 		unset DOCS
 		myinst=( DESTDIR="${D}" )
@@ -113,7 +115,7 @@ src_install() {
 }
 
 src_test() {
-	python_foreach_impl python_test
+	LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${S}/lib" python_foreach_impl python_test
 }
 
 python_install() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2022-12-21 22:24 Julien Roy
  0 siblings, 0 replies; 7+ messages in thread
From: Julien Roy @ 2022-12-21 22:24 UTC (permalink / raw
  To: gentoo-commits

commit:     082a18b0e53c4f35001d133881895ebd194fbdb2
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Dec 21 22:23:31 2022 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Dec 21 22:24:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=082a18b0

sys-apps/intel-cmt-cat: unkeyword 4.*.0
DEPEND dev-python/gevent was dropped from ::gentoo

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 sys-apps/intel-cmt-cat/intel-cmt-cat-4.3.0.ebuild | 1 -
 sys-apps/intel-cmt-cat/intel-cmt-cat-4.4.0.ebuild | 1 -
 2 files changed, 2 deletions(-)

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
index 61345cd83..8fc860fcb 100644
--- 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
@@ -16,7 +16,6 @@ SRC_URI="https://github.com/intel/intel-cmt-cat/archive/refs/tags/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
 IUSE="appqos perl"
 
 RDEPEND="

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 a883db783..13fbf2eb3 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
@@ -16,7 +16,6 @@ SRC_URI="https://github.com/intel/intel-cmt-cat/archive/refs/tags/v${PV}.tar.gz
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64"
 IUSE="appqos perl"
 
 RDEPEND="


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/
@ 2023-03-12 14:02 Anna Vyalkova
  0 siblings, 0 replies; 7+ messages in thread
From: Anna Vyalkova @ 2023-03-12 14:02 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:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
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] 7+ messages in thread

end of thread, other threads:[~2023-03-12 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-12 14:02 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/intel-cmt-cat/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2022-12-21 22:24 Julien Roy
2022-03-20  1:30 Alessandro Barbieri
2022-03-06  2:22 Alessandro Barbieri
2021-10-04 23:19 Alessandro Barbieri
2021-08-26  2:36 Alessandro Barbieri
2021-08-25  8:00 Alessandro Barbieri

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