From 884cf1730e0e00195e2d8304fe955cb2ffe77449 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 31 May 2022 03:01:30 +0100 Subject: dev-python/cgroup-utils: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/845696 Signed-off-by: Sam James --- dev-python/cgroup-utils/Manifest | 1 + dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild (limited to 'dev-python') 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 +} -- cgit v1.2.3-65-gdbad