commit:     add260b086539850ff90c0278459915e38ba255d
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Jul 11 14:42:17 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 26 22:48:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add260b0

net-analyzer/scli: EAPI 7, ebuild improvements

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/21604
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../scli/{scli-0.4.0-r1.ebuild => scli-0.4.0-r2.ebuild} | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/net-analyzer/scli/scli-0.4.0-r1.ebuild 
b/net-analyzer/scli/scli-0.4.0-r2.ebuild
similarity index 77%
rename from net-analyzer/scli/scli-0.4.0-r1.ebuild
rename to net-analyzer/scli/scli-0.4.0-r2.ebuild
index 07dc0a5b43b..639430aa572 100644
--- a/net-analyzer/scli/scli-0.4.0-r1.ebuild
+++ b/net-analyzer/scli/scli-0.4.0-r2.ebuild
@@ -1,15 +1,15 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit autotools epatch
+inherit autotools
 
 DESCRIPTION="SNMP Command Line Interface"
 HOMEPAGE="https://github.com/schoenw/scli";
 SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz";
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86 ~amd64-linux"
 
@@ -22,15 +22,14 @@ RDEPEND="
        sys-libs/readline
        sys-libs/zlib
 "
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-configure.patch )
 
 DOCS=( AUTHORS ChangeLog NEWS PORTING README TODO )
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-configure.patch
-
+       default
        eautoreconf
 }

Reply via email to