commit:     e4f5987edd6495cb5acdcabd518873f27dd30996
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 15:04:14 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 15:04:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4f5987e

app-arch/fastjar: Port to EAPI 7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-arch/fastjar/fastjar-0.98-r3.ebuild | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/app-arch/fastjar/fastjar-0.98-r3.ebuild 
b/app-arch/fastjar/fastjar-0.98-r3.ebuild
index c33c9d06c5b..791e3081736 100644
--- a/app-arch/fastjar/fastjar-0.98-r3.ebuild
+++ b/app-arch/fastjar/fastjar-0.98-r3.ebuild
@@ -1,9 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit eutils
+EAPI=7
 
 DESCRIPTION="A jar program written in C"
 HOMEPAGE="https://savannah.nongnu.org/projects/fastjar";
@@ -13,12 +11,12 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos 
~sparc-solaris"
 
-IUSE=""
-
-# bug #188542
-RDEPEND="!<=dev-java/kaffe-1.1.7-r5"
+DEPEND="sys-libs/zlib"
+RDEPEND="
+       ${DEPEND}
+       !<=dev-java/kaffe-1.1.7-r5" # bug 188542
 
-src_prepare() {
-       # bug #325557
-       epatch "${FILESDIR}/0.98-traversal.patch"
-}
+PATCHES=(
+       # bug 325557
+       "${FILESDIR}"/0.98-traversal.patch
+)

Reply via email to