diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-21 01:57:02 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-21 01:57:02 +0000 |
commit | b6c9ca8cff1a496b3fd01473ec0fd18e507a260f (patch) | |
tree | ff5c1f4cc7c31d4c2d0fb6001b5405f0344c3afe /dev-java/junit | |
parent | 0.9.8.1 version bump. (diff) | |
download | gentoo-2-b6c9ca8cff1a496b3fd01473ec0fd18e507a260f.tar.gz gentoo-2-b6c9ca8cff1a496b3fd01473ec0fd18e507a260f.tar.bz2 gentoo-2-b6c9ca8cff1a496b3fd01473ec0fd18e507a260f.zip |
Revision bump to use new Java system.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-java/junit')
-rw-r--r-- | dev-java/junit/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/junit/files/digest-junit-3.8.1-r1 | 2 | ||||
-rw-r--r-- | dev-java/junit/files/digest-junit-3.8.1-r2 | 3 | ||||
-rw-r--r-- | dev-java/junit/junit-3.8.1-r2.ebuild | 41 |
4 files changed, 53 insertions, 2 deletions
diff --git a/dev-java/junit/ChangeLog b/dev-java/junit/ChangeLog index 0237c52fd528..bbae9685dfba 100644 --- a/dev-java/junit/ChangeLog +++ b/dev-java/junit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/junit -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.21 2005/08/02 20:55:58 betelgeuse Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.22 2006/07/21 01:57:02 nichoj Exp $ + +*junit-3.8.1-r2 (21 Jul 2006) + + 21 Jul 2006; Joshua Nichols <jnichols@gentoo.org> +junit-3.8.1-r2.ebuild: + Revision bump to use new Java system. 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. diff --git a/dev-java/junit/files/digest-junit-3.8.1-r1 b/dev-java/junit/files/digest-junit-3.8.1-r1 index a324b2b56a38..973034ec1d10 100644 --- a/dev-java/junit/files/digest-junit-3.8.1-r1 +++ b/dev-java/junit/files/digest-junit-3.8.1-r1 @@ -1 +1,3 @@ MD5 5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip 441665 +RMD160 d9f63f651dd0954ffca8975a8bcf2e53c6b14574 junit3.8.1.zip 441665 +SHA256 884953028bc3d2d554f99b5f627a84d7f92a42754560c63829b0ab732ff9bab8 junit3.8.1.zip 441665 diff --git a/dev-java/junit/files/digest-junit-3.8.1-r2 b/dev-java/junit/files/digest-junit-3.8.1-r2 new file mode 100644 index 000000000000..973034ec1d10 --- /dev/null +++ b/dev-java/junit/files/digest-junit-3.8.1-r2 @@ -0,0 +1,3 @@ +MD5 5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip 441665 +RMD160 d9f63f651dd0954ffca8975a8bcf2e53c6b14574 junit3.8.1.zip 441665 +SHA256 884953028bc3d2d554f99b5f627a84d7f92a42754560c63829b0ab732ff9bab8 junit3.8.1.zip 441665 diff --git a/dev-java/junit/junit-3.8.1-r2.ebuild b/dev-java/junit/junit-3.8.1-r2.ebuild new file mode 100644 index 000000000000..ce6e91da476d --- /dev/null +++ b/dev-java/junit/junit-3.8.1-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/07/21 01:57:02 nichoj Exp $ + +inherit java-pkg-2 + +MY_P=${P/-/} +S=${WORKDIR}/${MY_P} +DESCRIPTION="Simple framework to write repeatable tests" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" +HOMEPAGE="http://www.junit.org/" +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64" +IUSE="doc source" +DEPEND=">=virtual/jdk-1.3 + source? ( app-arch/zip ) + >=dev-java/ant-core-1.4 + >=app-arch/unzip-5.50-r1" +RDEPEND=">=virtual/jre-1.3" + +src_unpack() { + unpack ${A} + cd ${S} + unzip src.jar || die + rm -f junit.jar +} + +src_compile() { + eant dist +} + +src_install() { + 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/ + java-pkg_dohtml -r README.html cpl-v10.html + use doc && java-pkg_dohtml -r doc javadoc +} |