From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1484081-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 88D17158010
	for <garchives@archives.gentoo.org>; Sat,  4 Feb 2023 22:50:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E506EE07EE;
	Sat,  4 Feb 2023 22:50:16 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B7342E07DB
	for <gentoo-commits@lists.gentoo.org>; Sat,  4 Feb 2023 22:50:16 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A9655340D1D
	for <gentoo-commits@lists.gentoo.org>; Sat,  4 Feb 2023 22:50:15 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D1C728A8
	for <gentoo-commits@lists.gentoo.org>; Sat,  4 Feb 2023 22:50:12 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1675550984.d4a2e1576fa423a575a475dc2e24c37bdc75e6e3.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/iotop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-process/iotop/Manifest sys-process/iotop/iotop-0.6_p20230124.ebuild
X-VCS-Directories: sys-process/iotop/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d4a2e1576fa423a575a475dc2e24c37bdc75e6e3
X-VCS-Branch: master
Date: Sat,  4 Feb 2023 22:50:12 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: cd0fd094-4673-452d-b564-559c80b0c2c6
X-Archives-Hash: f364851b7799d87e47d60a160904d01a

commit:     d4a2e1576fa423a575a475dc2e24c37bdc75e6e3
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Tue Jan 24 10:23:43 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 22:49:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a2e157

sys-process/iotop: add 0.6_p20230124

This bump fixes a lot of lingering issues as well as removing
the need for patching. Moved to EAPI8 and PEP517.

Closes: https://github.com/gentoo/gentoo/pull/24258
Closes: https://bugs.gentoo.org/815151
Co-authored-by: Sam James <sam <AT> cmpct.info>
Co-authored-by: Hairu/budgetazoo?
Signed-off-by: Joe Kappus <joe <AT> wt.gd>
Closes: https://github.com/gentoo/gentoo/pull/29240
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/iotop/Manifest                   |  1 +
 sys-process/iotop/iotop-0.6_p20230124.ebuild | 32 ++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/sys-process/iotop/Manifest b/sys-process/iotop/Manifest
index 962e9bd3da4f..9e9d839a5695 100644
--- a/sys-process/iotop/Manifest
+++ b/sys-process/iotop/Manifest
@@ -1 +1,2 @@
 DIST iotop-0.6.tar.bz2 29779 BLAKE2B 6c979f7beef4e9ec6536eb5ec113ab7089ccb0b8b00dfca6181408390584dac0eae18b110c3f4837a25defd7ab2c2e9d79f1f5cad762f97519e94847951f0037 SHA512 b1047da3bc46604447cc8ab22442a3a5381e1a79a6b176fe9ee8402ee5cebb959205407a6aeaffccccde9d2f67624ff8ee6717b051838f13ab88bf3a16db3ab9
+DIST iotop-0.6_p20230124.tar.gz 28751 BLAKE2B 4fd281b663288825a3315442171df649b59a133479732367863e4f0d75f81e760af5117aec7b1ff070bb7a98e7348f76a6490b9ab8866c0ff7cb52073b07fbd8 SHA512 916809c9a97ed260525b00b4e6bd1f55f07b307bf1dc2f61e87317014d04e1bb3fab03c9ad9d5c110d198fbc89427cbe9e6679f03785f71e7e572f985dbac2a7

diff --git a/sys-process/iotop/iotop-0.6_p20230124.ebuild b/sys-process/iotop/iotop-0.6_p20230124.ebuild
new file mode 100644
index 000000000000..eaa314fde532
--- /dev/null
+++ b/sys-process/iotop/iotop-0.6_p20230124.ebuild
@@ -0,0 +1,32 @@
+# 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} )
+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 ~ia64 ~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_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"
+}