diff options
author | Sam James <sam@gentoo.org> | 2020-09-20 01:25:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-20 02:03:54 +0000 |
commit | 1b0146242dc784e5fdebd665f1b070b07ec9fa71 (patch) | |
tree | 7f430a2187eb527e69ac12da5830d6b4cf4884cf /dev-java/jzlib | |
parent | dev-java/jzlib: drop obsolete :1.1 slot (diff) | |
download | gentoo-1b0146242dc784e5fdebd665f1b070b07ec9fa71.tar.gz gentoo-1b0146242dc784e5fdebd665f1b070b07ec9fa71.tar.bz2 gentoo-1b0146242dc784e5fdebd665f1b070b07ec9fa71.zip |
dev-java/jzlib: port to EAPI 7
Closes: https://bugs.gentoo.org/741006
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-java/jzlib')
-rw-r--r-- | dev-java/jzlib/jzlib-1.1.3.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-java/jzlib/jzlib-1.1.3.ebuild b/dev-java/jzlib/jzlib-1.1.3.ebuild index 0f0ba0e65841..9ff83be5ccfb 100644 --- a/dev-java/jzlib/jzlib-1.1.3.ebuild +++ b/dev-java/jzlib/jzlib-1.1.3.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 + JAVA_PKG_IUSE="examples source test" inherit java-pkg-2 java-pkg-simple @@ -14,6 +15,7 @@ LICENSE="BSD" SLOT="1.1.3" KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +BDEPEND="app-arch/unzip" RDEPEND=" >=virtual/jre-1.5" DEPEND=" @@ -27,7 +29,8 @@ RESTRICT="test" S="${WORKDIR}/${P}" JAVA_SRC_DIR="src/main/java" -java_prepare() { +src_prepare() { + default rm pom.xml || die } |