summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-02-13 22:00:43 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-02-13 22:00:43 +0000
commit1913491eb2a109289118dd50e0101b79a7ef4751 (patch)
treea0153ce3a1a6d9f0926b1d9a583098ab476af326 /dev-java/commons-dbutils
parentVersion bump. Removed old ebuilds. Fix variable quoting. (diff)
downloadgentoo-2-1913491eb2a109289118dd50e0101b79a7ef4751.tar.gz
gentoo-2-1913491eb2a109289118dd50e0101b79a7ef4751.tar.bz2
gentoo-2-1913491eb2a109289118dd50e0101b79a7ef4751.zip
Version bump.
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-java/commons-dbutils')
-rw-r--r--dev-java/commons-dbutils/ChangeLog8
-rw-r--r--dev-java/commons-dbutils/commons-dbutils-1.1.ebuild31
-rw-r--r--dev-java/commons-dbutils/files/1.1-tests.patch12
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-java/commons-dbutils/ChangeLog b/dev-java/commons-dbutils/ChangeLog
index 4182f09d6396..36098efe9440 100644
--- a/dev-java/commons-dbutils/ChangeLog
+++ b/dev-java/commons-dbutils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-dbutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbutils/ChangeLog,v 1.2 2008/01/10 23:09:29 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbutils/ChangeLog,v 1.3 2008/02/13 22:00:42 betelgeuse Exp $
+
+*commons-dbutils-1.1 (13 Feb 2008)
+
+ 13 Feb 2008; Petteri Räty <betelgeuse@gentoo.org> +files/1.1-tests.patch,
+ +commons-dbutils-1.1.ebuild:
+ Version bump.
10 Jan 2008; Vlastimil Babka <caster@gentoo.org>
commons-dbutils-1.0.ebuild:
diff --git a/dev-java/commons-dbutils/commons-dbutils-1.1.ebuild b/dev-java/commons-dbutils/commons-dbutils-1.1.ebuild
new file mode 100644
index 000000000000..35b28f32c004
--- /dev/null
+++ b/dev-java/commons-dbutils/commons-dbutils-1.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-dbutils/commons-dbutils-1.1.ebuild,v 1.1 2008/02/13 22:00:42 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit base java-pkg-2 java-ant-2
+
+DESCRIPTION="Jakarta components: small set of classes designed to make working with JDBC easier"
+HOMEPAGE="http://commons.apache.org/dbutils/"
+SRC_URI="mirror://apache/commons/dbutils/source/${P}-src.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( dev-java/ant-junit )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${P}-src"
+
+PATCHES="${FILESDIR}/1.1-tests.patch"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+
+src_install() {
+ java-pkg_newjar target/${PN}-1.1.jar
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-dbutils/files/1.1-tests.patch b/dev-java/commons-dbutils/files/1.1-tests.patch
new file mode 100644
index 000000000000..a2036d4180e1
--- /dev/null
+++ b/dev-java/commons-dbutils/files/1.1-tests.patch
@@ -0,0 +1,12 @@
+diff -ur commons-dbutils-1.1-src.old/build.xml commons-dbutils-1.1-src/build.xml
+--- commons-dbutils-1.1-src.old/build.xml 2008-02-13 22:18:49.000000000 +0200
++++ commons-dbutils-1.1-src/build.xml 2008-02-13 22:18:59.000000000 +0200
+@@ -62,7 +62,7 @@
+ </classpath>
+ </javac>
+ </target>
+- <target name="jar" description="o Create the jar" depends="compile,test">
++ <target name="jar" description="o Create the jar" depends="compile">
+ <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+ </jar>
+ </target>