commit:     bff4a82e074ac7b7a8ed0b6d733ff9c247cdae26
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 11 21:07:22 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Jan 11 21:10:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff4a82e

net-analyzer/jnettop: Port to EAPI 8

Closes: https://bugs.gentoo.org/826814
Closes: https://bugs.gentoo.org/738074
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 ...op-0.13.0-r1.ebuild => jnettop-0.13.0-r2.ebuild} | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild 
b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
similarity index 70%
rename from net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
rename to net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
index 546fa03600b3..f94cbf95ae1c 100644
--- a/net-analyzer/jnettop/jnettop-0.13.0-r1.ebuild
+++ b/net-analyzer/jnettop/jnettop-0.13.0-r2.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=8
 
-inherit autotools epatch
+inherit autotools
 
 DESCRIPTION="A top like console network traffic visualiser"
-HOMEPAGE="http://jnettop.kubs.info/";
+HOMEPAGE="https://sourceforge.net/projects/jnettop";
 SRC_URI="http://jnettop.kubs.info/dist/${P}.tar.gz";
 
 LICENSE="GPL-2"
@@ -21,15 +21,16 @@ RDEPEND="
        ncurses? ( sys-libs/ncurses )
        syslog? ( virtual/logger )
 "
-DEPEND="${RDEPEND}
-       virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
-DOCS=( AUTHORS ChangeLog NEWS README )
+PATCHES=(
+       "${FILESDIR}/${P}-asneeded.patch"
+       "${FILESDIR}/${P}-tinfo.patch"
+)
 
 src_prepare() {
-       epatch \
-               "${FILESDIR}/${P}-asneeded.patch" \
-               "${FILESDIR}/${P}-tinfo.patch"
+       default
        eautoreconf
 }
 

Reply via email to