summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2016-02-18 12:16:59 +0100
committerKeri Harris <keri@gentoo.org>2016-02-18 12:16:59 +0100
commit6d8efc3ed4952309620fbd8e4aea2fcaf82b6fc4 (patch)
tree5401d9f5ae0c1ad17fe2550139948298a615d90b /dev-lang
parentapp-admin/mongo-tools: version bump (diff)
downloadgentoo-6d8efc3ed4952309620fbd8e4aea2fcaf82b6fc4.tar.gz
gentoo-6d8efc3ed4952309620fbd8e4aea2fcaf82b6fc4.tar.bz2
gentoo-6d8efc3ed4952309620fbd8e4aea2fcaf82b6fc4.zip
dev-lang/tuprolog: specify slot deps
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tuprolog/tuprolog-2.9.2.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild b/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
index c562b3f5ed5b..10ce06ab7b0f 100644
--- a/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
+++ b/dev-lang/tuprolog/tuprolog-2.9.2.ebuild
@@ -16,18 +16,19 @@ KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RDEPEND=">=virtual/jdk-1.7:=
- >=dev-java/javassist-3"
+ dev-java/javassist:3"
DEPEND="${RDEPEND}
dev-java/ant-core
test? (
- dev-java/ant-junit4
- dev-java/hamcrest-core
+ dev-java/ant-junit4:0
+ dev-java/junit:4
+ dev-java/hamcrest-core:1.3
)"
S="${WORKDIR}"/${P}
-EANT_GENTOO_CLASSPATH="javassist-3"
+EANT_GENTOO_CLASSPATH="javassist:3"
src_prepare() {
epatch "${FILESDIR}"/${P}-no-ikvm.patch
@@ -42,11 +43,10 @@ src_compile() {
src_test() {
cd "${S}"/dist
- java-pkg_jar-from junit-4
- java-pkg_jar-from hamcrest-core
+ java-pkg_jar-from junit:4
+ java-pkg_jar-from hamcrest-core:1.3
cd "${S}"
- ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test \
- || die "eant test failed"
+ ANT_TASKS="ant-junit4" eant test || die "eant test failed"
}
src_install() {