diff options
author | Keri Harris <keri@gentoo.org> | 2019-10-13 15:13:47 +0200 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2019-10-13 15:14:26 +0200 |
commit | 23a4139a08be8eb393c37dc995dc56f9b9de0fe9 (patch) | |
tree | 603149047470fc3d1b2b229283c23f5e117d18d2 /dev-lang/interprolog | |
parent | dev-util/idea-ultimate: Remove last-rited pkg (diff) | |
download | gentoo-23a4139a08be8eb393c37dc995dc56f9b9de0fe9.tar.gz gentoo-23a4139a08be8eb393c37dc995dc56f9b9de0fe9.tar.bz2 gentoo-23a4139a08be8eb393c37dc995dc56f9b9de0fe9.zip |
dev-lang/interprolog: bump EAPI
Signed-off-by: Keri Harris <keri@gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.11
Diffstat (limited to 'dev-lang/interprolog')
-rw-r--r-- | dev-lang/interprolog/interprolog-2.1.2.ebuild | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/dev-lang/interprolog/interprolog-2.1.2.ebuild b/dev-lang/interprolog/interprolog-2.1.2.ebuild index 7f9f9e0938fe..afa655e41ffc 100644 --- a/dev-lang/interprolog/interprolog-2.1.2.ebuild +++ b/dev-lang/interprolog/interprolog-2.1.2.ebuild @@ -1,12 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils java-pkg-2 java-ant-2 versionator +inherit java-pkg-2 java-ant-2 -MY_PV="$(delete_all_version_separators)" -MY_P="${PN}${MY_PV}" +MY_P="${PN}$(ver_rs 1- '')" DESCRIPTION="InterProlog is a Java front-end and enhancement for Prolog" HOMEPAGE="http://www.declarativa.com/interprolog/" @@ -17,13 +16,12 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" -DEPEND=">=virtual/jdk-1.4 +RDEPEND=">=virtual/jdk-1.4:= + dev-java/junit:0" + +DEPEND="${RDEPEND} app-arch/unzip dev-java/ant-core - =dev-java/junit-3.8*" - -RDEPEND=">=virtual/jdk-1.4 - =dev-java/junit-3.8* || ( dev-lang/xsb dev-lang/swi-prolog @@ -33,13 +31,11 @@ S="${WORKDIR}"/${MY_P} EANT_GENTOO_CLASSPATH="junit" -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-java1.4.patch +src_prepare() { + eapply "${FILESDIR}"/${P}-java1.4.patch + eapply_user - cp "${FILESDIR}"/build.xml "${S}" + cp "${FILESDIR}"/build.xml "${S}" || die mkdir "${S}"/src mv "${S}"/com "${S}"/src rm interprolog.jar junit.jar |