summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-04 22:44:20 +0000
committerSam James <sam@gentoo.org>2023-02-04 22:49:46 +0000
commit6b180c1814732b02e4d11703f17e6156c97ab9db (patch)
treed537a9999806a43c3fe5f14583591ba5ff71fad7 /sys-process/iotop
parentsys-process/iotop: add 0.6_p20230124 (diff)
downloadgentoo-6b180c1814732b02e4d11703f17e6156c97ab9db.tar.gz
gentoo-6b180c1814732b02e4d11703f17e6156c97ab9db.tar.bz2
gentoo-6b180c1814732b02e4d11703f17e6156c97ab9db.zip
sys-process/iotop: make single-impl
We're not aware of anything importing its module. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/iotop')
-rw-r--r--sys-process/iotop/iotop-0.6_p20230124.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-process/iotop/iotop-0.6_p20230124.ebuild b/sys-process/iotop/iotop-0.6_p20230124.ebuild
index eaa314fde532..4f33df9d6d78 100644
--- a/sys-process/iotop/iotop-0.6_p20230124.ebuild
+++ b/sys-process/iotop/iotop-0.6_p20230124.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="ncurses(+)"
@@ -25,6 +26,10 @@ CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS
DOCS=( NEWS README THANKS )
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
pkg_postinst() {
ewarn "Since Linux 5.14, sysctl kernel.task_delayacct should be enabled"
ewarn "This can be enabled by running: 'sysctl kernel.task_delayacct=1' "