From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/commons-digester/Manifest | 9 + .../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, 512 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..7853c51edbf2 --- /dev/null +++ b/dev-java/commons-digester/Manifest @@ -0,0 +1,9 @@ +AUX 1.8.1-build.xml-jar-target.patch 1099 BLAKE2B e1ce425c943ebb36dd73447aa7d41c3fad20d22c75bc0d63d4137dd8be0afbeed4cf30a6ad48b24e5f3c9c1c018ce091c2a4d107aff8c62c161895c2bb78fcb8 SHA512 f28fd46608ca3817739ac4cdb07bf57ec28e0ebb22c3d086ef36567b44bb595b040dc27bb57a89f55568b8e4966b627f18829171908c14b4cced99787fc623c5 +AUX commons-digester-2.1-build.xml 12816 BLAKE2B 7309479a61897c3ecc28e6394714c1fb4691035f2f57f64f8dcccfab407a681e4ca2076ddf2cd783ec3bb0b726d38033b63c10444169d029fe39613ab0760c4c SHA512 f42f80e68e8b6d31b07add393e1adc1714278e9e8e6ccab08dfb6a131bdafeab1ae5c5859e81dabc5acff88d2151093d82a3e089293f653bcab307451839c0ef +DIST commons-digester-1.8.1-src.tar.gz 303266 BLAKE2B 618885c812a9bf40c080bc5736b8b4be4e18fe4d2f732d2a44d39369ae6cf3beb3af0cf500da3d103d7aa8c18b41b84d06907b6fc90f7f10d30840d6cfc83012 SHA512 0a39069662b4792d4856b79b5cedc2b44cb70303a19045d21c233d45ae4dde9e80662bd242a381e759d7cdb5adaf0b9fa6206bb8397b53348fa9eac12e9a4e96 +DIST commons-digester-2.1-src.tar.gz 304060 BLAKE2B 2360f6f8ab77b20ad6b4058e0437aa792bf3886ddec2e09b6db259bc142c070965ce066ef224e92fb91614075631a2af1358ae4b4fc065fe9118e1d2559bb9bb SHA512 6bdb63431ed1e17f5e8ba24951762750a0e59b70c76eabecbf13f5fe6974864825456beed615c8f2c16f9a2f1404f2e56bdbc3ba335656c3661d5f368c708b88 +DIST commons-digester3-3.2-src.tar.gz 324555 BLAKE2B 7b8bdaa70eeafb069e9ecbfe697ab86f5167ae3b9933e8aa306f0080de0ec99d12bd023067678b7b904329178f553fd6d4d98141ab329154a1c27385b33e449f SHA512 6d5ed9a1cc7612244747dcbd5c713349f27d63d1cef39fa368b4e91eaa3b1fe7043ab2fb498a73e8afde8081b8ff26a966e5b87b8b6dc68a3d907e9b25aa7cad +EBUILD commons-digester-1.8.1-r2.ebuild 1334 BLAKE2B 041afef35e29c544ef5a55d636e1567282e9aa88f3777ee092563b0b69587eb73c0cd1a6d613a292d8cf59f79c324cc9239ff80fc0412dae51fb9606b5b447f8 SHA512 e86d5c4195016eccc3a76a78c70d9ced9ff0cb7b7fc5ba1cd49720e84d57f439cc3fb8ea206c7f9bee8cd5e13fbc20da6dcbbb53d8404c875e142cfd5d64eed2 +EBUILD commons-digester-2.1-r1.ebuild 1271 BLAKE2B 627edfe47d49d94e97b2d40773a4a55ccbc885bd95f5889500fd1a6662fb008d5d5efbf4727bec54e04e7a9e6fb6b412bf5425316aaeea5454ac86ff076cc3d6 SHA512 3b6b050868c748e172afcaa91f3f7632f265272cf9cf87a7d8aa24ae044dae92ebb60ab2ba05fc1bc7c5b823d22ea7597d856f7b0151cf4ad4dd2d545a035054 +EBUILD commons-digester-3.2-r2.ebuild 1346 BLAKE2B 569d0a11ac290485043abeaad1f6d5605e23e3c86e2514fddb14c90422499139056ae938d93d1f0c237740e7368844ca9a721f2a36a4c852e65f7d93e353f504 SHA512 380541befcf378f7446af7af0931fb3d95b682400b4fae1beb369a48d1ec807ecfb816a6a120085147924358ed17037027f03f9d9d049659342c3dc7a3882c0e +MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 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..ef48eccd8418 --- /dev/null +++ b/dev-java/commons-digester/commons-digester-1.8.1-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 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" +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..a6546742511c --- /dev/null +++ b/dev-java/commons-digester/commons-digester-2.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 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" + +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