summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-03-17 13:13:53 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-03-17 13:13:53 +0000
commitfe543c4bb2f8215ed00bb3af362c304f69fa3589 (patch)
tree633373ef11b6b57cac1f41949d5cc5c66343c875 /dev-java/jgroups
parentStable on ppc wrt bug 171063 (diff)
downloadgentoo-2-fe543c4bb2f8215ed00bb3af362c304f69fa3589.tar.gz
gentoo-2-fe543c4bb2f8215ed00bb3af362c304f69fa3589.tar.bz2
gentoo-2-fe543c4bb2f8215ed00bb3af362c304f69fa3589.zip
Switch to java-pkg_dojavadoc, add the source use flag and disable unit tests because a lot of them fail.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-java/jgroups')
-rw-r--r--dev-java/jgroups/ChangeLog9
-rw-r--r--dev-java/jgroups/jgroups-2.2.7-r2.ebuild20
2 files changed, 15 insertions, 14 deletions
diff --git a/dev-java/jgroups/ChangeLog b/dev-java/jgroups/ChangeLog
index 55f5a4f22c58..944208068289 100644
--- a/dev-java/jgroups/ChangeLog
+++ b/dev-java/jgroups/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jgroups
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.14 2006/10/25 03:09:24 nichoj Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.15 2007/03/17 13:13:53 betelgeuse Exp $
+
+ 17 Mar 2007; Petteri Räty <betelgeuse@gentoo.org>
+ jgroups-2.2.7-r2.ebuild:
+ Switch to java-pkg_dojavadoc, add the source use flag and disable unit tests
+ because a lot of them fail.
25 Oct 2006; Joshua Nichols <nichoj@gentoo.org> jgroups-2.2.7-r2.ebuild:
Fixed failure with USE=doc, bug #152281. Cleanups for how it was migrated.
diff --git a/dev-java/jgroups/jgroups-2.2.7-r2.ebuild b/dev-java/jgroups/jgroups-2.2.7-r2.ebuild
index bff5eb249a08..1a06091004de 100644
--- a/dev-java/jgroups/jgroups-2.2.7-r2.ebuild
+++ b/dev-java/jgroups/jgroups-2.2.7-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/jgroups-2.2.7-r2.ebuild,v 1.2 2006/10/25 03:09:24 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/jgroups-2.2.7-r2.ebuild,v 1.3 2007/03/17 13:13:53 betelgeuse Exp $
inherit java-pkg-2 java-ant-2
@@ -22,19 +22,13 @@ DEPEND=">=virtual/jdk-1.4
${RDEPEND}
>=dev-java/ant-core-1.5
app-arch/unzip
- test? ( dev-java/ant )"
+ source? ( app-arch/zip )"
+#test? ( dev-java/ant )
-IUSE="doc source test "
+IUSE="doc source"
S=${WORKDIR}/JGroups-${PV}.src
-pkg_setup() {
- java-pkg-2_pkg_setup
- if use test; then
- ewarn "WARNING: Running unit tests can take a very long time."
- fi
-}
-
src_unpack() {
unpack ${A}
cd ${S}/lib
@@ -59,12 +53,14 @@ src_compile() {
src_install() {
java-pkg_dojar dist/jgroups-core.jar
- dodoc doc/* CREDITS README
+ dodoc doc/* CREDITS README || die
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
}
+RESTRICT="test"
+# A lot of these fail
src_test() {
eant unittests
}