summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2008-01-11 02:08:46 +0000
committerVlastimil Babka <caster@gentoo.org>2008-01-11 02:08:46 +0000
commitb00e6eb4aca9dc3c896ff7d2f0cfcbece424338a (patch)
tree4e2001f7cc42a6e832bef63280497a7819c76c3d /dev-java
parentMask sys-devel/distcc-config for removal (bug #192741). (diff)
downloadgentoo-2-b00e6eb4aca9dc3c896ff7d2f0cfcbece424338a.tar.gz
gentoo-2-b00e6eb4aca9dc3c896ff7d2f0cfcbece424338a.tar.bz2
gentoo-2-b00e6eb4aca9dc3c896ff7d2f0cfcbece424338a.zip
Initial commit as junit-4.4 dependency, based on fordfrog's ebuild from java-overlay.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/hamcrest-core/ChangeLog11
-rw-r--r--dev-java/hamcrest-core/Manifest16
-rw-r--r--dev-java/hamcrest-core/files/digest-hamcrest-core-1.13
-rw-r--r--dev-java/hamcrest-core/hamcrest-core-1.1.ebuild48
-rw-r--r--dev-java/hamcrest-core/metadata.xml5
5 files changed, 83 insertions, 0 deletions
diff --git a/dev-java/hamcrest-core/ChangeLog b/dev-java/hamcrest-core/ChangeLog
new file mode 100644
index 000000000000..e45ffcba1999
--- /dev/null
+++ b/dev-java/hamcrest-core/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/hamcrest-core
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/hamcrest-core/ChangeLog,v 1.1 2008/01/11 02:08:46 caster Exp $
+
+*hamcrest-core-1.1 (11 Jan 2008)
+
+ 11 Jan 2008; Vlastimil Babka <caster@gentoo.org> +metadata.xml,
+ +hamcrest-core-1.1.ebuild:
+ Initial commit as junit-4.4 dependency, based on fordfrog's ebuild from
+ java-overlay.
+
diff --git a/dev-java/hamcrest-core/Manifest b/dev-java/hamcrest-core/Manifest
new file mode 100644
index 000000000000..f659821fe849
--- /dev/null
+++ b/dev-java/hamcrest-core/Manifest
@@ -0,0 +1,16 @@
+DIST hamcrest-1.1.tgz 1670123 RMD160 6b1a6a5ca753b965ee1a3260db654c2405498213 SHA1 e7c8511e3702545eb50b38e5aa2c3d887d8393ef SHA256 a76cca2dbb38ac185f51f8551c964a356009c7adf1a19b5407f87352e2e438c8
+EBUILD hamcrest-core-1.1.ebuild 1063 RMD160 cfb3aeef68b307003f3110c043d603f2d1e736e5 SHA1 8d0e137221fbd2a003093db940f2399f3d60b4b1 SHA256 4e5663b4d823c5074eaf059edff569e5865c95714fdecd0e0a2118ac73cae592
+MD5 b2db55778690a9da1e9dbd81ba7557b8 hamcrest-core-1.1.ebuild 1063
+RMD160 cfb3aeef68b307003f3110c043d603f2d1e736e5 hamcrest-core-1.1.ebuild 1063
+SHA256 4e5663b4d823c5074eaf059edff569e5865c95714fdecd0e0a2118ac73cae592 hamcrest-core-1.1.ebuild 1063
+MISC ChangeLog 343 RMD160 99acacde4e7568fe388e509fb3cff13584b54d13 SHA1 7824eed23c3032a3b6ce3bfd6136e3c8e3b973e0 SHA256 9ea48a9f7020186f7297e24159a6513c7f3a0da6f337f0f1fb84e146c8fb0391
+MD5 360a19fcba6c946575ae29162010db81 ChangeLog 343
+RMD160 99acacde4e7568fe388e509fb3cff13584b54d13 ChangeLog 343
+SHA256 9ea48a9f7020186f7297e24159a6513c7f3a0da6f337f0f1fb84e146c8fb0391 ChangeLog 343
+MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
+SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
+MD5 fceb2d831d22bfc921b225246ac36524 files/digest-hamcrest-core-1.1 232
+RMD160 d124894deff0b3cb3dc6ee96a780c6a9f9c2e33e files/digest-hamcrest-core-1.1 232
+SHA256 8339b0be45e19c8021825df2087fa4f0b0cdfeee96dae911527ce31b524d2b13 files/digest-hamcrest-core-1.1 232
diff --git a/dev-java/hamcrest-core/files/digest-hamcrest-core-1.1 b/dev-java/hamcrest-core/files/digest-hamcrest-core-1.1
new file mode 100644
index 000000000000..a661ef3ecc91
--- /dev/null
+++ b/dev-java/hamcrest-core/files/digest-hamcrest-core-1.1
@@ -0,0 +1,3 @@
+MD5 1bd4fd301c1a0dc748082378a59cb281 hamcrest-1.1.tgz 1670123
+RMD160 6b1a6a5ca753b965ee1a3260db654c2405498213 hamcrest-1.1.tgz 1670123
+SHA256 a76cca2dbb38ac185f51f8551c964a356009c7adf1a19b5407f87352e2e438c8 hamcrest-1.1.tgz 1670123
diff --git a/dev-java/hamcrest-core/hamcrest-core-1.1.ebuild b/dev-java/hamcrest-core/hamcrest-core-1.1.ebuild
new file mode 100644
index 000000000000..9f50820dba78
--- /dev/null
+++ b/dev-java/hamcrest-core/hamcrest-core-1.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/hamcrest-core/hamcrest-core-1.1.ebuild,v 1.1 2008/01/11 02:08:46 caster Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="hamcrest"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Library of matchers for building test expressions."
+HOMEPAGE="http://code.google.com/p/${MY_PN}/"
+SRC_URI="http://${MY_PN}.googlecode.com/files/${MY_P}.tgz"
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5
+ >=dev-java/jarjar-0.9
+ =dev-java/qdox-1.6*"
+RDEPEND=">=virtual/jre-1.5"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ find -name "*.jar" -delete || die
+
+ # These jars must be symlinked as specifying them using gentoo.classpath
+ # does not work and both compilation and test fail
+ java-pkg_jar-from --into lib/generator --build-only qdox-1.6 qdox.jar qdox-1.6.1.jar
+}
+
+src_compile() {
+ ANT_TASKS="jarjar-1" eant core -Dversion=${PV}
+}
+
+src_install() {
+ java-pkg_newjar build/${P}.jar
+
+ dodoc README.txt CHANGES.txt || die
+
+ use source && java-pkg_dosrc ${PN}/src/main/java/org
+}
diff --git a/dev-java/hamcrest-core/metadata.xml b/dev-java/hamcrest-core/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/hamcrest-core/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>