Revision bump, moved ebuild from overlay.
authorWilliam Thomson <wltjr@gentoo.org>
Wed, 15 Nov 2006 03:46:13 +0000 (03:46 +0000)
committerWilliam Thomson <wltjr@gentoo.org>
Wed, 15 Nov 2006 03:46:13 +0000 (03:46 +0000)
Package-Manager: portage-2.1.2_rc1-r6

dev-java/junit/ChangeLog
dev-java/junit/files/digest-junit-3.8.2 [new file with mode: 0644]
dev-java/junit/junit-3.8.2.ebuild [new file with mode: 0644]

index eb41c666225963a319dcf9efb5c2b91e96ca2391..d39e3eeeec04fe14c86449a8bb5fbbeee85a3f63 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/junit
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.26 2006/10/05 17:58:33 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.27 2006/11/15 03:46:13 wltjr Exp $
+
+*junit-3.8.2 (15 Nov 2006)
+
+  15 Nov 2006; William L. Thomson Jr. <wltjr@gentoo.org>
+  +junit-3.8.2.ebuild:
+  Revision bump, moved ebuild from overlay.
 
   05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> junit-3.8.1-r1.ebuild,
   junit-3.8.1-r3.ebuild:
diff --git a/dev-java/junit/files/digest-junit-3.8.2 b/dev-java/junit/files/digest-junit-3.8.2
new file mode 100644 (file)
index 0000000..7e3137b
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 9b8963ba2147a64bd5f1574b6fd289cb junit3.8.2.zip 461426
+RMD160 c66d64d8aa738460490e62fd332c112076d9b662 junit3.8.2.zip 461426
+SHA256 aae23d20e6f4dc45b4bf0b10fedcbd209c100342a0cafce1aa07d2da6da1f24a junit3.8.2.zip 461426
diff --git a/dev-java/junit/junit-3.8.2.ebuild b/dev-java/junit/junit-3.8.2.ebuild
new file mode 100644 (file)
index 0000000..aa38d9a
--- /dev/null
@@ -0,0 +1,42 @@
+# 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.2.ebuild,v 1.1 2006/11/15 03:46:13 wltjr Exp $
+
+inherit java-pkg-2 java-ant-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="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+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
+       cp ${FILESDIR}/${P}-build.xml ${S}/build.xml
+}
+
+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
+}