mirror of
https://github.com/MorizzG/gentoo-mg.git
synced 2025-12-06 04:22:43 +00:00
iotop: python 3.13
This commit is contained in:
parent
a5fdd2bf3f
commit
cdf910aafe
2 changed files with 38 additions and 0 deletions
1
sys-process/iotop/Manifest
Normal file
1
sys-process/iotop/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
DIST iotop-0.6_p20230124.tar.gz 28751 BLAKE2B 4fd281b663288825a3315442171df649b59a133479732367863e4f0d75f81e760af5117aec7b1ff070bb7a98e7348f76a6490b9ab8866c0ff7cb52073b07fbd8 SHA512 916809c9a97ed260525b00b4e6bd1f55f07b307bf1dc2f61e87317014d04e1bb3fab03c9ad9d5c110d198fbc89427cbe9e6679f03785f71e7e572f985dbac2a7
|
||||||
37
sys-process/iotop/iotop-0.6_p20230124.ebuild
Normal file
37
sys-process/iotop/iotop-0.6_p20230124.ebuild
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_SINGLE_IMPL=1
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=(python3_{9..13})
|
||||||
|
PYTHON_REQ_USE="ncurses(+)"
|
||||||
|
|
||||||
|
MY_COMMIT="a14256a3ff74eeee59493ac088561f1bafab85a7"
|
||||||
|
inherit distutils-r1 linux-info
|
||||||
|
|
||||||
|
DESCRIPTION="Top-like UI used to show which process is using the I/O"
|
||||||
|
HOMEPAGE="http://guichaz.free.fr/iotop/"
|
||||||
|
SRC_URI="https://repo.or.cz/iotop.git/snapshot/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_COMMIT::7}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
||||||
|
|
||||||
|
RDEPEND="!sys-process/iotop-c"
|
||||||
|
|
||||||
|
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' "
|
||||||
|
ewarn "And can be made persistent by adding 'kernel.task_delayacct = 1' to ${EROOT}/etc/sysctl.conf"
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue