From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- dev-java/dom4j/Manifest | 5 ++- dev-java/dom4j/dom4j-1.6.1-r8.ebuild | 2 +- dev-java/dom4j/dom4j-1.6.1-r9.ebuild | 84 ++++++++++++++++++++++++++++++++++++ dev-java/dom4j/metadata.xml | 4 +- 4 files changed, 91 insertions(+), 4 deletions(-) create mode 100644 dev-java/dom4j/dom4j-1.6.1-r9.ebuild (limited to 'dev-java/dom4j') diff --git a/dev-java/dom4j/Manifest b/dev-java/dom4j/Manifest index bb9d9c2d504d..f73aba114cbc 100644 --- a/dev-java/dom4j/Manifest +++ b/dev-java/dom4j/Manifest @@ -1,4 +1,5 @@ DIST dom4j-1.6.1-java5.patch.bz2 2900 BLAKE2B cdd7dc901f5292af3ef7f0ea200c3d22bbc8c0adc27606da3c8fbadc44625b114c995321723dca331f0b23d5248e1f9177f0def2f4138eebcbd4aaac0495d4dd SHA512 38da606d77b62976366cd089e5194a922e348ec396e7b9af4dceb0a536c47f66e0900cfa59c91df04aade6076630077a8f88c713b9c20224d69316109b293a96 DIST dom4j-1.6.1.tar.gz 9687211 BLAKE2B 3daa3729ea071aa87c7c1e1e2b91f1635109774dd2bd564a85265a0286f1369373084b945409d9d5213d66a7e14224033d42c58d80125b7982eef8961eb29248 SHA512 95c5a7105a81734f77b4bf27f8bb0af116bf43d8ad5297a0902a6687a54109a87dffe2953cf430d14947cdaa590aa0fdf083b46a91d1d98d48431cfae4459d94 -EBUILD dom4j-1.6.1-r8.ebuild 1912 BLAKE2B 7d30137c42a0cdb16e8f7ab3d4ebc6ebf10b5d8b6c969902382a6645aa43654d39d12018efe574397fa8d0a2454e0f48fe8e4aaac60aa279d25b24fcf78bad9d SHA512 1df48894e8cb08b994c53b04b2d6266b4a2c394d35a25e607f0b28a30cf539e950f35f5f2a60fe672146c596e116966fd13043a959ef08f539f9ba3890bec12b -MISC metadata.xml 529 BLAKE2B 27e8a2aa0c95e7690b99386698f800291371b9962a1a667899c425e58ce73c8eb21dac1c589d47449242f0e2522b66c66379d6dd3b01708015e66278d634a480 SHA512 a9845c5229efbf48ac83b5b8fd0a769d90275de1f336b52147330cc2652a858df2689e17895e2fca5af067288413102de67316e49108c7d9eaf232e9dda31bbd +EBUILD dom4j-1.6.1-r8.ebuild 1907 BLAKE2B c2802e3270130c27a14cbcd02dfb9228f73e29f39f9866521af5f870396e43a0745836c2279f16b8f4452bed47f2529ac9cb488aa7fe982602affd9ef5fc2f00 SHA512 843e5b3a520ab7ed50fe1ec926b34d5ef114c2dd5d3d7813f12fbd00c018ba791f98294aa300b8042bd6659c31e2e25ee407710c0f9e8a36f79eba7a4e3c603f +EBUILD dom4j-1.6.1-r9.ebuild 1900 BLAKE2B 314238d8a36167053c0b148c429206b042b5fa14929edd7c92741131596fc24f39e668d165abcb26ea3b5b14363777f725a30893e2395ee57564a875b6cc2306 SHA512 30dab95cdb84bae7a4873be00f1d37f8f412a31f19748a02370071a94407c7d0de1dcdcaaee67aad7d1e024db24218b88d206d373e781b5d2e18154dab051cb1 +MISC metadata.xml 638 BLAKE2B f46f8d2dd95d34b00a632c896e6baa1fa889722364d19b4eb9545f3b4158fd25c7d33351c420a5c4cd06b70944dff110df695f82b00e3c99bab601df21f19ef7 SHA512 77351358dfa7f4d7ae987e49acc828344448578423ad613e2fac18543949ca050e2746c469e0bb7e5b764a8512e3a97b675ab0e1cfbfe2493f013911fcf45f38 diff --git a/dev-java/dom4j/dom4j-1.6.1-r8.ebuild b/dev-java/dom4j/dom4j-1.6.1-r8.ebuild index 894aca08368f..cc77ae8243da 100644 --- a/dev-java/dom4j/dom4j-1.6.1-r8.ebuild +++ b/dev-java/dom4j/dom4j-1.6.1-r8.ebuild @@ -8,7 +8,7 @@ JAVA_PKG_IUSE="doc source test" inherit java-pkg-2 java-ant-2 DESCRIPTION="XML Java library" -HOMEPAGE="http://dom4j.sourceforge.net/" +HOMEPAGE="https://dom4j.github.io/" SRC_URI=" mirror://sourceforge/dom4j/${P}.tar.gz mirror://gentoo/${P}-java5.patch.bz2" diff --git a/dev-java/dom4j/dom4j-1.6.1-r9.ebuild b/dev-java/dom4j/dom4j-1.6.1-r9.ebuild new file mode 100644 index 000000000000..717d7ddf29b2 --- /dev/null +++ b/dev-java/dom4j/dom4j-1.6.1-r9.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="XML Java library" +HOMEPAGE="https://dom4j.github.io/" +SRC_URI=" + mirror://sourceforge/dom4j/${P}.tar.gz + mirror://gentoo/${P}-java5.patch.bz2" + +LICENSE="dom4j" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +CDEPEND=" + dev-java/xpp2:0 + dev-java/xpp3:0 + dev-java/xsdlib:0 + dev-java/relaxng-datatype:0" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8:*" + +# restricted to jdk 1.8 because it needs javax.xml.bind +DEPEND=" + ${CDEPEND} + test? ( + dev-java/xalan:0 + dev-java/ant-junit:0 + dev-java/junitperf:0 + ) + virtual/jdk:1.8" + +PDEPEND="dev-java/jaxen:1.2" + +# Add missing methods to compile on Java 5 #137970 +PATCHES=( "${WORKDIR}/${P}-java5.patch" ) + +JAVA_RM_FILES=( + src/test/org/dom4j/bean/BeansTest.java + src/test/org/dom4j/io/StaxTest.java + src/test/org/dom4j/rule/RuleTest.java + src/test/org/dom4j/ThreadingTest.java + src/test/org/dom4j/io/XPP3ReaderTest.java +) + +src_prepare() { + default + + # Circular deps with jaxen #212993 + find -name '*.jar' -! -name jaxen-1.1-beta-6.jar -exec rm -v {} + || die + + rm -v "${JAVA_RM_FILES[@]}" || die +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" +JAVA_ANT_CLASSPATH_TAGS+=" javadoc" + +JAVA_ANT_ENCODING="ISO-8859-1" + +EANT_BUILD_TARGET="clean package" +EANT_GENTOO_CLASSPATH="relaxng-datatype,xpp2,xpp3,xsdlib" +EANT_GENTOO_CLASSPATH_EXTRA="lib/jaxen.jar" +EANT_EXTRA_ARGS="-Dbuild.javadocs=build/doc/api" + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junitperf,xalan" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar "build/${PN}.jar" + java-pkg_register-dependency jaxen-1.2 + use doc && java-pkg_dojavadoc build/doc/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/dom4j/metadata.xml b/dev-java/dom4j/metadata.xml index af2c88427c79..2d873897cf3c 100644 --- a/dev-java/dom4j/metadata.xml +++ b/dev-java/dom4j/metadata.xml @@ -11,6 +11,8 @@ and with full support for DOM, SAX and JAXP. - dom4j + dom4j/dom4j + https://github.com/dom4j/dom4j/wiki + https://github.com/dom4j/dom4j/issues -- cgit v1.2.3