summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-07-13 13:47:12 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-07-13 13:47:12 +0000
commitf431bcbf621507cf3cb3a13cad1c2727f9bef678 (patch)
tree508061d0a82cedc1dacd8fdfd19c7b898e06c365 /dev-java/commons-jelly
parentVersion bump, remove old. (diff)
downloadgentoo-2-f431bcbf621507cf3cb3a13cad1c2727f9bef678.tar.gz
gentoo-2-f431bcbf621507cf3cb3a13cad1c2727f9bef678.tar.bz2
gentoo-2-f431bcbf621507cf3cb3a13cad1c2727f9bef678.zip
Fix running tests. #426426
Bump EAPI and make better use of eclasses, fix QA issues. Drop unneeded deps xerces and forehead. Bump servlet-api dep to 2.5. (Portage version: 2.1.11.5/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/commons-jelly')
-rw-r--r--dev-java/commons-jelly/ChangeLog12
-rw-r--r--dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild66
2 files changed, 76 insertions, 2 deletions
diff --git a/dev-java/commons-jelly/ChangeLog b/dev-java/commons-jelly/ChangeLog
index 401a0e695880..1be7f6e0f6b0 100644
--- a/dev-java/commons-jelly/ChangeLog
+++ b/dev-java/commons-jelly/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/commons-jelly
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jelly/ChangeLog,v 1.16 2010/05/24 15:00:56 caster Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jelly/ChangeLog,v 1.17 2012/07/13 13:47:12 sera Exp $
+
+*commons-jelly-1.0-r5 (13 Jul 2012)
+
+ 13 Jul 2012; Ralph Sennhauser <sera@gentoo.org> +commons-jelly-1.0-r5.ebuild:
+ Fix running tests. #426426
+ Bump EAPI and make better use of eclasses, fix QA issues.
+ Drop unneeded deps xerces and forehead.
+ Bump servlet-api dep to 2.5.
24 May 2010; Vlastimil Babka <caster@gentoo.org>
-commons-jelly-1.0-r3.ebuild:
diff --git a/dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild b/dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild
new file mode 100644
index 000000000000..932c05e3572f
--- /dev/null
+++ b/dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jelly/commons-jelly-1.0-r5.ebuild,v 1.1 2012/07/13 13:47:12 sera Exp $
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_P="${P}-src"
+DESCRIPTION="A Java and XML based scripting and processing engine"
+HOMEPAGE="http://commons.apache.org/jelly/"
+SRC_URI="mirror://apache/jakarta/commons/jelly/source/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/commons-beanutils:1.7
+ dev-java/commons-cli:1
+ dev-java/commons-collections:0
+ dev-java/commons-discovery:0
+ dev-java/commons-jexl:1.0
+ dev-java/commons-lang:0
+ dev-java/commons-logging:0
+ dev-java/dom4j:1
+ dev-java/jakarta-jstl:0
+ dev-java/jaxen:1.1
+ dev-java/junit:0
+ java-virtuals/servlet-api:2.5"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.4"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.4
+ test? ( dev-java/ant-junit:0 )"
+
+S=${WORKDIR}/${MY_P}
+
+java_prepare() {
+ # disables dependency fetching, and remove tests as a dependency of jar
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+EANT_EXTRA_ARGS="-Dlibdir=."
+EANT_GENTOO_CLASSPATH="
+ commons-beanutils-1.7,commons-cli-1,commons-collections,commons-discovery
+ commons-jexl-1.0,commons-lang,commons-logging,dom4j-1,jakarta-jstl
+ jaxen-1.1,junit,servlet-api-2.5"
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar ${PN}.jar
+
+ dodoc NOTICE.txt README.txt RELEASE-NOTES.txt || die
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}