summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-04-18 11:55:36 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-05-06 11:29:11 +0200
commit0ef8bd00d52b34d7deb01ddc46ca7561e78c0d7b (patch)
treecb19a3b457471ff0ea09fc5dc4ff0a57fd0d1719 /dev-java/xom
parentdev-java/jaxen: remove xom dependency. (diff)
downloadgentoo-0ef8bd00d52b34d7deb01ddc46ca7561e78c0d7b.tar.gz
gentoo-0ef8bd00d52b34d7deb01ddc46ca7561e78c0d7b.tar.bz2
gentoo-0ef8bd00d52b34d7deb01ddc46ca7561e78c0d7b.zip
dev-java/xom: version bump.
* Fetch sources from maven.org. * Switch build process to java-pkg-simple. * EAPI 6 bump. Closes: https://bugs.gentoo.org/683718 Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'dev-java/xom')
-rw-r--r--dev-java/xom/Manifest1
-rw-r--r--dev-java/xom/xom-1.3.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-java/xom/Manifest b/dev-java/xom/Manifest
index 907ed84fa9f8..679b45f3b62c 100644
--- a/dev-java/xom/Manifest
+++ b/dev-java/xom/Manifest
@@ -1,2 +1,3 @@
DIST jaxen-1.1.6-src.tar.gz 204211 BLAKE2B 02e3ca40f3d6a41d417ae7f40b70ca74b4dff0bb254d5d7a80aeb725595564805bda795ee9d1b1c92ec3b1d59aad3a9cb82d8f2bac5ef0e66a3feca04bb63345 SHA512 84a3beb521c8729d7ad9bcb76a252e12d624614277eee9d5e844f79fcdfc58f5f49eac902256b17c0af6563d4c255249d9124a47c3b02827189a7489f3172309
DIST xom-1.2.10.tar.gz 11717279 BLAKE2B dd66d423563abd717c0a663db3300b5baccf549f9dd71e42cc86b9c222f60faed1fc8525dbab04c27f271a3f048dcc01fbcb20da6ec6efd093e192c7a4b90685 SHA512 edaa4abbb929f4eba1ee092be7a196ba1c7a359b233a38abbf100dc519a9a6ca2b9a4947497e412f96ceaf509bbd03c0ce25b17e401b6cd0a95fc355bbdc7680
+DIST xom-1.3.2.jar 317416 BLAKE2B cd891743b6c83eaf39be0e7c973b0221330532464dc433f64b769d07e7dd4f43341e01cb6bc4c237b7cab2a939280acde2dfc7f1da4467f87af6458409e7b37c SHA512 958c25262d297280ab87b000a8a9a0fa0842c062a52229f818568f937d5adc69f7b2214b9463a9a75b5d1714487ecc2b434a47c4627d9350e497367787e98aa4
diff --git a/dev-java/xom/xom-1.3.2.ebuild b/dev-java/xom/xom-1.3.2.ebuild
new file mode 100644
index 000000000000..177dd35991f2
--- /dev/null
+++ b/dev-java/xom/xom-1.3.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="XML Object Model"
+HOMEPAGE="http://cafeconleche.org/XOM/index.html"
+SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+
+CDEPEND="
+ dev-java/xerces:2
+ dev-java/jaxen:1.1
+ dev-java/xml-commons-external:1.3"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+JAVA_GENTOO_CLASSPATH="
+ xerces-2
+ jaxen-1.1
+ xml-commons-external-1.3"
+
+JAVA_SRC_DIR="nu"
+
+src_prepare() {
+ default
+
+ rm -r nu/xom/integrationtests/ || die
+}