summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-08-03 16:24:44 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-08-03 16:24:44 +0000
commita7a859188017db19abd44cb4aa1a22efe9c2a541 (patch)
tree04bb6f3e1610d21d6d67e89d30e04d52bf8e29d5 /dev-java/commons-io
parentsome minor touchups (diff)
downloadgentoo-2-a7a859188017db19abd44cb4aa1a22efe9c2a541.tar.gz
gentoo-2-a7a859188017db19abd44cb4aa1a22efe9c2a541.tar.bz2
gentoo-2-a7a859188017db19abd44cb4aa1a22efe9c2a541.zip
Version bump.
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'dev-java/commons-io')
-rw-r--r--dev-java/commons-io/ChangeLog8
-rw-r--r--dev-java/commons-io/commons-io-1.3.2.ebuild52
-rw-r--r--dev-java/commons-io/files/commons-io-1.1-gentoo.diff11
-rw-r--r--dev-java/commons-io/files/digest-commons-io-1.3.23
4 files changed, 62 insertions, 12 deletions
diff --git a/dev-java/commons-io/ChangeLog b/dev-java/commons-io/ChangeLog
index e71ce9d2c9a5..9d0747bcd7e1 100644
--- a/dev-java/commons-io/ChangeLog
+++ b/dev-java/commons-io/ChangeLog
@@ -1,6 +1,12 @@
# 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.26 2007/08/03 15:59:23 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-io/ChangeLog,v 1.27 2007/08/03 16:24:44 betelgeuse Exp $
+
+*commons-io-1.3.2 (03 Aug 2007)
+
+ 03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
+ -files/commons-io-1.1-gentoo.diff, +commons-io-1.3.2.ebuild:
+ Version bump.
03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org>
-commons-io-1.1-r1.ebuild:
diff --git a/dev-java/commons-io/commons-io-1.3.2.ebuild b/dev-java/commons-io/commons-io-1.3.2.ebuild
new file mode 100644
index 000000000000..2116ab752835
--- /dev/null
+++ b/dev-java/commons-io/commons-io-1.3.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 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.3.2.ebuild,v 1.1 2007/08/03 16:24:44 betelgeuse 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
+}
+
+src_test() {
+ if hasq userpriv ${FEATURES}; then
+ #By default libdir is ${HOME}/.maven so it can be /root/.maven
+ ANT_OPTS="-Djava.io.tmpdir=${T}" \
+ ANT_TASKS="ant-junit" \
+ eant test \
+ -Dgentoo.classpath="$(java-pkg_getjars junit)" \
+ -Dlibdir="libdir"
+ else
+ elog "Tests require userpriv in FEATURES because they test"
+ elog "accessing files which always succeeds for root."
+ fi
+}
+
+src_install() {
+ java-pkg_newjar build/${P}.jar ${PN}.jar
+
+ dodoc RELEASE-NOTES.txt NOTICE.txt || die
+ use doc && java-pkg_dojavadoc build/dist-build/${P}/docs
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/commons-io/files/commons-io-1.1-gentoo.diff b/dev-java/commons-io/files/commons-io-1.1-gentoo.diff
deleted file mode 100644
index 62a7c51550e9..000000000000
--- a/dev-java/commons-io/files/commons-io-1.1-gentoo.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- build.xml.orig 2005-11-25 19:53:06.000000000 +0000
-+++ build.xml 2005-11-25 19:54:39.000000000 +0000
-@@ -92,7 +94,7 @@
- </copy>
- </target>
-
-- <target name="jar" description="o Create the jar" depends="compile,test">
-+ <target name="jar" description="o Create the jar" depends="compile">
- <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/*.html" basedir="${classesdir}" manifest="${basedir}/src/conf/MANIFEST.MF" />
- </target>
- <target name="dist-jar" depends="compile">
diff --git a/dev-java/commons-io/files/digest-commons-io-1.3.2 b/dev-java/commons-io/files/digest-commons-io-1.3.2
new file mode 100644
index 000000000000..44002e825f27
--- /dev/null
+++ b/dev-java/commons-io/files/digest-commons-io-1.3.2
@@ -0,0 +1,3 @@
+MD5 7c98f852e70d52d4d9c3d8057be518f8 commons-io-1.3.2-src.tar.gz 211922
+RMD160 63d33fb7a550ab66be8747183b98275b0341f0d8 commons-io-1.3.2-src.tar.gz 211922
+SHA256 c4db1471c317ee9f37a532c4e83c76e8f664b45084a5ff9da89dcc1b5833e495 commons-io-1.3.2-src.tar.gz 211922