diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/backport-util-concurrent |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/backport-util-concurrent')
6 files changed, 156 insertions, 0 deletions
diff --git a/dev-java/backport-util-concurrent/Manifest b/dev-java/backport-util-concurrent/Manifest new file mode 100644 index 000000000000..1e5782c62e2d --- /dev/null +++ b/dev-java/backport-util-concurrent/Manifest @@ -0,0 +1,8 @@ +AUX backport-util-concurrent-3.0-notest.patch 491 SHA256 112918b1488255337fc42c1f5b8d71faefdc10c62a3061452f6d1b427cf0778f SHA512 f2f53a87283c1a6b13e360ba0140a93b0580a023cefbcb5dcd8658ddc7e80c401878229a323416213368f493226b445b5896bb0ff51f1a2bd95ef460f4ddd080 WHIRLPOOL 55fc40f1d32dfc41c0cd23bd3819b5cb6114435e4e0a2738ad51da331dda6d553f17fd42e1b3249e08a89e62e9cfb3bee482150c5f1ea9f9dff32a775c997085 +AUX backport-util-concurrent-3.0-test.patch 380 SHA256 dbd133bc068689d8b7dff508a48716e48fbb381f4089c07848003577c53933f6 SHA512 01ad87f71b07c25193faf1d67de159233b2b298ef4ea31013f3af8d326a09b83f73bdbcfa5629f5531ffc0a0c02b20843c11377f1260448a9758be05c64420fe WHIRLPOOL 9c8c91b173ff21b9f8b7285baa3c74b6d32b633e61a548fcb1f88f81f91fd2b71e1f976e97574aed3dc2eaa126c1164012e20fda0d86e9ca1deb41e3c0ac64a6 +DIST backport-util-concurrent-Java60-3.1-src.tar.bz2 622882 SHA256 1abecd12d48174dbf6fb0f39623ac954c7f0309870f18cca25afc870aeae2512 SHA512 caef9eef43d0de5ee3d05a84b44d3d2f6bb9498bdc82105626bd2631494fcd0347387da9beb6000fe9c80efacbbf2c2c3603a97b53e4c74037eaf629d790cd54 WHIRLPOOL fe8fdaa4942cf444f12867213bf6cc3897b2b79aebd818d41af677b8a9e69fa55466b93c74a50831345ddbe0c3413af2ede132c730dd0bbbcd9b2493e9697d79 +EBUILD backport-util-concurrent-3.1-r1.ebuild 1175 SHA256 192af1fc8a1dfb65110bd907ab530a74cd6b796287b284bbf190bb876154185b SHA512 9c1d19331c742c290c45f67c677d7c34986fe536f97cb366a7ab5b84557da9950c97c275d379899998893bf51320a27027439258115ddfdd5534e09d05c3738b WHIRLPOOL 1adebe6d8d4928984d1f5b13de483d5ee428a066319bff05991716e7a84cd07125096575c9fa04c9d07c14221cc585f6c99e1c0a4fdc55e03ca90aa1b5e679c1 +EBUILD backport-util-concurrent-3.1.ebuild 1166 SHA256 2b28a318b34a65a1d65b14c1a06a3b257fe59421a623662c288bd90f752c57db SHA512 20e2cce05bffd312d0c1741beb55d664cd2eaea61edd603928c17bd7e4e9156c108bdd96bbfe940958f9e02bc82cf8a9e6a16661f9b256601aa13a5271590ebd WHIRLPOOL d69c6e2c2dff86aa8c73fd4e05eca19341e7f5b5a136e521507af250d512b98e9e6db6758639fd0cebf36047cb12307887268c294bfbf35702d1639b6a56152e +MISC ChangeLog 2861 SHA256 c7c5f4bb92475dbf68991718c0a8e66e4d0649da3a70fe2f650e71a26331f950 SHA512 1736f37817eed08c852ee1bfe928e085f8b91d6f432b92e77decfb2d90201c76eb7fa4de20450d24236887f4fffb95f1fa2859bb212a4037c565729df9ebadf7 WHIRLPOOL 4ac5750f768f7d4c0abd8f0922c57ba3dcac750fb69b4c8340b26a731fee6398a5d58e7c4a9620a80941d5cb9454dba8468257f0a141a4591f5010c0f9c1be47 +MISC ChangeLog-2015 5586 SHA256 07655c2384a4a61fd80bdb852fd8fd1cc96f6d0b903ea6c20fafdd300815fa62 SHA512 24f383e54e6b908586faf6938000861b6a734a44e1126bf248a7e2498c21fff4e47d57867e7a5460643b4b802823c39906528a015b4e7e973a0a357ca5b10727 WHIRLPOOL c1ab6c5f1dc58c1cc983f8364b372b5579d1fa87a5b5fd38a2c3d18492998968f78645de9b9d62ba6a5b1634224601dee1db1379c86b442dee39cd97920ad2ff +MISC metadata.xml 490 SHA256 16044bb5a66c56418708baa9884bf3f2b94b76718a3d4bbbb356b93dbdbe3ba6 SHA512 81d2a6f504093869e765c56667feb53583a85c7cfe98bf12f571b2d4e202e5ab247e24b8a92ad5141654069d3a66179fbb28790781464dd43821ab55dee62eb9 WHIRLPOOL 219ccccad776ea9cdb0b249ed6133d8761807a5150eb747ed9357930192ac2be21361e719c7bafcd2b3f9ae14084e5e87dd7bf1e58f99f75b4d4eeb92b007d19 diff --git a/dev-java/backport-util-concurrent/backport-util-concurrent-3.1-r1.ebuild b/dev-java/backport-util-concurrent/backport-util-concurrent-3.1-r1.ebuild new file mode 100644 index 000000000000..2b1c7be0144c --- /dev/null +++ b/dev-java/backport-util-concurrent/backport-util-concurrent-3.1-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +SF_PN="backport-jsr166" +MY_P="${PN}-Java60-${PV}" + +DESCRIPTION="A portability wrapper for java.util.concurrent API (jsr166) 6.0" +HOMEPAGE="http://${SF_PN}.sourceforge.net/" +SRC_URI="mirror://sourceforge/${SF_PN}/${PV}/${MY_P}-src.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:0 + ) + app-arch/unzip" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}-src" + +java_prepare() { + if use test; then + # make test not depend on make + epatch "${FILESDIR}/${PN}-3.0-test.patch" + else + # don't compile test classes + epatch "${FILESDIR}/${PN}-3.0-notest.patch" + fi + + cd "${S}/external" || die + rm -v *.jar || die + + use test && java-pkg_jar-from --build-only junit +} + +EANT_BUILD_TARGET="javacompile archive" +EANT_TEST_TARGET="test" + +src_install() { + java-pkg_dojar ${PN}.jar + dohtml README.html || die + + use doc && java-pkg_dojavadoc doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/backport-util-concurrent/backport-util-concurrent-3.1.ebuild b/dev-java/backport-util-concurrent/backport-util-concurrent-3.1.ebuild new file mode 100644 index 000000000000..3e86ce6f6466 --- /dev/null +++ b/dev-java/backport-util-concurrent/backport-util-concurrent-3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 +JAVA_PKG_IUSE="doc source test" +inherit java-pkg-2 java-ant-2 + +SF_PN="backport-jsr166" +MY_P="${PN}-Java60-${PV}" + +DESCRIPTION="A portability wrapper for java.util.concurrent API (jsr166) 6.0" +HOMEPAGE="http://${SF_PN}.sourceforge.net/" +SRC_URI="mirror://sourceforge/${SF_PN}/${PV}/${MY_P}-src.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +DEPEND=">=virtual/jdk-1.6 + test? ( =dev-java/junit-3* ) + app-arch/unzip" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}-src" + +java_prepare() { + if use test; then + # make test not depend on make + epatch "${FILESDIR}/${PN}-3.0-test.patch" + else + # don't compile test classes + epatch "${FILESDIR}/${PN}-3.0-notest.patch" + fi + + cd "${S}/external" + rm -v *.jar || die + + use test && java-pkg_jar-from --build-only junit +} + +EANT_BUILD_TARGET="javacompile archive" + +src_test() { + eant test +} + +src_install() { + java-pkg_dojar ${PN}.jar + dohtml README.html || die + + use doc && java-pkg_dojavadoc doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/backport-util-concurrent/files/backport-util-concurrent-3.0-notest.patch b/dev-java/backport-util-concurrent/files/backport-util-concurrent-3.0-notest.patch new file mode 100644 index 000000000000..65642012fddb --- /dev/null +++ b/dev-java/backport-util-concurrent/files/backport-util-concurrent-3.0-notest.patch @@ -0,0 +1,14 @@ +--- build.xml.orig 2007-05-09 23:23:00.000000000 +0200 ++++ build.xml 2007-05-09 23:23:34.000000000 +0200 +@@ -33,9 +33,9 @@ + deprecation="true" destdir="${dest}" nowarn="false" + source="1.4" target="1.4"> + <src path="src"/> +- <src path="test/tck/src"/> ++<!-- <src path="test/tck/src"/> + <src path="test/loops/src"/> +- <src path="test/serialization"/> ++ <src path="test/serialization"/>--> + </javac> + </target> + diff --git a/dev-java/backport-util-concurrent/files/backport-util-concurrent-3.0-test.patch b/dev-java/backport-util-concurrent/files/backport-util-concurrent-3.0-test.patch new file mode 100644 index 000000000000..493738b6055d --- /dev/null +++ b/dev-java/backport-util-concurrent/files/backport-util-concurrent-3.0-test.patch @@ -0,0 +1,11 @@ +--- build.xml.original 2007-02-10 02:03:52.000000000 +0100 ++++ build.xml 2007-02-10 02:04:02.000000000 +0100 +@@ -107,7 +107,7 @@ + -Djunit.ui=swingui property. + --> + +- <target name="test" depends="jdeps,make" ++ <target name="test" depends="jdeps" + description="runs TCK unit tests on the backport"> + + <property name="junit.ui" value="textui"/> diff --git a/dev-java/backport-util-concurrent/metadata.xml b/dev-java/backport-util-concurrent/metadata.xml new file mode 100644 index 000000000000..522fb4206926 --- /dev/null +++ b/dev-java/backport-util-concurrent/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <longdescription> + This package is the backport of java.util.concurrent API, introduced + in Java 5.0, to Java 1.4, and from Java 6.0 to Java 5.0" + </longdescription> + <upstream> + <remote-id type="sourceforge">backport-jsr166</remote-id> + </upstream> +</pkgmetadata> |