summaryrefslogtreecommitdiff
path: root/sys-process/iotop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-process/iotop
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-process/iotop')
-rw-r--r--sys-process/iotop/Manifest6
-rw-r--r--sys-process/iotop/files/iotop-0.6-setup.py3.patch31
-rw-r--r--sys-process/iotop/iotop-0.6.ebuild28
-rw-r--r--sys-process/iotop/metadata.xml11
4 files changed, 76 insertions, 0 deletions
diff --git a/sys-process/iotop/Manifest b/sys-process/iotop/Manifest
new file mode 100644
index 000000000000..b09f3bc8cbbc
--- /dev/null
+++ b/sys-process/iotop/Manifest
@@ -0,0 +1,6 @@
+AUX iotop-0.6-setup.py3.patch 1151 SHA256 17383250d9b911e4265f9df3648dbef456711ee08c9338aca878bb6e92cb55dd SHA512 6b97da5ef9e78c268193ce0270328f4c4d99d30f532fe68dac9bd033bb0a5e6cdb3145b53a7670c7babdae7f170473d1f9eb23137b5950fdaceadde266b4bb73 WHIRLPOOL 5fdbcac4466c841c1568a30d3ee2c7653c1765f1d6668914c1de6c5f235472b747791254d3ac772e6e8cf91c657394f68eaa52ff6401a764170e547a7058d8b8
+DIST iotop-0.6.tar.bz2 29779 SHA256 3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b SHA512 b1047da3bc46604447cc8ab22442a3a5381e1a79a6b176fe9ee8402ee5cebb959205407a6aeaffccccde9d2f67624ff8ee6717b051838f13ab88bf3a16db3ab9 WHIRLPOOL 662aece6230a0165739aac3130f69fc8f595fad045cf204e524fa1955692e81382a77fbb6938af3452608d64a7ca374ca49cc99db4c8cdb2bb04a1006676c82b
+EBUILD iotop-0.6.ebuild 717 SHA256 d6c2c618d7df7c983505bb1af958090e793b7b3ac3c0fa242bd9c583834bb0dd SHA512 c36caf56f06bb6a48fd2c8a13dc46dc916a9f5953a2368303975a9d3f7f8805bc881ca1e543df0c3c3b6e53d9e6e936c07a17dc46d51c16ac16eba09238148b5 WHIRLPOOL 7a20f507400a509543881fe56a99bb23599e98ccbba35dea00a4bec507dab5551d38c2357b72d0d4c10ae8d79edaa093738b7f03dc3e271b1641c0916ad27237
+MISC ChangeLog 3128 SHA256 a606ae4a1a5c4164b76af8919a112bf8766caf2f89433fb85bd60c15959122aa SHA512 097678ebfe45ab10eec34ee4c9322c26ad31979cb191922d00f88215bd9da4159e1185ca1280b9270d228f71a839e023e94774ffb010b8b2e5df8b2c59c8a1d5 WHIRLPOOL a38d633dd3e29b3f4ff480db41877f4606cabe5cd2d121b18b7846825518e709cfd728b78db59fd10ff5ef9642593a17b76661faf9b719ac7ca96109ea0199a2
+MISC ChangeLog-2015 9153 SHA256 92dd631d2864149e0e680fc8950ae8064824bb61bcc9750e2455a86ffc191e91 SHA512 19f9548b7e8dcd2bbf73fb9a643efe0914fe024277a53aea25a7e5a6870cba1991a19e75addaf824120d9b47fcb374069579d0e0e594ef82f07ce257e5f55304 WHIRLPOOL 64bdeee806f069f46dca4334dc1e4299eeb623b60e04b1b33285ddf3f667afb860acc2cabbb422cdbfe0be8ee7eea7ccecc4157eb66b7420fb3960b4117b8abe
+MISC metadata.xml 359 SHA256 b909ed55c75dcd448c50ef0c52e6bf18b55a1c6286b9d627da42084e57e6b49e SHA512 12f1f2e8971ea7d83248c637e6128be106087f733af8625fea8dd7ad9c891ef38ea0eda8ed7f6cfe96a4c0b795a799c1b51301e0ae424898c413a354305c7852 WHIRLPOOL 39fe7756930e9851bbc72c57cc3a2fdfe6a3aca674bd782992ec4ac35d0276d6dba07a21d5d58f4cd8c22b93be59624e3a273e88109e4e651d6be780e6a8c04a
diff --git a/sys-process/iotop/files/iotop-0.6-setup.py3.patch b/sys-process/iotop/files/iotop-0.6-setup.py3.patch
new file mode 100644
index 000000000000..5844d86cb1ba
--- /dev/null
+++ b/sys-process/iotop/files/iotop-0.6-setup.py3.patch
@@ -0,0 +1,31 @@
+From 98a5985e52e7041eb96c80dd95fd5c70634f5ee7 Mon Sep 17 00:00:00 2001
+Message-Id: <98a5985e52e7041eb96c80dd95fd5c70634f5ee7.1371536396.git.jlec@gentoo.org>
+From: Justin Lecher <jlec@gentoo.org>
+Date: Tue, 18 Jun 2013 08:19:28 +0200
+Subject: [PATCH] Make setp.py compatible with python3
+
+Dictionaries in python 3 do not contain the itervalues() method anymore.
+The values() method should be used and can also safely applied for
+python 2.
+
+Signed-off-by: Justin Lecher <jlec@gentoo.org>
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 7150102..9de6068 100755
+--- a/setup.py
++++ b/setup.py
+@@ -7,7 +7,7 @@ from iotop.version import VERSION
+ # Dirty hack to make setup.py install the iotop script to sbin/ instead of bin/
+ # while still honoring the choice of installing into local/ or not.
+ if hasattr(distutils_install, 'INSTALL_SCHEMES'):
+- for d in distutils_install.INSTALL_SCHEMES.itervalues():
++ for d in distutils_install.INSTALL_SCHEMES.values():
+ if d.get('scripts', '').endswith('/bin'):
+ d['scripts'] = d['scripts'][:-len('/bin')] + '/sbin'
+
+--
+1.8.2.1
+
diff --git a/sys-process/iotop/iotop-0.6.ebuild b/sys-process/iotop/iotop-0.6.ebuild
new file mode 100644
index 000000000000..8d3f4872da40
--- /dev/null
+++ b/sys-process/iotop/iotop-0.6.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_REQ_USE="ncurses(+)"
+
+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="http://guichaz.free.fr/iotop/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ~arm64 hppa ~ia64 ~mips ppc sparc x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+CONFIG_CHECK="~TASK_IO_ACCOUNTING ~TASK_DELAY_ACCT ~TASKSTATS ~VM_EVENT_COUNTERS"
+
+DOCS=( NEWS README THANKS ChangeLog )
+
+PATCHES=( "${FILESDIR}"/${P}-setup.py3.patch )
+
+pkg_setup() {
+ linux-info_pkg_setup
+}
diff --git a/sys-process/iotop/metadata.xml b/sys-process/iotop/metadata.xml
new file mode 100644
index 000000000000..968cfd1f3c6c
--- /dev/null
+++ b/sys-process/iotop/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ </maintainer>
+<maintainer type="project">
+ <email>shell-tools@gentoo.org</email>
+ <name>Gentoo Shell Tools Project</name>
+ </maintainer>
+</pkgmetadata>