1 |
commit: 884cf1730e0e00195e2d8304fe955cb2ffe77449 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 02:01:30 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 02:10:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884cf173 |
7 |
|
8 |
dev-python/cgroup-utils: update EAPI 7 -> 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/845696 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-python/cgroup-utils/Manifest | 1 + |
14 |
dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild | 27 ++++++++++++++++++++++ |
15 |
2 files changed, 28 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/cgroup-utils/Manifest b/dev-python/cgroup-utils/Manifest |
18 |
index c0a40afc6d42..c84fa9a7146a 100644 |
19 |
--- a/dev-python/cgroup-utils/Manifest |
20 |
+++ b/dev-python/cgroup-utils/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST cgroup-utils-0.8.gh.tar.gz 35260 BLAKE2B 11187a917d5159699eb46fb67f5057eb16317f86c32e6471d8543955e1d40107663517395226ae75e3b0739fb59c7521590a3d04a5d818b151970cbea559dee7 SHA512 fcc31fb6d2bdfa761c248553d056ea1bdcf697ae9ab8ccdc895feefdec7bc4e560bf2352968866b3064548545d98527d2a4092d4c8d2f335ef76e3c4b721bcf0 |
23 |
DIST cgroup-utils-0.8.tar.gz 35260 BLAKE2B 11187a917d5159699eb46fb67f5057eb16317f86c32e6471d8543955e1d40107663517395226ae75e3b0739fb59c7521590a3d04a5d818b151970cbea559dee7 SHA512 fcc31fb6d2bdfa761c248553d056ea1bdcf697ae9ab8ccdc895feefdec7bc4e560bf2352968866b3064548545d98527d2a4092d4c8d2f335ef76e3c4b721bcf0 |
24 |
|
25 |
diff --git a/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild b/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..ef958fcdcceb |
28 |
--- /dev/null |
29 |
+++ b/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild |
30 |
@@ -0,0 +1,27 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Tools and libraries for control groups of Linux" |
41 |
+HOMEPAGE="https://github.com/peo3/cgroup-utils" |
42 |
+SRC_URI="https://github.com/peo3/cgroup-utils/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+PATCHES=( |
49 |
+ "${FILESDIR}"/${PN}-0.8-tests-builddir.patch |
50 |
+ |
51 |
+ # Upstream: https://github.com/peo3/cgroup-utils/pull/12 |
52 |
+ "${FILESDIR}"/${PN}-0.8-tests-mountpoint.patch |
53 |
+) |
54 |
+ |
55 |
+python_test() { |
56 |
+ sh ./test_all.sh || die |
57 |
+} |