diff options
Diffstat (limited to 'dev-java/junit')
-rw-r--r-- | dev-java/junit/ChangeLog | 80 | ||||
-rw-r--r-- | dev-java/junit/Manifest | 14 | ||||
-rw-r--r-- | dev-java/junit/junit-3.8.1-r1.ebuild | 32 |
3 files changed, 109 insertions, 17 deletions
diff --git a/dev-java/junit/ChangeLog b/dev-java/junit/ChangeLog index 4c75c5748288..369c4d1090b7 100644 --- a/dev-java/junit/ChangeLog +++ b/dev-java/junit/ChangeLog @@ -1,11 +1,85 @@ # ChangeLog for dev-java/junit -# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.1 2002/02/11 22:29:05 karltk Exp $ +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.1.1.1 2005/11/30 09:47:46 chriswhite Exp $ + + 02 Aug 2005; Petteri Räty <betelgeuse@gentoo.org> junit-3.8.1-r1.ebuild: + The installed source package doesn't include class files any more. + + 09 Jul 2005; Thomas Matthijs <axxo@gentoo.org> junit-3.8.1-r1.ebuild: + fix deps, and source useflag support + + 26 Jan 2005; Markus Rothe <corsair@gentoo.org> junit-3.8.1-r1.ebuild: + Stable on ppc64 + + 18 Dec 2004; Markus Rothe <corsair@gentoo.org> junit-3.8.1-r1.ebuild: + added ~ppc64 to KEYWORDS + + 14 Nov 2004; Thomas Matthijs <axxo@gentoo.org> junit-3.8.1-r1.ebuild: + add doc useflag, and jikes support 70798, patch by Jan Brinkmann + <lucky@the-luckyduck.de + + 29 Oct 2004; Thomas Matthijs <axxo@gentoo.org> junit-3.8.1-r1.ebuild: + remove nomirror + + 16 Oct 2004; Thomas Matthijs <axxo@gentoo.org> junit-3.8.1-r1.ebuild: + use java-pkg_dohtml instead of dohtml to also install the package-list in + case of api docs: #50740 + +*junit-3.8.1-r1 (10 Sep 2004) + + 10 Sep 2004; Thomas Matthijs <axxo@gentoo.org> -files/junit-3.7-build.xml, + +junit-3.8.1-r1.ebuild, -junit-3.8.1.ebuild: + revision bump: ant moved to ant-core + + 19 Jan 2004; Adrian Almenar <strider@gentoo.org> junit-3.8.1.ebuild: + Added amd64 keyword. + + 17 Jan 2004; Adrian Almenar <strider@gentoo.org> junit-3.8.1.ebuild: + Added RESTRICT="nomirror" and updated SRC_URI. + + 03 Oct 2003; Adrian Almenar <strider@gentoo.org> junit-3.8.1.ebuild: + Fixes bug #23707 + +*junit-3.7-r2 (14 Mar 2003) + + 14 Mar 2003; Dylan Carlson <absinthe@gentoo.org> junit-3.7-r2.ebuild, + files/junit-3.7-build.xml: + Fixed ant build problem reported in user forums, and got this process + to compile. Closes #17284. + +*junit-3.8.1 (14 Oct 2002) + + 06 Apr 2003; Dylan Carlson <absinthe@gentoo.org> junit-3.8.1.ebuild: + x86 ppc sparc moved to stable. + + 28 Nov 2002; Adrian Almenar <strider@gentoo.org> junit-3.8.1.ebuild: + Added app-arch/unzip a dependency. Fixes #11229. + Updated ebuild to follow the policy about IUSE="". + Updated Package HOMEPAGE and RDEPEND. + + 29 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> junit-3.8.1.ebuild : + Added dev-java/ant as a dependency. Fixes #9709. + + 14 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> junit-3.8.1.ebuild files/digest-junit-3.8.1 : + New upstream version. + +*junit-3.7-r1 (19 Jul 2002) + + 28 Nov 2002; Adrian Almenar <strider@gentoo.org> junit-3.7-r1.ebuild: + Added app-arch/unzip a dependency. Fixes #11229. + Updated ebuild to follow the policy about IUSE="". + Updated Package HOMEPAGE AND RDEPEND. + + 01 Aug 2002; Karl Trygve Kalleberg <karltk@gentoo.org> junit-3.7-r1.ebuild : + Added KEYWORDS. + + 19 Jul 2002; Karl Trygve Kalleberg <karltk@gentoo.org> junit-3.7-r1.ebuild files/digest-junit-3.7-r1: + Should now work with Ant. + Removed junit-3.7.ebuild files/digest-junit-3.7 *junit-3.7 ( 11 Feb 2002 ) 11 Feb 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ChangeLog junit-3.7.ebuild files/digest-junit-3.7: - JUnit is a simple framework for writing and running automated tests. As a political gesture, it celebrates programmers testing their own software. diff --git a/dev-java/junit/Manifest b/dev-java/junit/Manifest index e69de29bb2d1..f5e7c03fdf05 100644 --- a/dev-java/junit/Manifest +++ b/dev-java/junit/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 685a3592827193703a1502e494911db3 junit-3.8.1-r1.ebuild 1185 +MD5 576b540f752041702b7b9cce164f23c1 ChangeLog 3300 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 bab94fdc8a6c2abf20e0f2cee4849a4e files/digest-junit-3.8.1-r1 59 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC8RZF/rLF9B432nYRAmwLAKCF6qQK2gOVs6vGfyhvsjpQ4wu9CwCgwVUU +5MHKbSX04jyjKKnkalOfZHc= +=F/ah +-----END PGP SIGNATURE----- diff --git a/dev-java/junit/junit-3.8.1-r1.ebuild b/dev-java/junit/junit-3.8.1-r1.ebuild index 13d53ac5ee4a..2660f5618ca2 100644 --- a/dev-java/junit/junit-3.8.1-r1.ebuild +++ b/dev-java/junit/junit-3.8.1-r1.ebuild @@ -1,40 +1,44 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r1.ebuild,v 1.1 2004/09/10 19:49:12 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1-r1.ebuild,v 1.1.1.1 2005/11/30 09:47:46 chriswhite Exp $ inherit java-pkg -NP=${P/-/} -S=${WORKDIR}/${NP} +MY_P=${P/-/} +S=${WORKDIR}/${MY_P} DESCRIPTION="Simple framework to write repeatable tests" -SRC_URI="mirror://sourceforge/${PN}/${NP}.zip" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" HOMEPAGE="http://www.junit.org/" LICENSE="CPL-1.0" SLOT="0" -KEYWORDS="x86 ppc sparc amd64" -IUSE="" +KEYWORDS="x86 ppc sparc amd64 ppc64" +IUSE="doc jikes source" DEPEND=">=virtual/jdk-1.3 + jikes? ( >=dev-java/jikes-1.21 ) + source? ( app-arch/zip ) >=dev-java/ant-core-1.4 >=app-arch/unzip-5.50-r1" -RDEPEND=">=virtual/jdk-1.3" -RESTRICT="nomirror" +RDEPEND=">=virtual/jre-1.3" src_unpack() { unpack ${A} cd ${S} unzip src.jar + rm -f junit.jar } src_compile() { - rm junit.jar - ant || die + local antflags="dist" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "failed to build" } src_install() { - cd ${NP} + use source && java-pkg_dosrc junit + cd ${MY_P} java-pkg_dojar junit.jar dodir /usr/share/ant-core/lib dosym /usr/share/junit/lib/junit.jar /usr/share/ant-core/lib/ - dohtml -A package-list -r README.html cpl-v10.html doc javadoc - cp javadoc/package-list ${D}/usr/share/doc/${PF}/html/javadoc/ + java-pkg_dohtml -r README.html cpl-v10.html || die "failed to install docs" + use doc && java-pkg_dohtml -r doc javadoc } |