diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-07-05 13:12:42 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-07-05 13:12:42 +0000 |
commit | d3ffe6e917017772f10afb44ce5c43f48e9c6631 (patch) | |
tree | 4f9a32879e604b2b008d811bfdb089b0cfe0720a /dev-java | |
parent | New ebuild for dev-java/osgi-compendium, dependency of dev-java/bndlib needed... (diff) | |
download | historical-d3ffe6e917017772f10afb44ce5c43f48e9c6631.tar.gz historical-d3ffe6e917017772f10afb44ce5c43f48e9c6631.tar.bz2 historical-d3ffe6e917017772f10afb44ce5c43f48e9c6631.zip |
New ebuild for dev-java/bndlib, a swiss army knife for OSGi. Dependency of dev-java/jackrabbit-webdav, which is a dependency of the version bump for =dev-java/commons-vfs-2.0.
Package-Manager: portage-2.1.12.11/cvs/Linux x86_64
Manifest-Sign-Key: 0x6D34E57D
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/bndlib/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/bndlib/Manifest | 18 | ||||
-rw-r--r-- | dev-java/bndlib/bndlib-2.1.0.ebuild | 72 | ||||
-rw-r--r-- | dev-java/bndlib/metadata.xml | 5 |
4 files changed, 106 insertions, 0 deletions
diff --git a/dev-java/bndlib/ChangeLog b/dev-java/bndlib/ChangeLog new file mode 100644 index 000000000000..386ce42bbebf --- /dev/null +++ b/dev-java/bndlib/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/bndlib +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bndlib/ChangeLog,v 1.1 2013/07/05 13:12:38 tomwij Exp $ + +*bndlib-2.1.0 (05 Jul 2013) + + 05 Jul 2013; Tom Wijsman <TomWij@gentoo.org> +bndlib-2.1.0.ebuild, + +metadata.xml: + New ebuild for dev-java/bndlib, a swiss army knife for OSGi. Dependency of + dev-java/jackrabbit-webdav, which is a dependency of the version bump for + =dev-java/commons-vfs-2.0. diff --git a/dev-java/bndlib/Manifest b/dev-java/bndlib/Manifest new file mode 100644 index 000000000000..661233bb7cdb --- /dev/null +++ b/dev-java/bndlib/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 bndlib-2.1.0.ebuild 1742 SHA256 e06359c9f1fd4c027fed3e97c21c50637344665a313e11a6c6ca255c62edd6df SHA512 4ed0560a26be514e1867c8c8fa1a5beeae7af5dad32d4e33c253690409f2da11d0bc7668c596b2ddb10c5c2de716a8b2942e1672bd8cc97fffce9a5934e220ad WHIRLPOOL 98b1dec7571ce26286e3f192d2e3acd30a3c9491f6a1b8cfcf1ea77febad573ff5d13ec6743eb804f4330029a9c1ad424e4012e69e1e2b5385e0bfc497c763d4 +MISC ChangeLog 500 SHA256 74b82490594d8573a69840d094addb40ce5403ac6a5991d82eb7172df3654620 SHA512 093fb136b526f7d03b879c1c2edf87a7f430625681440a25a3f8c2be3422a9fc0b8c501026291ced67024c97ea88bd9b7ad5fcd3020b5e13f6e165ff12666ed8 WHIRLPOOL 14ed32947b104ab6b28130dfcfeda099cb68ad52923fdf25bc797e1392047abaa122d8c14732403cf18d8ca87ff2f68bd86b247e48c2e4821ae11d0b6e59da40 +MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJR1sWRAAoJEJWyH81tNOV9QmMIAJkhmJuXqUoysjBoHAf84Z2y +waK3aDQSyExb/X0/+53VJKMAFk2M3FcN7gQJFQSqZ+8XDuIjlmln6Ee1XG/wP5lx +UtgqWPUftj++Li4+4m0vczCrUG3tthistirCljWYwY5E1S1mFxBgO7b29IZvCFp5 +4SBlEAP9wulzeS8XE62GqddgM+EHVTKziRFJuzAe5nphv57Fm5IfHszS3YFCiQEG +CTWm4Q7phTJIAynAD9qnim/ip1q8NONl5t3VLgnE3EOVaQAL0rs4U6di2evMkLr+ +D8w08NL83PLEnPLsTKieNZygn/Ft/dmgNjn+gOlEbzelnEjco2+5NIeQK47dtp4= +=Rjxj +-----END PGP SIGNATURE----- diff --git a/dev-java/bndlib/bndlib-2.1.0.ebuild b/dev-java/bndlib/bndlib-2.1.0.ebuild new file mode 100644 index 000000000000..1f661759c619 --- /dev/null +++ b/dev-java/bndlib/bndlib-2.1.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bndlib/bndlib-2.1.0.ebuild,v 1.1 2013/07/05 13:12:38 tomwij Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="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 -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +CDEPEND="dev-java/libg:0 + dev-java/osgi-compendium:0 + dev-java/osgi-core-api:0 + dev-java/osgi-enterprise-api:0" + +# Tests appear broken and cause a circular dependency. +# test? ( dev-java/bnd-junit:0 ) +DEPEND=">=virtual/jdk-1.5 + ${CDEPEND} + test? ( dev-java/junit:4 )" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" + +S="${WORKDIR}/bnd-${PV}.REL/biz.aQute.${PN}" + +EANT_BUILD_TARGET="build" + +JAVA_ANT_REWRITE_CLASSPATH="true" + +# 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 + + if ! use test ; then + rm -rf src/aQute/bnd/test || die "Failed to remove tests." + fi +} + +src_compile() { + local extra_cp="" + + if use test ; then + extra_cp=":$(java-pkg_getjars --build-only junit-4)" + fi + + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjars libg):$(java-pkg_getjars osgi-compendium):$(java-pkg_getjars osgi-core-api):$(java-pkg_getjars osgi-enterprise-api)${extra_cp}" \ + java-pkg-2_src_compile +} + +EANT_TEST_GENTOO_CLASSPATH="junit-4,bnd-junit" +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar generated/biz.aQute.${PN}.jar +} diff --git a/dev-java/bndlib/metadata.xml b/dev-java/bndlib/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/bndlib/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> |