summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-04-02 00:24:47 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-04-02 07:29:15 +0200
commit5f6bd4f617c13b4e61f6fa4d0ef5b71e28cc1b6a (patch)
tree2eb80ddf6afc43e8b65c53d47e4e117178c5e3a0 /dev-java
parentdev-ruby/yard: add 0.9.19 (diff)
downloadgentoo-5f6bd4f617c13b4e61f6fa4d0ef5b71e28cc1b6a.tar.gz
gentoo-5f6bd4f617c13b4e61f6fa4d0ef5b71e28cc1b6a.tar.bz2
gentoo-5f6bd4f617c13b4e61f6fa4d0ef5b71e28cc1b6a.zip
dev-java/bnd-junit: EAPI 6 bump.
Package-Manager: Portage-2.3.43, Repoman-2.3.9 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/bnd-junit/bnd-junit-2.1.0-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/bnd-junit/bnd-junit-2.1.0-r1.ebuild b/dev-java/bnd-junit/bnd-junit-2.1.0-r1.ebuild
new file mode 100644
index 00000000000..a67694d9548
--- /dev/null
+++ b/dev-java/bnd-junit/bnd-junit-2.1.0-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Junit plugin for bndlib, a swiss army knife for OSGi"
+HOMEPAGE="http://www.aqute.biz/Bnd/Bnd"
+SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> bndlib-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+ dev-java/osgi-core-api:0
+ dev-java/bndlib:0"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.5
+ test? ( dev-java/junit:4 )"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.5"
+
+S="${WORKDIR}/bnd-${PV}.REL/biz.aQute.junit"
+
+EANT_BUILD_TARGET="build"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="bndlib,junit-4,osgi-core-api"
+
+# Tests appear broken and cause a circular dependency.
+RESTRICT="test"
+
+src_prepare() {
+ default
+ java-pkg_clean
+ cp ../cnf/build.xml . || die
+}
+
+src_install() {
+ java-pkg_newjar generated/biz.aQute.junit.jar
+}