Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nettop/
Date: Thu, 29 Sep 2022 04:28:04
Message-Id: 1664425075.db4f8ee1388f94047d29a8319885196c9418eeab.ionen@gentoo
1 commit: db4f8ee1388f94047d29a8319885196c9418eeab
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 03:56:52 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 04:17:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db4f8ee1
7
8 net-analyzer/nettop: EAPI7->8, tidy a bit
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 net-analyzer/nettop/nettop-0.2.3-r2.ebuild | 18 +++++++++---------
13 1 file changed, 9 insertions(+), 9 deletions(-)
14
15 diff --git a/net-analyzer/nettop/nettop-0.2.3-r2.ebuild b/net-analyzer/nettop/nettop-0.2.3-r2.ebuild
16 index a42bab62df49..f135facf4384 100644
17 --- a/net-analyzer/nettop/nettop-0.2.3-r2.ebuild
18 +++ b/net-analyzer/nettop/nettop-0.2.3-r2.ebuild
19 @@ -1,23 +1,22 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=7
25 +EAPI=8
26
27 inherit toolchain-funcs
28
29 DESCRIPTION="top-like program for network activity"
30 -SRC_URI="mirror://gentoo/${P}.tar.gz"
31 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
32 +SRC_URI="mirror://gentoo/${P}.tar.gz"
33
34 -SLOT="0"
35 LICENSE="BSD"
36 +SLOT="0"
37 KEYWORDS="amd64 ~arm ~arm64 ppc x86"
38
39 -DEPEND="
40 +RDEPEND="
41 sys-libs/slang
42 - net-libs/libpcap
43 -"
44 -RDEPEND="${DEPEND}"
45 + net-libs/libpcap"
46 +DEPEND="${RDEPEND}"
47
48 PATCHES=(
49 "${FILESDIR}"/${P}-gcc411.patch
50 @@ -26,10 +25,11 @@ PATCHES=(
51
52 src_prepare() {
53 default
54 +
55 tc-export CC
56 }
57
58 src_install() {
59 dosbin nettop
60 - dodoc ChangeLog README THANKS
61 + einstalldocs
62 }