diff options
Diffstat (limited to 'dev-java/dom4j')
-rw-r--r-- | dev-java/dom4j/Manifest | 6 | ||||
-rw-r--r-- | dev-java/dom4j/dom4j-1.6.1-r7.ebuild | 83 | ||||
-rw-r--r-- | dev-java/dom4j/metadata.xml | 16 |
3 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/dom4j/Manifest b/dev-java/dom4j/Manifest new file mode 100644 index 000000000000..e6680c079291 --- /dev/null +++ b/dev-java/dom4j/Manifest @@ -0,0 +1,6 @@ +DIST dom4j-1.6.1-java5.patch.bz2 2900 SHA256 5e7361eac5332c3380420bd88c2d3a2d4dde30984486c6d4f7e4621940abb42d SHA512 38da606d77b62976366cd089e5194a922e348ec396e7b9af4dceb0a536c47f66e0900cfa59c91df04aade6076630077a8f88c713b9c20224d69316109b293a96 WHIRLPOOL c3e56098f9a75340243e554f11e8cddbbf3e56cd13f0dc9650151ed5ec2b3914e33921174ad275f089188033f95d33386cd4642196bdc7cc6d9bce980c0251c8 +DIST dom4j-1.6.1.tar.gz 9687211 SHA256 01b4abf86bce337a2a900bf121b3107320ba63b4c0f352e1922fbec6e0736c6f SHA512 95c5a7105a81734f77b4bf27f8bb0af116bf43d8ad5297a0902a6687a54109a87dffe2953cf430d14947cdaa590aa0fdf083b46a91d1d98d48431cfae4459d94 WHIRLPOOL 3edd7c8f629465add6fcbb944eadd75b1e8fd84120c1adf2fa24d43ae04856162d18652892697a2605c1006f1e7d3e5837e30a13e01ab7d1a101614b6dc4f8d0 +EBUILD dom4j-1.6.1-r7.ebuild 1893 SHA256 6881a96a404920b898185706d2765c1abcdffef362fe30a16d1f215e4de7a778 SHA512 ed4ac9bc68ac45cfc6af7fe342530cf756780937adc5cdf073c8b247ce7fe53ddb878f1e6cc5faf4a1097d1ec969ab605c5c389fa19a1fb6d03873245581968b WHIRLPOOL 14b7f5aa438de1adec78a317598cc9187958a67c6bdfa6d6b93a95f28cca420d5d07e74e283d5b58a1c1f1232def440fa02f0df7de8c1a7308ec77fb250fd2e3 +MISC ChangeLog 3708 SHA256 e0a5ee433e070e4e5265250e97344fab76c78aa03daf58eabb3fd933a99b6b2d SHA512 6684f7119adf1355a53d44b83c1d4afaeb6cc0da60439759ee50e113a891b51ab1c02902667dbedbef449cdcba2726d0bde7b95063dc2e96200b4119b0584006 WHIRLPOOL 3997611b526bbca82ccddca1595cf0c47c0e1badaafe729531beb75cf4bfecca8f382e2850bbe951f1fe7059c92cf67cf1e46390dda9555c09cac55361c5b91e +MISC ChangeLog-2015 8859 SHA256 2766dc5db944cfc59cc3b6e696ee6f1d5eb3b39f257097214a8cfc622d511d23 SHA512 6afd9ee0475635225d8dcc6914318c76ed27d6772ae9e93ce440e5b5a50d0423b1e96f6c6536065ff969a8b70d24af0a7359a17eea403e1c8cb989949c3be6cf WHIRLPOOL 66c6d4d88739ba4491b8b4229608349a44ba4d1101f2e5b376d5f0bce7a8aea6ee9bd848857d618c8fb83d6b9d4223f0706ba1b188f057556ba8eb12ea436531 +MISC metadata.xml 529 SHA256 26920c31ecc34515ece2b245dbfa97427d3506fec4e2966c27c8d19346610ca2 SHA512 a9845c5229efbf48ac83b5b8fd0a769d90275de1f336b52147330cc2652a858df2689e17895e2fca5af067288413102de67316e49108c7d9eaf232e9dda31bbd WHIRLPOOL 5588bb6aaa331f79f1aa5e8d1601e123cf3140cdfc839893683b7e87327a9bb31628cc80b89e8c3f8c60e8839da9d0ffd39bc9d5549f41b9506194aeaccb7eae diff --git a/dev-java/dom4j/dom4j-1.6.1-r7.ebuild b/dev-java/dom4j/dom4j-1.6.1-r7.ebuild new file mode 100644 index 000000000000..9fd5cbffd462 --- /dev/null +++ b/dev-java/dom4j/dom4j-1.6.1-r7.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="XML Java library" +HOMEPAGE="http://dom4j.sourceforge.net/" +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-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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.6" + +DEPEND=" + ${CDEPEND} + test? ( + dev-java/xalan:0 + dev-java/ant-junit:0 + dev-java/junitperf:0 + ) + >=virtual/jdk-1.6" + +PDEPEND="dev-java/jaxen:1.1" + +# 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-1.1-beta-6.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.1 + 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 new file mode 100644 index 000000000000..af2c88427c79 --- /dev/null +++ b/dev-java/dom4j/metadata.xml @@ -0,0 +1,16 @@ +<?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> + Easy to use, open source library for working with XML, XPath and + XSLT on the Java platform using the Java Collections Framework + and with full support for DOM, SAX and JAXP. + </longdescription> + <upstream> + <remote-id type="sourceforge">dom4j</remote-id> + </upstream> +</pkgmetadata> |