diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-10-08 21:02:17 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-10-08 21:02:45 +0200 |
commit | 28a42ea67e06e003a105e6aa0259cb283eebb69f (patch) | |
tree | ff0cda6184e1cf2472229aff337fb093ac164bb6 /dev-java/xstream | |
parent | dev-java/jaxen: add ~x86 back. (diff) | |
download | gentoo-28a42ea67e06e003a105e6aa0259cb283eebb69f.tar.gz gentoo-28a42ea67e06e003a105e6aa0259cb283eebb69f.tar.bz2 gentoo-28a42ea67e06e003a105e6aa0259cb283eebb69f.zip |
dev-java/xstream: get rid of jdom:1.1 dependency.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-java/xstream')
-rw-r--r-- | dev-java/xstream/Manifest | 1 | ||||
-rw-r--r-- | dev-java/xstream/xstream-1.4.8-r2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-java/xstream/Manifest b/dev-java/xstream/Manifest index cbbb6ee17ca8..d915cd8bb682 100644 --- a/dev-java/xstream/Manifest +++ b/dev-java/xstream/Manifest @@ -1 +1,2 @@ DIST xstream-1.4.8-sources.jar 395464 SHA256 5d956e4527d27420f2d417cd77ffafedad85ee795a59857bbf2be9cc630eace0 SHA512 9fb9ebc6facdc07aecbcee3fbf40ef560bdd42cd8f7c7a3a8e2401be5c4e05ed3370beec653ef06d2fd3aa1acabf8f4ada8dddea27f239d180d66aec0bd905e6 WHIRLPOOL 10f9ad97300397000085e4850baa89a2560bd13431c1668b7e144fe53b0800f546ff56cb7bd373a53ea7ab1ff88bef80260e3d8543543c8df50fc5e56fdd8aa2 +DIST xstream-1.4.8.jar 395464 SHA256 5d956e4527d27420f2d417cd77ffafedad85ee795a59857bbf2be9cc630eace0 SHA512 9fb9ebc6facdc07aecbcee3fbf40ef560bdd42cd8f7c7a3a8e2401be5c4e05ed3370beec653ef06d2fd3aa1acabf8f4ada8dddea27f239d180d66aec0bd905e6 WHIRLPOOL 10f9ad97300397000085e4850baa89a2560bd13431c1668b7e144fe53b0800f546ff56cb7bd373a53ea7ab1ff88bef80260e3d8543543c8df50fc5e56fdd8aa2 diff --git a/dev-java/xstream/xstream-1.4.8-r2.ebuild b/dev-java/xstream/xstream-1.4.8-r2.ebuild new file mode 100644 index 000000000000..b72fc3197567 --- /dev/null +++ b/dev-java/xstream/xstream-1.4.8-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A text-processing Java API that serialize objects to XML and back again" +HOMEPAGE="http://x-stream.github.io" +SRC_URI="http://central.maven.org/maven2/com/thoughtworks/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +CDEPEND=" + dev-java/xom:0 + dev-java/xpp3:0 + dev-java/jdom:0 + dev-java/jdom:2 + dev-java/kxml:2 + dev-java/cglib:3 + dev-java/dom4j:1 + dev-java/joda-time:0 + dev-java/jettison:0" + +# This package does need Java 8. See bug 564616. +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8 + app-arch/unzip" + +JAVA_GENTOO_CLASSPATH=" + xom + xpp3 + jdom + kxml-2 + jdom-2 + dom4j-1 + cglib-3 + jettison + joda-time" + +# Two drivers for two very old implementations of StAX. +# StAX has been last-rited from Gentoo as it is now part of the Java 6 JDK. +# See bug 561504. These drivers rely on ancient APIs that aren't maintained +# upstream and may contain security holes. +JAVA_RM_FILES=( + com/thoughtworks/xstream/io/xml/WstxDriver.java + com/thoughtworks/xstream/io/xml/BEAStaxDriver.java +) |