summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-07-04 18:40:50 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-07-04 18:40:50 +0000
commit7249347b2a4629e2ee7d425d73cc932f0840bbd7 (patch)
tree34e4e727fcd5a5a210a2dc4d702a8598ce0bf71f /dev-java/jaxen
parentRevision bump to use genpatches-2.6.16-13 (bug #137623, bug #137625 and bug #... (diff)
downloadgentoo-2-7249347b2a4629e2ee7d425d73cc932f0840bbd7.tar.gz
gentoo-2-7249347b2a4629e2ee7d425d73cc932f0840bbd7.tar.bz2
gentoo-2-7249347b2a4629e2ee7d425d73cc932f0840bbd7.zip
Revision bump to support new Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/jaxen')
-rw-r--r--dev-java/jaxen/ChangeLog8
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.02
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.1_beta72
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.1_beta7-r13
-rw-r--r--dev-java/jaxen/jaxen-1.1_beta7-r1.ebuild66
5 files changed, 80 insertions, 1 deletions
diff --git a/dev-java/jaxen/ChangeLog b/dev-java/jaxen/ChangeLog
index 573096f766ed..69ed8b4fed9d 100644
--- a/dev-java/jaxen/ChangeLog
+++ b/dev-java/jaxen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jaxen
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.21 2006/03/11 20:06:09 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.22 2006/07/04 18:40:50 nichoj Exp $
+
+*jaxen-1.1_beta7-r1 (04 Jul 2006)
+
+ 04 Jul 2006; Joshua Nichols <nichoj@gentoo.org>
+ +jaxen-1.1_beta7-r1.ebuild:
+ Revision bump to support new Java system.
11 Mar 2006; Michael Hanselmann <hansmi@gentoo.org>
jaxen-1.1_beta2-r1.ebuild:
diff --git a/dev-java/jaxen/files/digest-jaxen-1.0 b/dev-java/jaxen/files/digest-jaxen-1.0
index e9236c60c789..8346ef88bf96 100644
--- a/dev-java/jaxen/files/digest-jaxen-1.0
+++ b/dev-java/jaxen/files/digest-jaxen-1.0
@@ -1 +1,3 @@
MD5 c0baf972b669579aff40ca7fdb9a90d0 jaxen-1.0-FCS.tar.gz 3195819
+RMD160 896f838c383b6a5d60c4c2fa1271a735992aaa4e jaxen-1.0-FCS.tar.gz 3195819
+SHA256 ceb6997465e9de4efe6b4e8f0c421c12bd115b764f9633b9c8b80b95e3b76377 jaxen-1.0-FCS.tar.gz 3195819
diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta7 b/dev-java/jaxen/files/digest-jaxen-1.1_beta7
index ff16a613fd29..a562287121e5 100644
--- a/dev-java/jaxen/files/digest-jaxen-1.1_beta7
+++ b/dev-java/jaxen/files/digest-jaxen-1.1_beta7
@@ -1 +1,3 @@
MD5 2e90bb426e52984f4dc942427015a757 jaxen-1.1-beta-7-src.tar.gz 274435
+RMD160 269b2503d0ea243e578b49ec64ae1b73e004ea60 jaxen-1.1-beta-7-src.tar.gz 274435
+SHA256 df6ea55b4dc0ce009c6465e52cd762ba3fdc7a36d861ed78a86ea2db0386e3b5 jaxen-1.1-beta-7-src.tar.gz 274435
diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta7-r1 b/dev-java/jaxen/files/digest-jaxen-1.1_beta7-r1
new file mode 100644
index 000000000000..a562287121e5
--- /dev/null
+++ b/dev-java/jaxen/files/digest-jaxen-1.1_beta7-r1
@@ -0,0 +1,3 @@
+MD5 2e90bb426e52984f4dc942427015a757 jaxen-1.1-beta-7-src.tar.gz 274435
+RMD160 269b2503d0ea243e578b49ec64ae1b73e004ea60 jaxen-1.1-beta-7-src.tar.gz 274435
+SHA256 df6ea55b4dc0ce009c6465e52cd762ba3fdc7a36d861ed78a86ea2db0386e3b5 jaxen-1.1-beta-7-src.tar.gz 274435
diff --git a/dev-java/jaxen/jaxen-1.1_beta7-r1.ebuild b/dev-java/jaxen/jaxen-1.1_beta7-r1.ebuild
new file mode 100644
index 000000000000..dc4de8a1c759
--- /dev/null
+++ b/dev-java/jaxen/jaxen-1.1_beta7-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1_beta7-r1.ebuild,v 1.1 2006/07/04 18:40:50 nichoj Exp $
+
+inherit java-pkg-2 eutils java-ant-2
+
+MY_P=${P/_beta/-beta-}
+DESCRIPTION="A Java XPath Engine"
+HOMEPAGE="http://jaxen.org/"
+SRC_URI="http://dist.codehaus.org/${PN}/distributions/${MY_P}-src.tar.gz"
+
+LICENSE="jaxen"
+SLOT="1.1"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc source test"
+
+RDEPEND="|| ( =virtual/jre-1.3* =virtual/jre-1.4* )
+ ~dev-java/jdom-1.0
+ =dev-java/dom4j-1*
+ >=dev-java/xerces-2.6
+ dev-java/xom"
+
+DEPEND="|| ( =virtual/jdk-1.3* =virtual/jdk-1.4* )
+ dev-java/ant-core
+ test? ( dev-java/ant-tasks )
+ source? ( app-arch/zip )
+ ${RDEPEND}"
+
+
+S=${WORKDIR}/${MY_P}
+
+ant_src_unpack() {
+ unpack ${A}
+
+ mkdir -p ${S}/target/lib
+ cd ${S}/target/lib
+ java-pkg_jar-from xerces-2
+ java-pkg_jar-from dom4j-1
+ java-pkg_jar-from jdom-1.0
+ java-pkg_jar-from xom
+
+ cd ${S}
+ # Make tests non-compuslatory
+ sed -i 's/depends="compile,test"/depends="compile"/' build.xml
+}
+
+src_compile() {
+ eant jar -Dnoget=1 $(use_doc)
+}
+
+src_install() {
+ java-pkg_newjar target/${MY_P}-SNAPSHOT.jar ${PN}.jar
+
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/java/main/*
+}
+
+src_test() {
+ if ! use test; then
+ ewarn "You must be using the 'test' USE flag in order to"
+ ewarn "get the dependencies to run tests."
+ ewarn "Skipping tests..."
+ else
+ eant test -Dnoget=true
+ fi
+}