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/commons-digester/Manifest | 11 + .../commons-digester-1.8.1-r2.ebuild | 57 ++++ .../commons-digester-2.1-r1.ebuild | 57 ++++ .../commons-digester-3.2-r2.ebuild | 60 +++++ .../files/1.8.1-build.xml-jar-target.patch | 27 ++ .../files/commons-digester-2.1-build.xml | 294 +++++++++++++++++++++ dev-java/commons-digester/metadata.xml | 8 + 7 files changed, 514 insertions(+) create mode 100644 dev-java/commons-digester/Manifest create mode 100644 dev-java/commons-digester/commons-digester-1.8.1-r2.ebuild create mode 100644 dev-java/commons-digester/commons-digester-2.1-r1.ebuild create mode 100644 dev-java/commons-digester/commons-digester-3.2-r2.ebuild create mode 100644 dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch create mode 100644 dev-java/commons-digester/files/commons-digester-2.1-build.xml create mode 100644 dev-java/commons-digester/metadata.xml (limited to 'dev-java/commons-digester') diff --git a/dev-java/commons-digester/Manifest b/dev-java/commons-digester/Manifest new file mode 100644 index 000000000000..812ab72995dc --- /dev/null +++ b/dev-java/commons-digester/Manifest @@ -0,0 +1,11 @@ +AUX 1.8.1-build.xml-jar-target.patch 1099 SHA256 9f9fbbbd23f17bc89becc5e5ebc19c9d3a3dbe5c412f83b10ceb7c4f6f329bc0 SHA512 f28fd46608ca3817739ac4cdb07bf57ec28e0ebb22c3d086ef36567b44bb595b040dc27bb57a89f55568b8e4966b627f18829171908c14b4cced99787fc623c5 WHIRLPOOL 5ce762d8f9bd991e14275e7367d93673acf9037d9ea3245227f723dc2643e2ea62655ca33d4be1d621d7ad5aef1b059d1752392eb86b35be8416a737e7a7849f +AUX commons-digester-2.1-build.xml 12816 SHA256 63d7ca3b32639728240a4801b28582585ff0114e5b9c510fd8d3aee441fb5a9d SHA512 f42f80e68e8b6d31b07add393e1adc1714278e9e8e6ccab08dfb6a131bdafeab1ae5c5859e81dabc5acff88d2151093d82a3e089293f653bcab307451839c0ef WHIRLPOOL 94eb44b56fbb67920e20f0c263bdb9e700bbc4cfb83f810b6b31c72a0a4222d6e3b925a09d0f26a80aae1f072322381ef8d885304e0a8aae3e76499c4ec5a6f3 +DIST commons-digester-1.8.1-src.tar.gz 303266 SHA256 9ecb98ffeb2f910d5554571875a8ed36b4d09f5cdc7ccece8e275d85ba4bf6f1 SHA512 0a39069662b4792d4856b79b5cedc2b44cb70303a19045d21c233d45ae4dde9e80662bd242a381e759d7cdb5adaf0b9fa6206bb8397b53348fa9eac12e9a4e96 WHIRLPOOL dffd4523256b84b5d05daf446fb4d9304220da57068c69e3d1fe67bcda41f4f41404d01eb46f82695696d251ff0fe7981e11c93cbc637e33a5e664645823e8b0 +DIST commons-digester-2.1-src.tar.gz 304060 SHA256 2713f07a6adec7e253d91f1fca70e658b93e1a63f1b6a36f4907a2b83088543f SHA512 6bdb63431ed1e17f5e8ba24951762750a0e59b70c76eabecbf13f5fe6974864825456beed615c8f2c16f9a2f1404f2e56bdbc3ba335656c3661d5f368c708b88 WHIRLPOOL c08a428a41a405f01a49a26921ab7eb053f88a8f54c76ec331f92ccb009e3fe9b1d0689b45ee6d608e6e46a490d0c40692251bbc8c48db723a4f4d4017bf3871 +DIST commons-digester3-3.2-src.tar.gz 324555 SHA256 73fa7a8d3f0e39fbffae46cbd47cbf788c0a573e510a601928aa16ea1a0a6c0e SHA512 6d5ed9a1cc7612244747dcbd5c713349f27d63d1cef39fa368b4e91eaa3b1fe7043ab2fb498a73e8afde8081b8ff26a966e5b87b8b6dc68a3d907e9b25aa7cad WHIRLPOOL e4064f26a4cd88188436939ca6b2de582e84d4da1aca6d1931587643076f5a3b40701b3fef62fd5dff677e66f956f07314bf8eb7f3fece5780674ea63331ac48 +EBUILD commons-digester-1.8.1-r2.ebuild 1344 SHA256 0821f00120c31100e4030bed8b784e486b5ef0b9127bd1f13c5d4ecacd7ee7ea SHA512 ffb81b347ce8cf68a4f99cbab48044345273f4abd49c8e48482219869f1eb5a522e5e549833f9cf0c31435229b500d4447c9928a30aadd03958fa0776ceb76e1 WHIRLPOOL 02efd011997d7b1c79874f10a61127d3f4f378fa871c90ce11200a37012ecb50ab0a703197faa97d62a29f7722ef3e1420eb2b61933eaa6349d38b2bfc291728 +EBUILD commons-digester-2.1-r1.ebuild 1281 SHA256 f4b479b19c8cb842aa58e986ace197c94d3af9a29ae18d1cd38f9b8f1e26ded8 SHA512 084f7e7ea4029dbca1b6687f0457091f11d7f00af4c6d81e4d20c43a6912f06b20dd9b25acb1b63aca1d0d5d446f1dbfeee50b06b5259cc1af9ff029666cb302 WHIRLPOOL 28d8e366aac4dd6fca9e0fd2563376b6e3ab9f4ee4b98d3439a5c1608404b88fb6e005e2991cee40fa069c5912031fe3d795cc829424047e4f16cd856088bda3 +EBUILD commons-digester-3.2-r2.ebuild 1346 SHA256 00fab97320c8cb158d075a7319f57cba1a8d25ff26c6f3c537c83fb5565becc5 SHA512 380541befcf378f7446af7af0931fb3d95b682400b4fae1beb369a48d1ec807ecfb816a6a120085147924358ed17037027f03f9d9d049659342c3dc7a3882c0e WHIRLPOOL 7d3a65db73d229915a04088541122e803f8ce2fb846a0839e52db606e5739e24df90af8a39fa3a7b106f9565070c3c97cc43dadd1804f5eda7bff797f23fa8a0 +MISC ChangeLog 3089 SHA256 eac621f8c2955d6c23dfb3d7054799f59c076da3f795df24e4b665785c8dcfda SHA512 b4c69a5ad32b96f707f27c3b637d6b67f6d62692405396597e6674e35ed95bbff224b4dff29ab5e7a7edc8957713d650aa45f77a4b97703fff1e8a523ae19631 WHIRLPOOL 50e41cadbb0f50fe459dece59339d9719226c3d954ca1e549c2e9206808f1c7498a26d894ba6f671abdc35d244ea91afe66a2248dc9d91af1dbb5e55a5006cd5 +MISC ChangeLog-2015 11276 SHA256 4b4cec1f71e727b58357f1ef72d85e01da7f88c21bc1b02b7ecab4f1af9e5c6a SHA512 71d051a08cdcb8c5b3d0d182d23cfeee598b2e5a783be373af1a3acfc0dc825da8a363867e072b1efb7661569a836ab6e20a95394720cea70a897262d91e0b9b WHIRLPOOL e266f00bc8d02383e70af3852258995b4c1cd582e6a53a98f6c96e99fb7f1358cda19d269b25800b245b25f7fae2d62d8724881c7eb49f16fd3ad7d9674c1e30 +MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac diff --git a/dev-java/commons-digester/commons-digester-1.8.1-r2.ebuild b/dev-java/commons-digester/commons-digester-1.8.1-r2.ebuild new file mode 100644 index 000000000000..cba93118e2c7 --- /dev/null +++ b/dev-java/commons-digester/commons-digester-1.8.1-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc examples source test" + +inherit eutils java-pkg-2 java-ant-2 + +MY_P="${P}-src" +DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects" +HOMEPAGE="http://commons.apache.org/digester/" +SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd" +IUSE="" + +CDEPEND="dev-java/commons-beanutils:1.7 + >=dev-java/commons-collections-2.1:0 + >=dev-java/commons-logging-1.0.2:0" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + ) + ${CDEPEND}" + +S="${WORKDIR}/${P}-src" + +# don't rewrite build.xml in examples +JAVA_PKG_BSFIX_ALL="no" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections,commons-logging" + +java_prepare() { + epatch "${FILESDIR}/${PV}-build.xml-jar-target.patch" +} + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar "dist/${PN}.jar" + + dodoc RELEASE-NOTES.txt || die + + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/org + use examples && java-pkg_doexamples src/examples +} diff --git a/dev-java/commons-digester/commons-digester-2.1-r1.ebuild b/dev-java/commons-digester/commons-digester-2.1-r1.ebuild new file mode 100644 index 000000000000..e4adb2d2ba0d --- /dev/null +++ b/dev-java/commons-digester/commons-digester-2.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source test" + +inherit eutils java-pkg-2 java-ant-2 + +MY_P="${P}-src" + +DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects" +HOMEPAGE="http://commons.apache.org/digester/" +SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.1" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd" + +CDEPEND="dev-java/commons-beanutils:1.7 + >=dev-java/commons-collections-2.1:0 + >=dev-java/commons-logging-1.0.2:0" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND} + test? ( + dev-java/junit:0 + dev-java/ant-junit:0 + )" + +S="${WORKDIR}/${P}-src" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-collections,commons-logging" + +java_prepare() { + cp "${FILESDIR}"/${P}-build.xml build.xml || die +} + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${PN}.jar + + dodoc RELEASE-NOTES.txt + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/org + use examples && java-pkg_doexamples src/examples +} diff --git a/dev-java/commons-digester/commons-digester-3.2-r2.ebuild b/dev-java/commons-digester/commons-digester-3.2-r2.ebuild new file mode 100644 index 000000000000..c818287d257f --- /dev/null +++ b/dev-java/commons-digester/commons-digester-3.2-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +JAVA_PKG_IUSE="doc examples source test" + +inherit eutils java-pkg-2 java-ant-2 + +MY_P="${PN}3-${PV}-src" + +DESCRIPTION="Reads XML configuration files to provide initialization of various Java objects" +HOMEPAGE="http://commons.apache.org/digester/" +SRC_URI="mirror://apache/commons/digester/source/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.2" +KEYWORDS="amd64 ppc64 x86" + +CDEPEND="dev-java/cglib:3 + dev-java/commons-beanutils:1.7 + >=dev-java/commons-logging-1.0.2:0" + +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND} + test? ( + dev-java/junit:4 + dev-java/ant-junit:0 + )" + +S="${WORKDIR}/${MY_P}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="commons-beanutils-1.7,commons-logging,cglib-3" + +java_prepare() { + cp "${FILESDIR}"/${PN}-2.1-build.xml build.xml || die + + # Doesn't work. + rm -v src/test/java/org/apache/commons/digester3/Digester153TestCase.java +} + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${PN}.jar + + dodoc RELEASE-NOTES.txt + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/org + use examples && java-pkg_doexamples src/examples +} diff --git a/dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch b/dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch new file mode 100644 index 000000000000..ec523a011458 --- /dev/null +++ b/dev-java/commons-digester/files/1.8.1-build.xml-jar-target.patch @@ -0,0 +1,27 @@ +--- build.xml.orig 2009-02-15 21:06:33.000000000 +0100 ++++ build.xml 2009-02-15 21:07:25.000000000 +0100 +@@ -117,6 +117,7 @@ + + + ++ + + + +@@ -140,6 +141,7 @@ + + + ++ + + + +@@ -256,7 +258,7 @@ + + + +- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/commons-digester/metadata.xml b/dev-java/commons-digester/metadata.xml new file mode 100644 index 000000000000..2444066aa02b --- /dev/null +++ b/dev-java/commons-digester/metadata.xml @@ -0,0 +1,8 @@ + + + + + java@gentoo.org + Java + + -- cgit v1.2.3