public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/cgroup-utils/files/, dev-python/cgroup-utils/
@ 2024-05-25 12:50 Arthur Zamarin
  0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2024-05-25 12:50 UTC (permalink / raw
  To: gentoo-commits

commit:     6c0cef808473ec24e497447fc281c878fd7e9374
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat May 25 12:49:00 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat May 25 12:49:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c0cef80

dev-python/cgroup-utils: treeclean

Bug: https://bugs.gentoo.org/723568
Bug: https://bugs.gentoo.org/929445
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/cgroup-utils/Manifest                   |  1 -
 dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild | 27 ----------------------
 .../files/cgroup-utils-0.8-tests-builddir.patch    | 25 --------------------
 .../files/cgroup-utils-0.8-tests-mountpoint.patch  | 25 --------------------
 dev-python/cgroup-utils/metadata.xml               | 12 ----------
 5 files changed, 90 deletions(-)

diff --git a/dev-python/cgroup-utils/Manifest b/dev-python/cgroup-utils/Manifest
deleted file mode 100644
index 78ef92e6e695..000000000000
--- a/dev-python/cgroup-utils/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST cgroup-utils-0.8.gh.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
deleted file mode 100644
index 00f4501af135..000000000000
--- a/dev-python/cgroup-utils/cgroup-utils-0.8-r1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..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
-}

diff --git a/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-builddir.patch b/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-builddir.patch
deleted file mode 100644
index 2ec6c4f4fbb0..000000000000
--- a/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-builddir.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From cf44c226f26a3d753402d36c66fcb8f81b4748f5 Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Fri, 27 Mar 2020 15:35:46 +0100
-Subject: [PATCH] Make tests find the build
-
----
- test_all.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test_all.sh b/test_all.sh
-index d158f76..4fbbf2e 100644
---- a/test_all.sh
-+++ b/test_all.sh
-@@ -85,7 +85,7 @@ test_support()
-     fi
- }
- 
--buildpath=$(find ./build/lib.linux* -maxdepth 0 -type d)
-+buildpath="${BUILD_DIR}"/lib  # passed by distutils-r1 eclass
- export PYTHONPATH=$buildpath:.
- 
- echo "## Testing each commands for each subsystems"
--- 
-2.24.1
-

diff --git a/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-mountpoint.patch b/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-mountpoint.patch
deleted file mode 100644
index bff7b04868d3..000000000000
--- a/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-mountpoint.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 0697af646a8235f80856c472e623117719c7186e Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Fri, 27 Mar 2020 15:48:25 +0100
-Subject: [PATCH] test_all.sh: Fix detection of memory cgroup mountpoint
-
----
- test_all.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test_all.sh b/test_all.sh
-index d158f76..4d10e19 100644
---- a/test_all.sh
-+++ b/test_all.sh
-@@ -97,7 +97,7 @@ done
- 
- test_run bin/cgutil top -b -n 1
- 
--root=$(awk '/^cgroup.*memory/ {print $2;}' /proc/mounts)
-+root=$(awk '/^(cgroup.*)?memory/ {print $2;}' /proc/mounts)
- path=$root/memory.usage_in_bytes
- test_run_event bin/cgutil event -t 0.1 $path +1M
- path=$root/memory.oom_control
--- 
-2.24.1
-

diff --git a/dev-python/cgroup-utils/metadata.xml b/dev-python/cgroup-utils/metadata.xml
deleted file mode 100644
index 7514082d5c59..000000000000
--- a/dev-python/cgroup-utils/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>python@gentoo.org</email>
-		<name>Python</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="github">peo3/cgroup-utils</remote-id>
-		<remote-id type="pypi">cgroup-utils</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-25 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-25 12:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/cgroup-utils/files/, dev-python/cgroup-utils/ Arthur Zamarin

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