commit:     6b180c1814732b02e4d11703f17e6156c97ab9db
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 22:44:20 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 22:49:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b180c18

sys-process/iotop: make single-impl

We're not aware of anything importing its module.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/iotop/iotop-0.6_p20230124.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

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' 
"

Reply via email to