dev-java/ant-junit: added dep on dev-java/junit:0 (bug #513522)
authorMiroslav Šulc <fordfrog@gentoo.org>
Wed, 23 Jan 2019 09:10:06 +0000 (10:10 +0100)
committerMiroslav Šulc <fordfrog@gentoo.org>
Wed, 23 Jan 2019 09:10:06 +0000 (10:10 +0100)
Package-Manager: Portage-2.3.57, Repoman-2.3.12
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
dev-java/ant-junit/ant-junit-1.10.5-r1.ebuild [moved from dev-java/ant-junit/ant-junit-1.10.5.ebuild with 90% similarity]
dev-java/ant-junit/ant-junit-1.9.13-r1.ebuild [moved from dev-java/ant-junit/ant-junit-1.9.13.ebuild with 90% similarity]
dev-java/ant-junit/ant-junit-1.9.2-r1.ebuild [new file with mode: 0644]

similarity index 90%
rename from dev-java/ant-junit/ant-junit-1.10.5.ebuild
rename to dev-java/ant-junit/ant-junit-1.10.5-r1.ebuild
index f61f65337cf987b3b24d27013630430354f1e5ad..71acf63814d54c03271214d6bde2a2ab78478d14 100644 (file)
@@ -10,7 +10,10 @@ inherit ant-tasks
 
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
-DEPEND="dev-java/junit:4"
+DEPEND="
+       dev-java/junit:0
+       dev-java/junit:4
+"
 RDEPEND="${DEPEND}"
 
 JAVA_ANT_REWRITE_CLASSPATH="true"
similarity index 90%
rename from dev-java/ant-junit/ant-junit-1.9.13.ebuild
rename to dev-java/ant-junit/ant-junit-1.9.13-r1.ebuild
index f61f65337cf987b3b24d27013630430354f1e5ad..71acf63814d54c03271214d6bde2a2ab78478d14 100644 (file)
@@ -10,7 +10,10 @@ inherit ant-tasks
 
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 
-DEPEND="dev-java/junit:4"
+DEPEND="
+       dev-java/junit:0
+       dev-java/junit:4
+"
 RDEPEND="${DEPEND}"
 
 JAVA_ANT_REWRITE_CLASSPATH="true"
diff --git a/dev-java/ant-junit/ant-junit-1.9.2-r1.ebuild b/dev-java/ant-junit/ant-junit-1.9.2-r1.ebuild
new file mode 100644 (file)
index 0000000..c5742d4
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+ANT_TASK_JDKVER=1.5
+ANT_TASK_JREVER=1.5
+
+inherit ant-tasks
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+DEPEND="
+       dev-java/junit:0
+       dev-java/junit:4
+"
+RDEPEND="${DEPEND}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="junit-4"
+
+src_compile() {
+       eant jar-junit
+}