summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-04 20:35:20 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-04 20:35:20 +0000
commit221878c505bd29c5e41a36f9040125223b6d9977 (patch)
treeef600e10d38067b643cb9ce432df51d63f83a60d /dev-java
parentstable on ppc, introduced support for the examples and the source useflag (diff)
downloadhistorical-221878c505bd29c5e41a36f9040125223b6d9977.tar.gz
historical-221878c505bd29c5e41a36f9040125223b6d9977.tar.bz2
historical-221878c505bd29c5e41a36f9040125223b6d9977.zip
stable on amd64, ppc and x86. introduced support for the source useflag
Package-Manager: portage-2.0.51.21
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/dbunit/ChangeLog5
-rw-r--r--dev-java/dbunit/dbunit-2.1.ebuild29
2 files changed, 16 insertions, 18 deletions
diff --git a/dev-java/dbunit/ChangeLog b/dev-java/dbunit/ChangeLog
index 4ebe3322116c..bee2ebef085d 100644
--- a/dev-java/dbunit/ChangeLog
+++ b/dev-java/dbunit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/dbunit
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/ChangeLog,v 1.8 2005/04/15 16:36:54 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/ChangeLog,v 1.9 2005/05/04 20:35:20 luckyduck Exp $
+
+ 04 May 2005; Jan Brinkmann <luckyduck@gentoo.org> dbunit-2.1.ebuild:
+ stable on amd64, ppc and x86. introduced support for the source useflag
15 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> dbunit-2.1.ebuild:
added ~ppc to KEYWORDS
diff --git a/dev-java/dbunit/dbunit-2.1.ebuild b/dev-java/dbunit/dbunit-2.1.ebuild
index 836544bf2968..970bb5411b66 100644
--- a/dev-java/dbunit/dbunit-2.1.ebuild
+++ b/dev-java/dbunit/dbunit-2.1.ebuild
@@ -1,29 +1,31 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/dbunit-2.1.ebuild,v 1.2 2005/04/15 16:36:54 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/dbunit/dbunit-2.1.ebuild,v 1.3 2005/05/04 20:35:20 luckyduck Exp $
inherit java-pkg
DESCRIPTION="DBUnit is a JUnit extension targeted for database-driven projects that, puts your database into a known state between test runs."
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
HOMEPAGE="http://www.dbunit.org"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
+KEYWORDS="x86 amd64 ppc"
+IUSE="doc jikes"
+
DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6
jikes? ( >=dev-java/jikes-1.21 )
- >=dev-java/ant-core-1.6"
+ source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.4
- >=dev-java/crimson-1.1.3
+ =dev-java/crimson-1*
>=dev-db/hsqldb-1.7.2.4
=dev-java/mockmaker-1.12.0*
>=dev-java/mockobjects-0.09
>=dev-java/poi-2.0"
-IUSE="doc jikes"
src_unpack() {
unpack ${A}
-
cd ${S}
cp ${FILESDIR}/build.xml build.xml
@@ -38,20 +40,13 @@ src_unpack() {
src_compile() {
local antflags="jar"
- if use doc; then
- antflags="${antflags} docs"
- fi
- if use jikes; then
- antflags="${antflags} -Dbuild.compiler=jikes"
- fi
+ use doc && antflags="${antflags} docs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "compile failed"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
- dodoc LICENSE.txt
- if use doc; then
- java-pkg_dohtml -r docs/*
- fi
+ use doc && java-pkg_dohtml -r docs/*
}