summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-31 03:01:30 +0100
committerSam James <sam@gentoo.org>2022-05-31 03:10:13 +0100
commit884cf1730e0e00195e2d8304fe955cb2ffe77449 (patch)
treec8d8dd6ed75537bb4331b56844d59b5b2fa25fdc /dev-python
parentapp-crypt/pius: enable py3.10, py3.11 and disable py3.7 (diff)
downloadgentoo-884cf1730e0e00195e2d8304fe955cb2ffe77449.tar.gz
gentoo-884cf1730e0e00195e2d8304fe955cb2ffe77449.tar.bz2
gentoo-884cf1730e0e00195e2d8304fe955cb2ffe77449.zip
dev-python/cgroup-utils: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/845696 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/cgroup-utils/Manifest1
-rw-r--r--dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/cgroup-utils/Manifest b/dev-python/cgroup-utils/Manifest
index c0a40afc6d42..c84fa9a7146a 100644
--- a/dev-python/cgroup-utils/Manifest
+++ b/dev-python/cgroup-utils/Manifest
@@ -1 +1,2 @@
+DIST cgroup-utils-0.8.gh.tar.gz 35260 BLAKE2B 11187a917d5159699eb46fb67f5057eb16317f86c32e6471d8543955e1d40107663517395226ae75e3b0739fb59c7521590a3d04a5d818b151970cbea559dee7 SHA512 fcc31fb6d2bdfa761c248553d056ea1bdcf697ae9ab8ccdc895feefdec7bc4e560bf2352968866b3064548545d98527d2a4092d4c8d2f335ef76e3c4b721bcf0
DIST cgroup-utils-0.8.tar.gz 35260 BLAKE2B 11187a917d5159699eb46fb67f5057eb16317f86c32e6471d8543955e1d40107663517395226ae75e3b0739fb59c7521590a3d04a5d818b151970cbea559dee7 SHA512 fcc31fb6d2bdfa761c248553d056ea1bdcf697ae9ab8ccdc895feefdec7bc4e560bf2352968866b3064548545d98527d2a4092d4c8d2f335ef76e3c4b721bcf0
diff --git a/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild b/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild
new file mode 100644
index 000000000000..ef958fcdcceb
--- /dev/null
+++ b/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+inherit distutils-r1
+
+DESCRIPTION="Tools and libraries for control groups of Linux"
+HOMEPAGE="https://github.com/peo3/cgroup-utils"
+SRC_URI="https://github.com/peo3/cgroup-utils/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.8-tests-builddir.patch
+
+ # Upstream: https://github.com/peo3/cgroup-utils/pull/12
+ "${FILESDIR}"/${PN}-0.8-tests-mountpoint.patch
+)
+
+python_test() {
+ sh ./test_all.sh || die
+}