summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-06-18 13:55:49 +0000
committerVlastimil Babka <caster@gentoo.org>2007-06-18 13:55:49 +0000
commita7acc7160a1578fdc7934d44e9dcf46624e9f0f3 (patch)
tree303792da4c7d4ccbf76748a1954f04f19548d1b3 /dev-java/jscience
parent--with-docdir -> --docdir (diff)
downloadgentoo-2-a7acc7160a1578fdc7934d44e9dcf46624e9f0f3.tar.gz
gentoo-2-a7acc7160a1578fdc7934d44e9dcf46624e9f0f3.tar.bz2
gentoo-2-a7acc7160a1578fdc7934d44e9dcf46624e9f0f3.zip
Add src_test
(Portage version: 2.1.3_rc4)
Diffstat (limited to 'dev-java/jscience')
-rw-r--r--dev-java/jscience/ChangeLog5
-rw-r--r--dev-java/jscience/jscience-1.0.4-r1.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-java/jscience/ChangeLog b/dev-java/jscience/ChangeLog
index 9758667e9c1c..bfee2ff0c8b1 100644
--- a/dev-java/jscience/ChangeLog
+++ b/dev-java/jscience/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jscience
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/ChangeLog,v 1.9 2007/06/05 21:40:05 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/ChangeLog,v 1.10 2007/06/18 13:55:49 caster Exp $
+
+ 18 Jun 2007; Vlastimil Babka <caster@gentoo.org> jscience-1.0.4-r1.ebuild:
+ Add src_test
05 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> -jscience-1.0.4.ebuild:
Remove generation 1 ebuild.
diff --git a/dev-java/jscience/jscience-1.0.4-r1.ebuild b/dev-java/jscience/jscience-1.0.4-r1.ebuild
index f676b862a573..868dc484f58c 100644
--- a/dev-java/jscience/jscience-1.0.4-r1.ebuild
+++ b/dev-java/jscience/jscience-1.0.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/jscience-1.0.4-r1.ebuild,v 1.3 2007/06/01 06:30:13 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jscience/jscience-1.0.4-r1.ebuild,v 1.4 2007/06/18 13:55:49 caster Exp $
JAVA_PKG_IUSE="doc source"
@@ -33,6 +33,11 @@ src_unpack() {
EANT_BUILD_TARGET="jarfile"
+src_test() {
+ # this works here as javolution is in lib/ and referenced in jar's manifest
+ java -jar jscience.jar test || die "test failed"
+}
+
src_install() {
java-pkg_dojar jscience.jar