summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-01-06 09:31:34 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-01-06 10:08:30 +0000
commite4c63cd495ef13213985216b605f997ac1f13a06 (patch)
tree0866e601c28e5e5200563c21297b8721c5f81b7b /dev-java
parentdev-java/wstx: Clean up old. (diff)
downloadgentoo-e4c63cd495ef13213985216b605f997ac1f13a06.tar.gz
gentoo-e4c63cd495ef13213985216b605f997ac1f13a06.tar.bz2
gentoo-e4c63cd495ef13213985216b605f997ac1f13a06.zip
dev-java/dom4j: Stable for amd64. Retroactively mark stable for the remaining arches using the ALLARCHES policy.
Package-Manager: portage-2.2.26 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/dom4j/dom4j-1.6.1-r5.ebuild27
1 files changed, 16 insertions, 11 deletions
diff --git a/dev-java/dom4j/dom4j-1.6.1-r5.ebuild b/dev-java/dom4j/dom4j-1.6.1-r5.ebuild
index 4ed4564591ce..c43214986be8 100644
--- a/dev-java/dom4j/dom4j-1.6.1-r5.ebuild
+++ b/dev-java/dom4j/dom4j-1.6.1-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -16,22 +16,27 @@ SRC_URI="
LICENSE="dom4j"
SLOT="1"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
-CDEPEND="dev-java/xpp2:0
+CDEPEND="
+ dev-java/xpp2:0
dev-java/xpp3:0
dev-java/jaxme:0
dev-java/xsdlib:0
dev-java/relaxng-datatype:0"
-RDEPEND="${CDEPEND}
+
+RDEPEND="
+ ${CDEPEND}
>=virtual/jre-1.6"
-DEPEND="${CDEPEND}
- >=virtual/jdk-1.6
+
+DEPEND="
+ ${CDEPEND}
test? (
dev-java/ant-junit:0
dev-java/junitperf:0
- )"
+ )
+ >=virtual/jdk-1.6"
java_prepare() {
# Circular deps with jaxen #212993
@@ -41,9 +46,9 @@ java_prepare() {
epatch "${WORKDIR}/${P}-java5.patch"
}
-# 0 - Needs X11
-# 1 -Fails with a 1.7 JDK for some reason
-# 2 -Fails with a 1.6 JDK for some reason
+# 0 - Requires X11.
+# 1 - Fails with JDK 1.7.
+# 2 - Fails with JDK 1.6.
JAVA_RM_FILES=(
src/test/org/dom4j/bean/BeansTest.java
src/test/org/dom4j/io/StaxTest.java
@@ -67,7 +72,7 @@ src_test() {
}
src_install() {
- java-pkg_dojar build/${PN}.jar
+ java-pkg_dojar "build/${PN}.jar"
use doc && java-pkg_dojavadoc build/doc/api
use source && java-pkg_dosrc src/java/*
}