Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/jnettop/
Date: Tue, 11 Jan 2022 21:10:30
Message-Id: 1641935405.bff4a82e074ac7b7a8ed0b6d733ff9c247cdae26.jsmolic@gentoo
1 commit: bff4a82e074ac7b7a8ed0b6d733ff9c247cdae26
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 11 21:07:22 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 11 21:10:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff4a82e
7
8 net-analyzer/jnettop: Port to EAPI 8
9
10 Closes: https://bugs.gentoo.org/826814
11 Closes: https://bugs.gentoo.org/738074
12 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
13
14 ...op-0.13.0-r1.ebuild => jnettop-0.13.0-r2.ebuild} | 21 +++++++++++----------
15 1 file changed, 11 insertions(+), 10 deletions(-)
16
17 diff --git a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
18 similarity index 70%
19 rename from net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
20 rename to net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
21 index 546fa03600b3..f94cbf95ae1c 100644
22 --- a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
23 +++ b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
24 @@ -1,12 +1,12 @@
25 -# Copyright 1999-2021 Gentoo Authors
26 +# Copyright 1999-2022 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 -EAPI=5
30 +EAPI=8
31
32 -inherit autotools epatch
33 +inherit autotools
34
35 DESCRIPTION="A top like console network traffic visualiser"
36 -HOMEPAGE="http://jnettop.kubs.info/"
37 +HOMEPAGE="https://sourceforge.net/projects/jnettop"
38 SRC_URI="http://jnettop.kubs.info/dist/${P}.tar.gz"
39
40 LICENSE="GPL-2"
41 @@ -21,15 +21,16 @@ RDEPEND="
42 ncurses? ( sys-libs/ncurses )
43 syslog? ( virtual/logger )
44 "
45 -DEPEND="${RDEPEND}
46 - virtual/pkgconfig"
47 +DEPEND="${RDEPEND}"
48 +BDEPEND="virtual/pkgconfig"
49
50 -DOCS=( AUTHORS ChangeLog NEWS README )
51 +PATCHES=(
52 + "${FILESDIR}/${P}-asneeded.patch"
53 + "${FILESDIR}/${P}-tinfo.patch"
54 +)
55
56 src_prepare() {
57 - epatch \
58 - "${FILESDIR}/${P}-asneeded.patch" \
59 - "${FILESDIR}/${P}-tinfo.patch"
60 + default
61 eautoreconf
62 }