summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-01 12:22:41 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-01 12:22:41 +0000
commit71f873d461cec0993586f8e55ac29579901efef2 (patch)
tree97b10a3b912fb1354dc956889b7888108384f010
parentStable on alpha wrt security bug #138552 (diff)
downloadgentoo-2-71f873d461cec0993586f8e55ac29579901efef2.tar.gz
gentoo-2-71f873d461cec0993586f8e55ac29579901efef2.tar.bz2
gentoo-2-71f873d461cec0993586f8e55ac29579901efef2.zip
Revision bump to support new Java system by Caster <cast3r@seznam.cz>. Also includes source useflag, and added what would be needed to run the unit tests. They are currently disabled though, because they don\'t pass when using a vanilla build.xml outside of emerge
(Portage version: 2.1.1_pre4)
-rw-r--r--dev-java/picocontainer/ChangeLog11
-rw-r--r--dev-java/picocontainer/files/digest-picocontainer-1.12
-rw-r--r--dev-java/picocontainer/files/digest-picocontainer-1.1-r13
-rw-r--r--dev-java/picocontainer/picocontainer-1.1-r1.ebuild52
4 files changed, 67 insertions, 1 deletions
diff --git a/dev-java/picocontainer/ChangeLog b/dev-java/picocontainer/ChangeLog
index 5e9f3ac663e6..4513846ddfa4 100644
--- a/dev-java/picocontainer/ChangeLog
+++ b/dev-java/picocontainer/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/picocontainer
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/picocontainer/ChangeLog,v 1.18 2006/05/29 17:29:33 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/picocontainer/ChangeLog,v 1.19 2006/08/01 12:22:41 nichoj Exp $
+
+*picocontainer-1.1-r1 (01 Aug 2006)
+
+ 01 Aug 2006; Joshua Nichols <nichoj@gentoo.org>
+ +picocontainer-1.1-r1.ebuild:
+ Revision bump to support new Java system by Caster <cast3r@seznam.cz>. Also
+ includes source useflag, and added what would be needed to run the unit
+ tests. They are currently disabled though, because they don't pass when
+ using a vanilla build.xml outside of emerge
29 May 2006; Simon Stelling <blubb@gentoo.org> picocontainer-1.1.ebuild:
stable on amd64
diff --git a/dev-java/picocontainer/files/digest-picocontainer-1.1 b/dev-java/picocontainer/files/digest-picocontainer-1.1
index 0ea800ffed2f..084050e5c089 100644
--- a/dev-java/picocontainer/files/digest-picocontainer-1.1
+++ b/dev-java/picocontainer/files/digest-picocontainer-1.1
@@ -1 +1,3 @@
MD5 c7b5021890dd5d7a01bfc3cf0463a41f picocontainer-1.1-src.tar.gz 83564
+RMD160 980b50a8d4bcce9561ef5705d294243764640c72 picocontainer-1.1-src.tar.gz 83564
+SHA256 c1463cbaceaa1eae718d271035653a61a19232f3a20e831bd5d016963ef6091e picocontainer-1.1-src.tar.gz 83564
diff --git a/dev-java/picocontainer/files/digest-picocontainer-1.1-r1 b/dev-java/picocontainer/files/digest-picocontainer-1.1-r1
new file mode 100644
index 000000000000..084050e5c089
--- /dev/null
+++ b/dev-java/picocontainer/files/digest-picocontainer-1.1-r1
@@ -0,0 +1,3 @@
+MD5 c7b5021890dd5d7a01bfc3cf0463a41f picocontainer-1.1-src.tar.gz 83564
+RMD160 980b50a8d4bcce9561ef5705d294243764640c72 picocontainer-1.1-src.tar.gz 83564
+SHA256 c1463cbaceaa1eae718d271035653a61a19232f3a20e831bd5d016963ef6091e picocontainer-1.1-src.tar.gz 83564
diff --git a/dev-java/picocontainer/picocontainer-1.1-r1.ebuild b/dev-java/picocontainer/picocontainer-1.1-r1.ebuild
new file mode 100644
index 000000000000..498a11ece8d8
--- /dev/null
+++ b/dev-java/picocontainer/picocontainer-1.1-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/picocontainer/picocontainer-1.1-r1.ebuild,v 1.1 2006/08/01 12:22:41 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Small footprint Dependency Injection container"
+HOMEPAGE="http://www.picocontainer.org"
+SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}-src.tar.gz"
+LICENSE="PicoContainer"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc source"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.5
+ source? ( app-arch/zip )
+ "
+# test? (
+# >=dev-java/junit-3.8.1
+# )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Don't run tests automatically
+ sed -i -e 's/compile,test/compile/' build.xml
+
+# doesn't pass internal test even when trying vanilla build.xml that fetches own libs
+# if use test ; then
+# mkdir -p target/lib
+# cd target/lib
+# java-pkg_jar-from junit junit-3.8.1.jar
+# fi
+}
+
+src_compile() {
+ local antflags="-Dfinal.name=${PN} -Dnoget=true jar"
+ eant ${antflags} $(use_doc)
+}
+
+#src_test() {
+# local antflags="-Dfinal.name=${PN} -Dnoget=true test"
+# eant ${antflags}
+#}
+
+src_install() {
+ java-pkg_dojar target/${PN}.jar
+
+ use doc && java-pkg_dohtml -r dist/docs/api
+ use source && java-pkg_dosrc src/java/org
+}