summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-05-18 12:06:12 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-05-18 12:06:12 +0000
commit86965c6fcd5f53490eeb540728edba5d85e85d4d (patch)
treef2376f50e746ebbe93cd0af1dc46d04045165bb2 /dev-java/mockobjects
parentVersion bump. This release includes monitor mode and hardware-based crypto su... (diff)
downloadgentoo-2-86965c6fcd5f53490eeb540728edba5d85e85d4d.tar.gz
gentoo-2-86965c6fcd5f53490eeb540728edba5d85e85d4d.tar.bz2
gentoo-2-86965c6fcd5f53490eeb540728edba5d85e85d4d.zip
fixes 92888, versioned jar, thanks too Josh Nichols <nichoj@alum.rpi.edu>
Diffstat (limited to 'dev-java/mockobjects')
-rw-r--r--dev-java/mockobjects/ChangeLog8
-rw-r--r--dev-java/mockobjects/Manifest12
-rw-r--r--dev-java/mockobjects/files/digest-mockobjects-0.09-r11
-rw-r--r--dev-java/mockobjects/mockobjects-0.09-r1.ebuild54
4 files changed, 64 insertions, 11 deletions
diff --git a/dev-java/mockobjects/ChangeLog b/dev-java/mockobjects/ChangeLog
index 78f2404eaa8a..de1dfdfa5b59 100644
--- a/dev-java/mockobjects/ChangeLog
+++ b/dev-java/mockobjects/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/mockobjects
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mockobjects/ChangeLog,v 1.11 2005/05/04 20:10:39 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mockobjects/ChangeLog,v 1.12 2005/05/18 12:06:12 axxo Exp $
+
+*mockobjects-0.09-r1 (18 May 2005)
+
+ 18 May 2005; Thomas Matthijs <axxo@gentoo.org>
+ +mockobjects-0.09-r1.ebuild:
+ fixes 92888, versioned jar, thanks too Josh Nichols <nichoj@alum.rpi.edu>
04 May 2005; Jan Brinkmann <luckyduck@gentoo.org> mockobjects-0.09.ebuild:
stable on ppc
diff --git a/dev-java/mockobjects/Manifest b/dev-java/mockobjects/Manifest
index 9ca9791e7e7a..b20035aa5a2a 100644
--- a/dev-java/mockobjects/Manifest
+++ b/dev-java/mockobjects/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 59311d0104d0dd603280e3604cc9ef6b mockobjects-0.09-r1.ebuild 1481
MD5 e23f2bd5bdbe0c0b707543b961edc9a8 mockobjects-0.09.ebuild 1317
MD5 1383a1100900393caec0fc4faddf404c ChangeLog 1349
MD5 36090122a8b5609d65e32b1f47333b61 metadata.xml 1548
MD5 c83c1a17a4d055ee848accd6747b9094 files/digest-mockobjects-0.09 80
MD5 02a51d54e27c62cdc252e29f1c3e4579 files/mockobjects-0.09-gentoo.patch 1428
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCeSxV06ebR+OMO78RAsEKAJ9VeldhcV1ZFrv8pUQfSoyKgyUiAwCfR/q1
-G8zAoOYuFhfV9n1CWxC0y/c=
-=+LN2
------END PGP SIGNATURE-----
+MD5 c83c1a17a4d055ee848accd6747b9094 files/digest-mockobjects-0.09-r1 80
diff --git a/dev-java/mockobjects/files/digest-mockobjects-0.09-r1 b/dev-java/mockobjects/files/digest-mockobjects-0.09-r1
new file mode 100644
index 000000000000..685fa5f49337
--- /dev/null
+++ b/dev-java/mockobjects/files/digest-mockobjects-0.09-r1
@@ -0,0 +1 @@
+MD5 7303d44625729f914c7b93296ba72d9d mockobjects-java-0.09-gentoo.tar.bz2 98965
diff --git a/dev-java/mockobjects/mockobjects-0.09-r1.ebuild b/dev-java/mockobjects/mockobjects-0.09-r1.ebuild
new file mode 100644
index 000000000000..531e16c7d8f4
--- /dev/null
+++ b/dev-java/mockobjects/mockobjects-0.09-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mockobjects/mockobjects-0.09-r1.ebuild,v 1.1 2005/05/18 12:06:12 axxo Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Test-first development process for building object-oriented software"
+HOMEPAGE="http://mockobjects.sf.net"
+SRC_URI="http://dev.gentoo.org/~karltk/java/distfiles/mockobjects-java-${PV}-gentoo.tar.bz2"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc jikes junit source"
+
+DEPEND=">=virtual/jdk-1.4
+ junit? ( =dev-java/junit-3.8* )
+ jikes? ( >=dev-java/jikes-1.21 )
+ source? ( app-arch/zip )
+ >=dev-java/ant-core-1.6.2"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/mockobjects-java-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gentoo.patch
+
+ if use junit; then
+ cd lib
+ java-pkg_jar-from junit
+ fi
+ mkdir -p out/jdk/classes
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use junit && antflags="${antflags} junit"
+ ant ${antflags} || die "ant build failed"
+}
+
+src_install() {
+ java-pkg_newjar out/${PN}-alt-jdk1.4-${PV}.jar ${PN}-alt-jdk1.4.jar
+ java-pkg_newjar out/${PN}-jdk1.4-${PV}.jar ${PN}-jdk1.4.jar
+ java-pkg_newjar out/${PN}-core-${PV}.jar ${PN}-core.jar
+ dodoc doc/README
+
+ use doc && java-pkg_dohtml -r out/doc/javadoc/*
+ use source && java-pkg_dosrc ${S}/src/*
+}