summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2008-02-06 14:46:12 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2008-02-06 14:46:12 +0000
commitffebcf9c6c3cac7a106d84989670f407fe83031e (patch)
treef7c8456dd248bbadeb782916d5f56f15ba0d03db /dev-java
parentStable on amd64, bug #208922 (diff)
downloadhistorical-ffebcf9c6c3cac7a106d84989670f407fe83031e.tar.gz
historical-ffebcf9c6c3cac7a106d84989670f407fe83031e.tar.bz2
historical-ffebcf9c6c3cac7a106d84989670f407fe83031e.zip
Version bump
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-io/ChangeLog9
-rw-r--r--dev-java/commons-io/Manifest4
-rw-r--r--dev-java/commons-io/commons-io-1.4.ebuild57
3 files changed, 67 insertions, 3 deletions
diff --git a/dev-java/commons-io/ChangeLog b/dev-java/commons-io/ChangeLog
index a8996867d107..7cc94dc4ed14 100644
--- a/dev-java/commons-io/ChangeLog
+++ b/dev-java/commons-io/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/commons-io
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.39 2007/11/25 09:33:28 nelchael Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.40 2008/02/06 14:46:12 fordfrog Exp $
+
+*commons-io-1.4 (06 Feb 2008)
+
+ 06 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org> +commons-io-1.4.ebuild:
+ Version bump
25 Nov 2007; Krzysiek Pawlik <nelchael@gentoo.org>
commons-io-1.3.2.ebuild:
diff --git a/dev-java/commons-io/Manifest b/dev-java/commons-io/Manifest
index 952cda7093ce..f57e5564c266 100644
--- a/dev-java/commons-io/Manifest
+++ b/dev-java/commons-io/Manifest
@@ -2,7 +2,9 @@ AUX commons-io-1.3-build.xml.patch 1026 RMD160 f8fdd740aea41e8e54dd09f0a2585da43
AUX commons-io-1.3.1-build.xml.patch 1026 RMD160 f8fdd740aea41e8e54dd09f0a2585da43e2dc9b2 SHA1 f5bdd83e997dfd49329895eb21d18efa73f431b4 SHA256 e4c6b2738d4b8e4a269153cc8d20ecbcc5c0fd03340dfc7d5538ab094c552fd1
DIST commons-io-1.3.1-src.tar.gz 689667 RMD160 0b063b148c75b35667756bca0ad62401fb5819df SHA1 b2c7c38b64092d450abfb03a96b340859aa81f77 SHA256 879c22591694bfee6e4d74f613c7369f8f030362e5e7a8f4c20975fc773e3acc
DIST commons-io-1.3.2-src.tar.gz 211922 RMD160 63d33fb7a550ab66be8747183b98275b0341f0d8 SHA1 9758bd65a0286856eda75644250ff04b2661079c SHA256 c4db1471c317ee9f37a532c4e83c76e8f664b45084a5ff9da89dcc1b5833e495
+DIST commons-io-1.4-src.tar.gz 236187 RMD160 de7a09890058153b307a484ca127161615acb54b SHA1 75b036b80872d7cba4ae1ed90582f1ebb6f26380 SHA256 eca986497f7b4d1b1ec41821b1b5df827bb31fc14833e4449cfa8bcd5d7f29bb
EBUILD commons-io-1.3.1.ebuild 1498 RMD160 5edb60a0a93f74c8d1bcbfa4c2267b5079df4d71 SHA1 051b92d17365071916947daabe81e1fdfe10d3bc SHA256 73900923849d271feea545663965685a1b60542f552e73f0dfc7bcaeb2c00bd8
EBUILD commons-io-1.3.2.ebuild 1624 RMD160 3cfdb77e3f4dd121b25793984ee0bfb962d3bfa9 SHA1 c53882e310828947239fa10e25e1117b4ec58936 SHA256 3bf52d994dff3c83bb67f546a125f7be1163dea77668be7a6ae285c8c894e988
-MISC ChangeLog 5471 RMD160 6c4f0c8cc0e6aab56700758bda3782885f5eae2e SHA1 6984c9700145cd6814f8c4fdf1508e494458be53 SHA256 ccb7f4310c5b7de791902aa59bbca8dc0da3518079379a4eb1c198ae3130897b
+EBUILD commons-io-1.4.ebuild 1615 RMD160 76ce609b2639566d27ee8d5663b627d2ca2bdbe0 SHA1 a8443155111a19282875dafad76c252bd00dbfad SHA256 bd11d72f9eff8aefdef9cc866ee300134d36c00d8093b92e794891c4d7f0f9ce
+MISC ChangeLog 5594 RMD160 b86fbae386b023a1a36b822610fd12683eb3eb20 SHA1 b0bb12551bff74a40423d349178c1042924d8f23 SHA256 a2ea37336e3bd6714c0e37ef94534d2c1804a2f2b036d33267ca771c2c8acdad
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
diff --git a/dev-java/commons-io/commons-io-1.4.ebuild b/dev-java/commons-io/commons-io-1.4.ebuild
new file mode 100644
index 000000000000..7f2b34608ebc
--- /dev/null
+++ b/dev-java/commons-io/commons-io-1.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/commons-io-1.4.ebuild,v 1.1 2008/02/06 14:46:12 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+MY_P="${P}-src"
+DESCRIPTION="Commons-IO contains utility classes, stream implementations, file filters, and endian classes."
+HOMEPAGE="http://jakarta.apache.org/commons/io"
+SRC_URI="mirror://apache/commons/io/source/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="1"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( dev-java/ant-junit )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_ignore-system-classes
+ java-ant_rewrite-classpath
+ # Setting java.io.tmpdir doesn't have effect unless we do this because the
+ # vm is forked
+ java-ant_xml-rewrite -f build.xml --change -e junit -a clonevm -v "true"
+}
+
+EANT_EXTRA_ARGS="-Duser.home=${T}"
+
+src_test() {
+ if has userpriv ${FEATURES}; then
+ ANT_OPTS="-Djava.io.tmpdir=${T} -Duser.home=${T}" \
+ ANT_TASKS="ant-junit" \
+ eant test \
+ -Dgentoo.classpath="$(java-pkg_getjars junit)" \
+ -Dlibdir="libdir" \
+ -Djava.io.tmpdir="${T}"
+ else
+ elog "Tests fail unless userpriv is enabled because they test for"
+ elog "file permissions which doesn't work when run as root."
+ fi
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar ${PN}.jar
+
+ dodoc RELEASE-NOTES.txt NOTICE.txt || die
+ use doc && java-pkg_dojavadoc target/apidocs
+ use source && java-pkg_dosrc src/java/*
+}