diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-07-12 12:19:16 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-07-12 12:19:16 +0000 |
commit | 0633bd81272e0740bce1ee7008dee3d46412e2ca (patch) | |
tree | 9401ca6bf1f19971437265810728faa06ac3592f /dev-java/junit/junit-4.12.ebuild | |
parent | Initial commit. (diff) | |
download | gentoo-2-0633bd81272e0740bce1ee7008dee3d46412e2ca.tar.gz gentoo-2-0633bd81272e0740bce1ee7008dee3d46412e2ca.tar.bz2 gentoo-2-0633bd81272e0740bce1ee7008dee3d46412e2ca.zip |
Remove 'test' target dependency from 'package' target so that jar file gets created even with tests off. Fix bug 554584.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/junit/junit-4.12.ebuild')
-rw-r--r-- | dev-java/junit/junit-4.12.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-java/junit/junit-4.12.ebuild b/dev-java/junit/junit-4.12.ebuild index 8420690f7f2b..cbadbe9003ef 100644 --- a/dev-java/junit/junit-4.12.ebuild +++ b/dev-java/junit/junit-4.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.12.ebuild,v 1.1 2015/07/10 12:48:21 monsieurp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-4.12.ebuild,v 1.2 2015/07/12 12:19:16 monsieurp Exp $ EAPI="5" @@ -40,20 +40,20 @@ java_prepare() { java-pkg_jar-from --into lib hamcrest-core-1.3 hamcrest-core.jar } -EANT_BUILD_TARGET="compile" +EANT_BUILD_TARGET="package" src_compile() { java-pkg-2_src_compile } -EANT_TEST_TARGET="package" +EANT_TEST_TARGET="test" src_test() { java-pkg-2_src_test } src_install() { - java-pkg_newjar target/${P}.jar + java-pkg_newjar target/${P}.jar junit.jar dodoc doc/ReleaseNotes${PV}.md if use examples; then |