From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-java/libg/Manifest | 5 ++++ dev-java/libg/libg-2.1.0-r1.ebuild | 47 ++++++++++++++++++++++++++++++++++++++ dev-java/libg/metadata.xml | 11 +++++++++ 3 files changed, 63 insertions(+) create mode 100644 dev-java/libg/Manifest create mode 100644 dev-java/libg/libg-2.1.0-r1.ebuild create mode 100644 dev-java/libg/metadata.xml (limited to 'dev-java/libg') diff --git a/dev-java/libg/Manifest b/dev-java/libg/Manifest new file mode 100644 index 000000000000..8f10174ad65e --- /dev/null +++ b/dev-java/libg/Manifest @@ -0,0 +1,5 @@ +DIST bndlib-2.1.0.tar.gz 123217291 SHA256 5e4c3c5d786acc1044103f57f4769acf54ea7d247f58f3c6a7b7769fb37df30f SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e WHIRLPOOL 3df261dec93655d2f4e483952b58d531fdf1936c505552f013f9447ac7fc8100e51f2412fd66224fe7871fa68fe1a6ec86c9c2787ffbfc65c8dc9863bac31fe5 +EBUILD libg-2.1.0-r1.ebuild 1365 SHA256 f430be68ed2f1d66fb0420d58632c888e2ceb46fdc89069ec022c91c37f3cec5 SHA512 34d78f327d082e95c09cacb764b34391311d76b76aeea147ab1488fd781aa4955bc7d6f6baa09ce364953f2b13f424096fc0658b7a974b4adc88b429213ca829 WHIRLPOOL e72a8bd9246afdb9a1ac7f1340a5896273f951f0ba04bd2d90f4a9f4209c69003b7d7ae14d2c00f7fda883c26bb5733f866b927749345d706b640c372a2f602b +MISC ChangeLog 2424 SHA256 5809be0fcf761bd65817f2cfa9155820a87134b424c3f1336ea6cba085116666 SHA512 f8e4f7a6ab437411cb512dd6844529c81d805ad45f32df27b48876a31dd1aabcecef9dbe57b58b0a307008d8a5248e65f50fd45b8fcaa5a4ea3a1bdfa41c198f WHIRLPOOL ffffb0dde0d050301b40ff0cc95b5b8fc34b66e0c06afb20e24a770629f0d0de3c02300a8bdf8f33eea87ce55534c5b53ec80df95602358f0187746fcf70a94d +MISC ChangeLog-2015 1105 SHA256 91608bbfdb5a5669cfaaa3d95778be45a0a499726bc4860c5985e783988fdc34 SHA512 71f62604f82c0842656877adf67d63fd57a5903b0432103730e2fc1c8e7250f025848a2ab5fe97f223a022576404ff70ecc87c085c8647789a9eb0a7299af8e6 WHIRLPOOL 365d44f651571f94f6917e9dafc04254db80889dd6f0bfbeb8256ee8d192e846c43bf64126bcba1fd0b077d1c27a9fc24eaf46cde09154d9f8e7f7282d1af663 +MISC metadata.xml 323 SHA256 5d4405e7ba4bfce2e3cd8fc106142b56daac9f29abf53107d4fd5df8499f25b5 SHA512 b9affc0513759478d6db10968d574cc820ac19476a539d27e279884314805f663f0807abd01ce8107154fae445ad3e4fd37f485004130f04aa890c0607f85fcf WHIRLPOOL 70184d5185c58b4b2af3ee3f257ed3488d06ed1ced00cc41393465ba3911762cd7b0287ea4dd5c15c6fefbb41bc11339caef3d266b93507ea23c18b1e66e5850 diff --git a/dev-java/libg/libg-2.1.0-r1.ebuild b/dev-java/libg/libg-2.1.0-r1.ebuild new file mode 100644 index 000000000000..0595fc1a9fc6 --- /dev/null +++ b/dev-java/libg/libg-2.1.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Lots of small utilities 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" + +# Tests depend on biz.aQute.junit, which depends on biz.aQute.bndlib, which on +# its own turn again depends on aQute.libg again; we can temporarily assume that +# if bndlib tests pass that libg is sufficiently tested, in the future we should +# look whether it is feasible to combine the packages or otherwise temporarily +# build biz.aquite.bndlib and biz.aqute.junit in this package. +RESTRICT="test" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/bnd-${PV}.REL/aQute.${PN}" + +EANT_BUILD_TARGET="build" + +java_prepare() { + # Move the correct build.xml into place, needed for testing. + cp ../cnf/build.xml . || die "Failed to move build file into the right place." + + # Remove bundled jar files. + find . -name '*.jar' -delete + + # Remove test files + if ! use test ; then + find src/test -name '*.java' -delete || die "Failed to remove test files." + fi +} + +src_install() { + java-pkg_newjar generated/aQute.${PN}.jar +} diff --git a/dev-java/libg/metadata.xml b/dev-java/libg/metadata.xml new file mode 100644 index 000000000000..7ed2fdf0797a --- /dev/null +++ b/dev-java/libg/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + bndtools/bnd + + -- cgit v1.2.3