summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-27 18:01:37 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-27 18:01:37 +0000
commitc31fc244751ddeee3e8c1e6e0699e9542c74124f (patch)
treeaa2531aeb1180648db36cfb3087e139600191ef6 /dev-java/commons-primitives
parentmoved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336.... (diff)
downloadgentoo-2-c31fc244751ddeee3e8c1e6e0699e9542c74124f.tar.gz
gentoo-2-c31fc244751ddeee3e8c1e6e0699e9542c74124f.tar.bz2
gentoo-2-c31fc244751ddeee3e8c1e6e0699e9542c74124f.zip
disabled junit tests as they are horrible broken, introduced support for the source useflag.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/commons-primitives')
-rw-r--r--dev-java/commons-primitives/ChangeLog7
-rw-r--r--dev-java/commons-primitives/Manifest2
-rw-r--r--dev-java/commons-primitives/commons-primitives-1.0.ebuild17
3 files changed, 12 insertions, 14 deletions
diff --git a/dev-java/commons-primitives/ChangeLog b/dev-java/commons-primitives/ChangeLog
index db919cc584f6..d86f30b41f37 100644
--- a/dev-java/commons-primitives/ChangeLog
+++ b/dev-java/commons-primitives/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/commons-primitives
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-primitives/ChangeLog,v 1.8 2005/01/01 18:19:34 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-primitives/ChangeLog,v 1.9 2005/03/27 18:01:37 luckyduck Exp $
+
+ 27 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ commons-primitives-1.0.ebuild:
+ disabled junit tests as they are horrible broken, introduced support for the
+ source useflag.
19 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
commons-primitives-1.0.ebuild:
diff --git a/dev-java/commons-primitives/Manifest b/dev-java/commons-primitives/Manifest
index a3a9257acaff..6cdedb5ca06a 100644
--- a/dev-java/commons-primitives/Manifest
+++ b/dev-java/commons-primitives/Manifest
@@ -1,4 +1,4 @@
+MD5 64adbdf1ddf8136b28cd088ebe76c550 commons-primitives-1.0.ebuild 930
MD5 588bf95f62fb1db0862151f1df459572 ChangeLog 799
-MD5 4fc77a0c42afe8e02ffc89901e4142ad commons-primitives-1.0.ebuild 1112
MD5 0310767b2ff676820a832934e4121aef metadata.xml 510
MD5 fc86ad5bce5744c5bb8b9e3f61f702d6 files/digest-commons-primitives-1.0 78
diff --git a/dev-java/commons-primitives/commons-primitives-1.0.ebuild b/dev-java/commons-primitives/commons-primitives-1.0.ebuild
index 45a6c1bf8c0c..738159002a31 100644
--- a/dev-java/commons-primitives/commons-primitives-1.0.ebuild
+++ b/dev-java/commons-primitives/commons-primitives-1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-primitives/commons-primitives-1.0.ebuild,v 1.6 2005/01/01 18:19:34 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-primitives/commons-primitives-1.0.ebuild,v 1.7 2005/03/27 18:01:37 luckyduck Exp $
inherit java-pkg
@@ -9,25 +9,17 @@ HOMEPAGE="http://jakarta.apache.org/commons/primitives/"
SRC_URI="mirror://apache/jakarta/commons/primitives/source/${PN}-${PV}-src.tar.gz"
DEPEND=">=virtual/jdk-1.3
>=dev-java/ant-1.4
- jikes? ( dev-java/jikes )
- junit? ( >=dev-java/junit-3.7 )"
+ jikes? ( dev-java/jikes )"
RDEPEND=">=virtual/jdk-1.3"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="x86 ~amd64"
-IUSE="doc jikes junit"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- echo "junit.jar=`java-config -p junit`" >> build.properties
-}
+IUSE="doc jikes source"
src_compile() {
local antflags="compile"
- use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
- use junit && antflags="${antflags} test"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} jar || die "compile problem"
}
@@ -35,4 +27,5 @@ src_install() {
java-pkg_dojar target/${PN}-${PV}.jar
use doc && java-pkg_dohtml -r target/docs/api/*
+ use source && java-pkg_dosrc src/java/*
}