Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-process/iotop-c/
Date: Fri, 28 Aug 2020 15:26:26
Message-Id: 1598590569.40211fec30c655db9a1799026c50b3896ef7e601.andrewammerlaan@gentoo
1 commit: 40211fec30c655db9a1799026c50b3896ef7e601
2 Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
3 AuthorDate: Fri Aug 28 04:56:09 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Fri Aug 28 04:56:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40211fec
7
8 sys-process/iotop-c: v1.9 bump
9
10 - after long hibernation, the project is active again
11 - fix ncursesw direct linking, use pkg-config for libs
12 - fix license to GPL-2+
13
14 Package-Manager: Portage-3.0.4, Repoman-3.0.1
15 Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
16
17 sys-process/iotop-c/Manifest | 1 +
18 sys-process/iotop-c/iotop-c-1.9.ebuild | 29 +++++++++++++++++++++++++++++
19 2 files changed, 30 insertions(+)
20
21 diff --git a/sys-process/iotop-c/Manifest b/sys-process/iotop-c/Manifest
22 index e6c55cc..0610756 100644
23 --- a/sys-process/iotop-c/Manifest
24 +++ b/sys-process/iotop-c/Manifest
25 @@ -1 +1,2 @@
26 DIST iotop-c-0_pre20140824.tar.gz 16154 BLAKE2B ccd5a1d0901ce7d6c554f9b4a2102e7eab9f9bb456f7f2289b0c7b158c8f220339bc018aeb9295f89b717a711b69cb7f1c144d0c84dce093309e6897ac22a67d SHA512 3dac84abff82f1ec6c14a0dae14c11a2260ebe0a6ec112cda06ecfe2cf8535536c92f432fc03cc2baee6b7326eb4dda4fc2fe08a15c41a78641822daea5726d0
27 +DIST iotop-c-1.9.tar.gz 28680 BLAKE2B 7e30ca3cec2694afeb2bead7f97eb7ee0dcb3066cf4d1643771b04b724789b9b09836998f6f693bc0a3332b4bb06fb36c46c6ae9b37f0b8088c212136d5bd9f3 SHA512 99a1b9bcae13dbcead1e1c9df8618164be0f9c81e7220d2d4b1e0b8d1528b6a4f6845763a6c04a38510a4174bcaf21abb216f582f49729820cd579e0ca2856f9
28
29 diff --git a/sys-process/iotop-c/iotop-c-1.9.ebuild b/sys-process/iotop-c/iotop-c-1.9.ebuild
30 new file mode 100644
31 index 0000000..7fef5de
32 --- /dev/null
33 +++ b/sys-process/iotop-c/iotop-c-1.9.ebuild
34 @@ -0,0 +1,29 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +DESCRIPTION="top utility for IO (C port)"
41 +HOMEPAGE="https://github.com/Tomas-M/iotop"
42 +SRC_URI="https://github.com/Tomas-M/iotop/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="GPL-2+"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +
48 +RDEPEND="sys-libs/ncurses:=
49 + !sys-process/iotop"
50 +DEPEND="${RDEPEND}"
51 +BDEPEND="virtual/pkgconfig"
52 +
53 +S="${WORKDIR}/iotop-${PV}"
54 +
55 +src_prepare() {
56 + default
57 + sed -i Makefile -e "s/-lncursesw/$(pkg-config --libs ncursesw)/"
58 +}
59 +
60 +src_install() {
61 + dobin iotop
62 + dodoc README.md
63 +}