From 38c94bf28df23ad68a0e9a841ae9d0279f84de11 Mon Sep 17 00:00:00 2001
From: Karl Trygve Kalleberg <karltk@gentoo.org>
Date: Mon, 14 Oct 2002 17:46:44 +0000
Subject: New upstream version.

---
 dev-java/junit/ChangeLog                | 11 ++++++-----
 dev-java/junit/files/digest-junit-3.8.1 |  1 +
 dev-java/junit/junit-3.7-r1.ebuild      |  8 +++++++-
 dev-java/junit/junit-3.8.1.ebuild       | 34 +++++++++++++++++++++++++++++++++
 4 files changed, 48 insertions(+), 6 deletions(-)
 create mode 100644 dev-java/junit/files/digest-junit-3.8.1
 create mode 100644 dev-java/junit/junit-3.8.1.ebuild

(limited to 'dev-java/junit')

diff --git a/dev-java/junit/ChangeLog b/dev-java/junit/ChangeLog
index 0392b41cf154..ef175bbc9c14 100644
--- a/dev-java/junit/ChangeLog
+++ b/dev-java/junit/ChangeLog
@@ -1,23 +1,24 @@
 # 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.3 2002/08/01 18:19:29 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/ChangeLog,v 1.4 2002/10/14 17:46:44 karltk Exp $
+
+*junit-3.8.1 (14 Oct 2002)
+
+  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)
 
   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/files/digest-junit-3.8.1 b/dev-java/junit/files/digest-junit-3.8.1
new file mode 100644
index 000000000000..a324b2b56a38
--- /dev/null
+++ b/dev-java/junit/files/digest-junit-3.8.1
@@ -0,0 +1 @@
+MD5 5110326e4b7f7497dfa60ede4b626751 junit3.8.1.zip 441665
diff --git a/dev-java/junit/junit-3.7-r1.ebuild b/dev-java/junit/junit-3.7-r1.ebuild
index 12ef08af62e4..c2132bc9e15b 100644
--- a/dev-java/junit/junit-3.7-r1.ebuild
+++ b/dev-java/junit/junit-3.7-r1.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.7-r1.ebuild,v 1.3 2002/10/04 05:11:15 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.7-r1.ebuild,v 1.4 2002/10/14 17:46:44 karltk Exp $
 
 NP="junit3.7"
 S=${WORKDIR}/${NP}
@@ -15,6 +15,12 @@ KEYWORDS="x86"
 
 src_unpack() {
 	unpack ${NP}.zip
+	cd ${S}
+	unzip src.jar
+}
+
+src_compile() {
+	ant
 }
 
 src_install () {
diff --git a/dev-java/junit/junit-3.8.1.ebuild b/dev-java/junit/junit-3.8.1.ebuild
new file mode 100644
index 000000000000..4854d974f10b
--- /dev/null
+++ b/dev-java/junit/junit-3.8.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/junit/junit-3.8.1.ebuild,v 1.1 2002/10/14 17:46:44 karltk Exp $
+
+NP=${P/-/}
+S=${WORKDIR}/${NP}
+DESCRIPTION="JUnit is a simple framework to write repeatable tests."
+SRC_URI="http://download.sourceforge.net/junit/${NP}.zip"
+HOMEPAGE="http://JUnit.org"
+DEPEND=">=virtual/jdk-1.3"
+RDEPEND="$DEPEND"
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~x86"
+
+src_unpack() {
+	unpack ${A}
+	cd ${S}
+	unzip src.jar
+}
+
+src_compile() {
+	rm junit.jar
+	ant
+}
+
+src_install () {
+	cd ${NP}
+	dojar junit.jar
+	dodir /usr/share/ant/lib
+	dosym /usr/share/junit/lib/junit.jar /usr/share/ant/lib/
+	dohtml -r README.html cpl-v10.html doc  javadoc
+}
+
-- 
cgit v1.2.3-65-gdbad