summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-01-12 19:43:10 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-01-12 19:43:10 +0000
commitbb936f761868cfa78cdb2cf635ce666f66d4a5f9 (patch)
treecf74891022762a4757985e097313ebd9e4dff690 /dev-java/dbunit
parentAdd one missed patch for the eclasses. Affect only live stuff so no breakage ... (diff)
downloadhistorical-bb936f761868cfa78cdb2cf635ce666f66d4a5f9.tar.gz
historical-bb936f761868cfa78cdb2cf635ce666f66d4a5f9.tar.bz2
historical-bb936f761868cfa78cdb2cf635ce666f66d4a5f9.zip
Version bump. Fixes bug #250411. Thanks to Mike Weissman <mike@weisso.com>.
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.28-gentoo i686
Diffstat (limited to 'dev-java/dbunit')
-rw-r--r--dev-java/dbunit/ChangeLog11
-rw-r--r--dev-java/dbunit/Manifest15
-rw-r--r--dev-java/dbunit/dbunit-2.4.1.ebuild51
-rw-r--r--dev-java/dbunit/files/build-2.4.xml60
4 files changed, 134 insertions, 3 deletions
diff --git a/dev-java/dbunit/ChangeLog b/dev-java/dbunit/ChangeLog
index e40000d917c9..65514609ef32 100644
--- a/dev-java/dbunit/ChangeLog
+++ b/dev-java/dbunit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/dbunit
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/ChangeLog,v 1.17 2008/10/22 11:46:03 fordfrog Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/ChangeLog,v 1.18 2009/01/12 19:43:10 betelgeuse Exp $
+
+*dbunit-2.4.1 (12 Jan 2009)
+
+ 12 Jan 2009; Petteri Räty <betelgeuse@gentoo.org> +files/build-2.4.xml,
+ +dbunit-2.4.1.ebuild:
+ Version bump. Fixes bug #250411. Thanks to Mike Weissman
+ <mike@weisso.com>.
22 Oct 2008; Miroslav Šulc <fordfrog@gentoo.org> dbunit-2.2.ebuild:
Migrated to EAPI-1 and restricted to dev-java/poi:0 because of
diff --git a/dev-java/dbunit/Manifest b/dev-java/dbunit/Manifest
index f96af34b51bc..98ad1cc3da0f 100644
--- a/dev-java/dbunit/Manifest
+++ b/dev-java/dbunit/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX build-2.4.xml 1560 RMD160 c827e1f57010fcb348d6a6128cd1335451910250 SHA1 0e2761ae8338147ba002290198923ce3874884a3 SHA256 4491151fc696eddfff6b5036a4e70f4bd2de12ceb29de5bbe456a15add48f00c
AUX build.xml 1446 RMD160 92b86bc6ad09d450b9e49bebc8f9e37c2461db56 SHA1 fc1e764f2da34feb4a2d5a35231f07603206b0b5 SHA256 6a82e56811feb099fc8882b28cfeaa9dfb6fda31a14f3a0495fdca2838a02eb6
DIST dbunit-2.2-src.tar.gz 577489 RMD160 f6fa289ca4e008561d8dcaa11f4707ba7a7cb4ec SHA1 eb309d730958a935a3b2ae4cab02b280156f01c4 SHA256 669eb5738930c0b6ab2c4e502f8441e663b1b6825e4ebc1df64994a523f3de47
+DIST dbunit-2.4.1-sources.jar 486115 RMD160 63186b071d58ab54b158a1a6b470de1ebcf595a2 SHA1 ffff31fa57725eea2e371f365b07ec0b730ec2f8 SHA256 2c7dc2e2c37d8ce6bdfe20a5bfe69b5d0f34747c574498ba25a3c2ccdfcff1c6
EBUILD dbunit-2.2.ebuild 1229 RMD160 e7484afd858cbcec7286f0fe97c77e9ee9b70775 SHA1 26dba14ee8e9bbee683919089335f56b7cd9b89b SHA256 a2bd9992ea6a50b5fe5e130e7b64e1286fd6b3cd7222d81868c3f6707090d4b5
-MISC ChangeLog 1788 RMD160 a05af5dddfc8421eb8631edb7be7dbb7e7761987 SHA1 4d0be02c7310aae7222359c085bbc50dd2c8d992 SHA256 d192d33973ad2d759f82e1e41bb041d7f770444e7761e48bcc7688087ffaadc8
+EBUILD dbunit-2.4.1.ebuild 1318 RMD160 e333edabe3eace4df742fdf30a74077d249f0a4a SHA1 b28708d761dda2feec0c9b6e2ac4f2afd246350a SHA256 56fcd7459a7595ea3cd8dc59d93eaa23a383440c54227e016339146bb514a05b
+MISC ChangeLog 1999 RMD160 1945dec180f0b87c3d5bf32e91b0b0a3cc76c5c6 SHA1 38465496bdb4d6bb1affc9354c3480f67e115078 SHA256 a75a8fbc44002a070c92109ff131c14370ed92f103b72ba97a7061e69bd65a10
MISC metadata.xml 330 RMD160 236fe508e7821165ed5cf910c5663b4fabdaee39 SHA1 23bf4b6642177c65e7872c8c8d94b4046c00d4a9 SHA256 a167b88e34441478573f9c27cf762e93eeee9a7d6f80447bf03106c2b6b1a444
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAklrnWUACgkQcxLzpIGCsLS1/gCdHXMsb7cDxQmzjBi6S1MDa8GA
+fTUAnRcMwiSkTc3Xs0zSjecJtKQidWfR
+=y8xK
+-----END PGP SIGNATURE-----
diff --git a/dev-java/dbunit/dbunit-2.4.1.ebuild b/dev-java/dbunit/dbunit-2.4.1.ebuild
new file mode 100644
index 000000000000..45b74eb6bab4
--- /dev/null
+++ b/dev-java/dbunit/dbunit-2.4.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/dbunit-2.4.1.ebuild,v 1.1 2009/01/12 19:43:10 betelgeuse Exp $
+
+EAPI="2"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="DbUnit is a JUnit extension targeted for database-driven projects"
+HOMEPAGE="http://dbunit.sourceforge.net/"
+SRC_URI="http://internap.dl.sourceforge.net/sourceforge/dbunit/${P}-sources.jar"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+
+COMMON_DEP="dev-java/slf4j-api
+ dev-java/poi:3.2
+ dev-java/commons-collections:0
+ dev-java/ant-core
+ dev-java/junit"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/slf4j-nop
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+#instead of making a folder
+S="${WORKDIR}"
+
+src_prepare(){
+ #Upstream no longer provides a build file.
+ cp -v "${FILESDIR}"/build-2.4.xml "${S}/build.xml" || die
+}
+
+EANT_GENTOO_CLASSPATH="poi-3.2,junit,slf4j-api,commons-collections,ant-core"
+
+src_install() {
+ #slf4j needed for runtime
+ java-pkg_register-optional-dependency slf4j-nop
+ java-pkg_register-optional-dependency slf4j-log4j12
+ java-pkg_dojar "${S}"/dist/"${PN}.jar"
+ use doc && java-pkg_dojavadoc build/javadoc
+ use source && java-pkg_dosrc org
+}
+
diff --git a/dev-java/dbunit/files/build-2.4.xml b/dev-java/dbunit/files/build-2.4.xml
new file mode 100644
index 000000000000..2522f9886525
--- /dev/null
+++ b/dev-java/dbunit/files/build-2.4.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+
+<project name="dbunit" default="jar" basedir=".">
+ <!-- some properties -->
+ <property name="src.dir" value="org/dbunit" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="lib.dir" value="lib"/>
+ <property name="dist.dir" value="dist" />
+ <property name="jarfile" value="${dist.dir}/dbunit.jar" />
+ <property name="pkg" value="${package.name}"/>
+ <property name="target.jdk" value="1.5" />
+
+
+ <available file="${lib}" type="dir" property="libdir.exists"/>
+
+
+ <!-- init -->
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}"
+ classpath="${gentoo.classpath}">
+ </javac>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames="org.*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+
+</project>