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/joda-time/Manifest | 6 + dev-java/joda-time/files/joda-time-2.7-build.xml | 262 +++++++++++++++++++++++ dev-java/joda-time/joda-time-2.7.ebuild | 59 +++++ dev-java/joda-time/metadata.xml | 12 ++ 4 files changed, 339 insertions(+) create mode 100644 dev-java/joda-time/Manifest create mode 100644 dev-java/joda-time/files/joda-time-2.7-build.xml create mode 100644 dev-java/joda-time/joda-time-2.7.ebuild create mode 100644 dev-java/joda-time/metadata.xml (limited to 'dev-java/joda-time') diff --git a/dev-java/joda-time/Manifest b/dev-java/joda-time/Manifest new file mode 100644 index 000000000000..78385f726d36 --- /dev/null +++ b/dev-java/joda-time/Manifest @@ -0,0 +1,6 @@ +AUX joda-time-2.7-build.xml 11231 SHA256 0012657b2c03bc953ef442d829014b8e33311b36a8b406d239e032af0e632462 SHA512 c614cc2425b0cefdc5f9def196cd5014d6d65552038dd22f876bbb64ee25131ead57aa94ef967491e292cf1ddefef933d9827dd588056d58c9a311640a5af63f WHIRLPOOL 55fad18901e81b2021e5d5e8dbc6f2d1d8cb7aa59df3a7c125ef9f3427b93a10c46025e3aa9d55bd7951157d4204aa8d6f79b292cc29c9a0433a30a3505e7ae3 +DIST joda-time-2.7-dist.tar.gz 4007765 SHA256 6f29f22ff88d39d988c600f1e274e7a59c451184d7d6d400e2ddb9e4bbb2ceeb SHA512 2a9bf91024bf20c4f1a28c87e5c6e560994ba6f7e131757c83a5ab6984ea79549e1d00452dcf767fc5cab374e531649759703acbaed724a1e49436cae0799209 WHIRLPOOL eb2f91d5bbff641495d3a7763872321718415e49c8adb864805a84a73c583ee562f145821621ffd38ce1b41a813a15f4dcf609c5130b7557ef4d5e9fed86b17f +EBUILD joda-time-2.7.ebuild 1913 SHA256 d710c0d1780ce786cc8b0649c3169698cacfd6392520dec64b419edb68f1fe32 SHA512 ad90a7ca92d6e5f0514e9d1a6cb5693240395d470fbf5d59b5bba7678fc2ff679a0e538db638c259b92c160501519105ae3663977681a376b15b989d28b8ab38 WHIRLPOOL 5f1fadd4ec482081f5fce6f24e636e7d6d2d731889944c73872feb3adf914d35f3ac475aa9dd4a9c268186d95c50a7b63c9bcd74ab7de4c7444571d4059dab22 +MISC ChangeLog 4005 SHA256 7f9de578acc63b2d71f6c971c500ce671d824d811a53bf78613b8f4fcad8e1c1 SHA512 49c50cff797d5cd79965aff3263bb4d5afe227042ae4432affc625da71eaf2b9c4abf173404cd5f8da5760d81ecc95892796f04c6ab301198b3dad37f41560e9 WHIRLPOOL effb974aed8f2e5d5ca3e4d05efb57f32e4f7ac5cf0a47ec3684c41bc01f3aab26d06f0a06297c631b4087d68e2d21a853989790b31f9242a46b7a487d7bbc50 +MISC ChangeLog-2015 6634 SHA256 82a342048c0d11e22bdb616099a1dbde606b3e15678e668bf13a6c76f9b4418e SHA512 11d39759f2a670f099e83638b802ae4a3598eba0a55e2bd9bb0444cbc7f7bd662501f18975f415332dfd8ca9de2ede1d6447572c8d851453869454743a3a7528 WHIRLPOOL c5101bff8b43831151de807e6036f64a2c4b7a299572f10a4e9f5150349aa8b152705a680a0b5381d9c86a424a369274c874135f6c7b6bf84d306039d6968f0d +MISC metadata.xml 384 SHA256 34408ffc8c822151e55e0b645b9d90c217f5d0cd75e3cfc88341d4876238b41c SHA512 441aa3d5876d8ff91b9f9d368e817bf6869266c27f7f8686e9eb47812f899f37c5fa2e65337e979dd3247932b61d84e4b4f0d7325ea2659d54221ab428c9c089 WHIRLPOOL 586556d3fae636a4904c31ca305c2e4d32bddbc3e85dc94124ec8d2e71e924c3fd59b964379a0dbedb6b7f343b34788f06626500ba57b0a0885bb504d6373f25 diff --git a/dev-java/joda-time/files/joda-time-2.7-build.xml b/dev-java/joda-time/files/joda-time-2.7-build.xml new file mode 100644 index 000000000000..fa1fd5e25a39 --- /dev/null +++ b/dev-java/joda-time/files/joda-time-2.7-build.xml @@ -0,0 +1,262 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/joda-time/joda-time-2.7.ebuild b/dev-java/joda-time/joda-time-2.7.ebuild new file mode 100644 index 000000000000..fbf0a92b476f --- /dev/null +++ b/dev-java/joda-time/joda-time-2.7.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +JAVA_PKG_IUSE="doc examples source test" +JAVA_ANT_REWRITE_CLASSPATH="true" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A quality open-source replacement for the Java Date and Time classes" +HOMEPAGE="http://www.joda.org/joda-time/ https://github.com/JodaOrg/joda-time/" +SRC_URI="https://github.com/JodaOrg/${PN}/releases/download/v${PV}/${P}-dist.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 x86 ppc64 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" + +RESTRICT="test" + +DEPEND=">=virtual/jdk-1.5 + dev-java/joda-convert:0 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" +RDEPEND=">=virtual/jre-1.5" + +java_prepare() { + rm -v *.jar || die "Failed to remove bundled jars." + cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die "Failed to copy build file." + + mkdir -p "${S}"/target/classes || die "Failed to create target classes directory." + cp -Rv "${S}"/src/tz-data/* "${S}"/target/classes/ || die "Failed to copy timezone data." + + mkdir -p "${S}"/target/classes/org/joda/time/format || die "Failed to create target classes subdirectory." + cp -Rv "${S}"/src/main/java/org/joda/time/format/*properties "${S}"/target/classes/org/joda/time/format/ || die "Failed to copy message bundles." +} + +src_compile() { + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar)" + + java-pkg-2_src_compile +} + +src_test() { + EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjar --build-only joda-convert joda-convert.jar):$(java-pkg_getjar --build-only junit junit.jar)" + + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar + + dodoc NOTICE.txt RELEASE-NOTES.txt + + use doc && java-pkg_dojavadoc target/site/apidocs + use examples && java-pkg_doexamples src/example + use source && java-pkg_dosrc src/main/java/* +} diff --git a/dev-java/joda-time/metadata.xml b/dev-java/joda-time/metadata.xml new file mode 100644 index 000000000000..78620eff5573 --- /dev/null +++ b/dev-java/joda-time/metadata.xml @@ -0,0 +1,12 @@ + + + + + java@gentoo.org + Java + + + JodaOrg/joda-time + joda-time + + -- cgit v1.2.3