summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/bnd-junit/ChangeLog11
-rw-r--r--dev-java/bnd-junit/Manifest18
-rw-r--r--dev-java/bnd-junit/bnd-junit-2.1.0.ebuild53
-rw-r--r--dev-java/bnd-junit/metadata.xml5
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-java/bnd-junit/ChangeLog b/dev-java/bnd-junit/ChangeLog
new file mode 100644
index 000000000000..28345eca307c
--- /dev/null
+++ b/dev-java/bnd-junit/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/bnd-junit
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bnd-junit/ChangeLog,v 1.1 2013/07/05 13:20:20 tomwij Exp $
+
+*bnd-junit-2.1.0 (05 Jul 2013)
+
+ 05 Jul 2013; Tom Wijsman <TomWij@gentoo.org> +bnd-junit-2.1.0.ebuild,
+ +metadata.xml:
+ New ebuild for dev-java/bnd-junit, testing dependency for dev-java/libg and
+ dev-java/bndlib; not currently used due to failing tests (circular dependency
+ problem, broken tests) but added for completeness.
diff --git a/dev-java/bnd-junit/Manifest b/dev-java/bnd-junit/Manifest
new file mode 100644
index 000000000000..418a25485067
--- /dev/null
+++ b/dev-java/bnd-junit/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST bndlib-2.1.0.tar.gz 123217291 SHA256 5e4c3c5d786acc1044103f57f4769acf54ea7d247f58f3c6a7b7769fb37df30f SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e WHIRLPOOL 3df261dec93655d2f4e483952b58d531fdf1936c505552f013f9447ac7fc8100e51f2412fd66224fe7871fa68fe1a6ec86c9c2787ffbfc65c8dc9863bac31fe5
+EBUILD bnd-junit-2.1.0.ebuild 1222 SHA256 21ec641d68ecd83d802f3a41c0e4691fbee8c9690d25e93497f7ee6e2db335cb SHA512 4bb5c68ac3fb8cb876bd6d3842031fe9f80a85776345ac3cafefc62de3783479c1bdecae6a1f70430a2b4503f98e80f54baab257720bb9d9d9855c625ba218a5 WHIRLPOOL b0619237f9b7dca8e235efc1b76b9221f9195a4a127dae078f62506b179239ff50941ea02f299e4918d7a99586dbcbbe2e6ef8022c0c4ed91c490c8a9d658834
+MISC ChangeLog 541 SHA256 7bba0c4ea4ffbcdfaf4faaec0f75fb0737eb94a7678be4801f6039296ea86cae SHA512 833ef338a3335e7f9a041bcad6f6754ddaa43b860dd00613bfec26101bf0a398aed7ec5549623f23b4dc8ee113e7e575c1e90e5157c04e90e9f9ce7dbad278bd WHIRLPOOL 2f91ee466bde130e6d707251c208d89244ee7aee204a72b9fcab9dd4c443c014c8447cfb9f7b3168f03636cb134e177ad7bfa8aad03ebe77cf5cd0756453af96
+MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQEcBAEBCAAGBQJR1sdiAAoJEJWyH81tNOV9Ah4IAItRKRezO7TU3hOWo00tqbrl
+YBKdH8NEjIRaCrz3+uxW41cHEZ5LjaGpWZfebWMXvC8j2VVS+Z6uKFRtA75anT6r
+x8O07O0FqWbB+y+WPfDkW0I8LdgfrKIdDXljMBqKImw4W+ag8bCN67xbbmlHmAW0
+Nu659AZNrBCs5aORsJpotRyw05Oot3eF+BIA/O3C5X/ihmxm7W86MvKt6FJ1suYg
+6g/wqNDUKy4n79C+pjSNzi83bFEprqpjZVNvav4eIk6XLyPmZSDlyFM+O0JZNmcH
+h+tQMV91vjRyG7Ye6yXQhQbuCKbvbkKgR2FuGY7NSzKBcny7ssGo0wmFqJOVqcs=
+=w0eX
+-----END PGP SIGNATURE-----
diff --git a/dev-java/bnd-junit/bnd-junit-2.1.0.ebuild b/dev-java/bnd-junit/bnd-junit-2.1.0.ebuild
new file mode 100644
index 000000000000..963499145481
--- /dev/null
+++ b/dev-java/bnd-junit/bnd-junit-2.1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bnd-junit/bnd-junit-2.1.0.ebuild,v 1.1 2013/07/05 13:20:20 tomwij Exp $
+
+EAPI="5"
+
+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
+ test? ( dev-java/junit:4 )"
+
+DEPEND=">=virtual/jdk-1.5
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+
+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"
+
+java_prepare() {
+ # Move the correct build.xml into place, needed for testing.
+ cp ../cnf/build.xml . || die
+
+ # Remove bundled jar files.
+ find . -name '*.jar' -delete > /dev/null
+}
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar generated/biz.aQute.junit.jar
+} \ No newline at end of file
diff --git a/dev-java/bnd-junit/metadata.xml b/dev-java/bnd-junit/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/bnd-junit/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>