summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-01-06 09:47:59 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-01-06 10:08:44 +0000
commit9b13ac0d8584bd7342d6c2ac50988ebcf4ff482b (patch)
tree8eac39a87677f5627166d36a83bab853bb24e7fc /dev-java/jdom
parentdev-java/xstream: Clean up old. (diff)
downloadgentoo-9b13ac0d8584bd7342d6c2ac50988ebcf4ff482b.tar.gz
gentoo-9b13ac0d8584bd7342d6c2ac50988ebcf4ff482b.tar.bz2
gentoo-9b13ac0d8584bd7342d6c2ac50988ebcf4ff482b.zip
dev-java/jdom: 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/jdom')
-rw-r--r--dev-java/jdom/jdom-1.1.3.ebuild2
-rw-r--r--dev-java/jdom/jdom-2.0.6-r4.ebuild24
2 files changed, 17 insertions, 9 deletions
diff --git a/dev-java/jdom/jdom-1.1.3.ebuild b/dev-java/jdom/jdom-1.1.3.ebuild
index 13745ff9d7ae..328bd8d32f9f 100644
--- a/dev-java/jdom/jdom-1.1.3.ebuild
+++ b/dev-java/jdom/jdom-1.1.3.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$
diff --git a/dev-java/jdom/jdom-2.0.6-r4.ebuild b/dev-java/jdom/jdom-2.0.6-r4.ebuild
index 17153ec4366a..5a1abb469277 100644
--- a/dev-java/jdom/jdom-2.0.6-r4.ebuild
+++ b/dev-java/jdom/jdom-2.0.6-r4.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$
@@ -14,17 +14,20 @@ SRC_URI="https://github.com/hunterhacker/${PN}/archive/${MY_P}.tar.gz"
HOMEPAGE="http://www.jdom.org"
LICENSE="Apache-1.1"
SLOT="2"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
IUSE="test"
-CDEPEND="dev-java/iso-relax:0
+CDEPEND="
+ dev-java/xalan:0
dev-java/jaxen:1.1
- dev-java/xalan:0"
+ dev-java/iso-relax:0"
-RDEPEND="${CDEPEND}
+RDEPEND="
+ ${CDEPEND}
>=virtual/jre-1.6"
-DEPEND="${CDEPEND}
+DEPEND="
+ ${CDEPEND}
>=virtual/jdk-1.6
test? ( dev-java/ant-junit:0 )"
@@ -34,9 +37,14 @@ EANT_TEST_TARGET="junit"
EANT_GENTOO_CLASSPATH="iso-relax,jaxen-1.1,xalan"
S="${WORKDIR}/${PN}-${MY_P}"
+PATCHES=(
+ "${FILESDIR}/build-xml-2.patch"
+)
+
java_prepare() {
- epatch "${FILESDIR}/build-xml-2.patch"
- find -name "*.jar" -delete || die
+ java-pkg_clean
+
+ epatch "${PATCHES[@]}"
# Remove Android stuff to avoid junit RDEPEND.
rm -vr contrib/src/java/org/jdom2/contrib/android || die