Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/sinfo/
Date: Sat, 03 Apr 2021 18:59:34
Message-Id: 1617476346.7e461c03fe44a6aab7752c455f75e1132d018c83.sam@gentoo
1 commit: 7e461c03fe44a6aab7752c455f75e1132d018c83
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 3 18:36:05 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 3 18:59:06 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e461c03
7
8 net-analyzer/sinfo: port to EAPI 7
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 ...{sinfo-0.0.48.ebuild => sinfo-0.0.48-r1.ebuild} | 22 +++++++++++++---------
13 1 file changed, 13 insertions(+), 9 deletions(-)
14
15 diff --git a/net-analyzer/sinfo/sinfo-0.0.48.ebuild b/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild
16 similarity index 77%
17 rename from net-analyzer/sinfo/sinfo-0.0.48.ebuild
18 rename to net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild
19 index 441f23d854d..ebc65efd14b 100644
20 --- a/net-analyzer/sinfo/sinfo-0.0.48.ebuild
21 +++ b/net-analyzer/sinfo/sinfo-0.0.48-r1.ebuild
22 @@ -1,8 +1,9 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 -EAPI=5
28 -inherit autotools eutils
29 +EAPI=7
30 +
31 +inherit autotools
32
33 DESCRIPTION="A monitoring tool for networked computers"
34 HOMEPAGE="http://www.ant.uni-bremen.de/whomes/rinas/sinfo/"
35 @@ -18,15 +19,18 @@ RDEPEND="
36 dev-libs/boost
37 sys-libs/ncurses:=
38 "
39 -DEPEND="
40 - ${RDEPEND}
41 - virtual/pkgconfig
42 -"
43 +DEPEND="${RDEPEND}"
44 +BDEPEND="virtual/pkgconfig"
45 +
46 +PATCHES=(
47 + "${FILESDIR}"/${PN}-0.0.47-tinfo.patch
48 + "${FILESDIR}"/${P}-gcc6.patch
49 +)
50
51 src_prepare() {
52 + default
53 +
54 cp "${FILESDIR}"/${P}-acinclude.m4 acinclude.m4 || die
55 - epatch "${FILESDIR}"/${PN}-0.0.47-tinfo.patch
56 - epatch "${FILESDIR}"/${P}-gcc6.patch
57 eautoreconf
58 }