summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-05-24 19:32:56 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-05-24 19:32:56 +0000
commitb8f3ea42c41190c3d716355cf77acfba6bd94ccf (patch)
treeaf5649faab70a71ac7c27b97d8202d131aefd660 /dev-java/commons-configuration
parentrdepend on iptables[ipv6], bug #550116, thanks to Agostino Sarubbo; update sl... (diff)
downloadgentoo-2-b8f3ea42c41190c3d716355cf77acfba6bd94ccf.tar.gz
gentoo-2-b8f3ea42c41190c3d716355cf77acfba6bd94ccf.tar.bz2
gentoo-2-b8f3ea42c41190c3d716355cf77acfba6bd94ccf.zip
Replace dev-java/servletapi slot with java-virtuals/servlet-api. Fix bug 398689.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/commons-configuration')
-rw-r--r--dev-java/commons-configuration/ChangeLog11
-rw-r--r--dev-java/commons-configuration/commons-configuration-1.6-r1.ebuild71
2 files changed, 80 insertions, 2 deletions
diff --git a/dev-java/commons-configuration/ChangeLog b/dev-java/commons-configuration/ChangeLog
index 6dfa2cd2750c..cfc2feef3cc1 100644
--- a/dev-java/commons-configuration/ChangeLog
+++ b/dev-java/commons-configuration/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/commons-configuration
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-configuration/ChangeLog,v 1.12 2014/08/10 20:10:16 slyfox Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-configuration/ChangeLog,v 1.13 2015/05/24 19:32:56 monsieurp Exp $
+
+*commons-configuration-1.6-r1 (24 May 2015)
+
+ 24 May 2015; Patrice Clement <monsieurp@gentoo.org>
+ +commons-configuration-1.6-r1.ebuild:
+ Replace dev-java/servletapi slot with java-virtuals/servlet-api. Fix bug
+ 398689.
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org>
commons-configuration-1.6.ebuild:
diff --git a/dev-java/commons-configuration/commons-configuration-1.6-r1.ebuild b/dev-java/commons-configuration/commons-configuration-1.6-r1.ebuild
new file mode 100644
index 000000000000..7a1c14183007
--- /dev/null
+++ b/dev-java/commons-configuration/commons-configuration-1.6-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-configuration/commons-configuration-1.6-r1.ebuild,v 1.1 2015/05/24 19:32:56 monsieurp Exp $
+
+EAPI=1
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Generic interface for reading configuration data from a variety of sources"
+HOMEPAGE="http://commons.apache.org/configuration/"
+SRC_URI="mirror://apache/commons/configuration/source/${P}-src.tar.gz"
+
+# it needs functionality from ant-core, although not providing an ant task
+# the functionality is apparently needed only for 1.4 jdk
+# but I don't feel like adding virtual for this
+COMMON_DEPENDS="
+ >=dev-java/commons-beanutils-1.7.0:1.7
+ >=dev-java/commons-codec-1.3:0
+ >=dev-java/commons-collections-3.1:0
+ >=dev-java/commons-digester-1.8:0
+ >=dev-java/commons-jxpath-1.2:0
+ >=dev-java/commons-lang-2.4:2.1
+ >=dev-java/commons-logging-1.1.1:0
+ java-virtuals/servlet-api:2.5
+ dev-java/ant-core:0"
+
+DEPEND=">=virtual/jdk-1.6
+ ${COMMON_DEPENDS}"
+RDEPEND=">=virtual/jre-1.6
+ ${COMMON_DEPENDS}"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Tweak build classpath and don't automatically run tests
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ java-ant_rewrite-classpath
+}
+
+EANT_GENTOO_CLASSPATH="
+ commons-beanutils:1.7
+ commons-codec
+ commons-collections
+ commons-digester
+ commons-jxpath
+ commons-lang:2.1
+ commons-logging
+ servlet-api:2.5
+ ant-core"
+
+# Would need mockobjects with j2ee support which we don't have
+# Check overlay for ebuild with test support
+RESTRICT="test"
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+ dodoc RELEASE-NOTES.txt || die
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}