# ChangeLog for dev-java/commons-pool
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.34 2006/12/09 09:15:56 flameeyes Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.35 2007/01/16 18:00:58 betelgeuse Exp $
+
+*commons-pool-1.3 (16 Jan 2007)
+
+ 16 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +commons-pool-1.3.ebuild:
+ Version bump. Adds support for src_test and the source use flag. Fixes bug
+ #129511.
09 Dec 2006; Diego Pettenò <flameeyes@gentoo.org>
commons-pool-1.2-r2.ebuild:
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.3.ebuild,v 1.1 2007/01/16 18:00:58 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Jakarta-Commons component providing general purpose object pooling API"
+HOMEPAGE="http://jakarta.apache.org/commons/pool/"
+SRC_URI="mirror://apache/jakarta/commons/pool/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="doc source test"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.4
+ test? ( >=dev-java/junit-3.7 )"
+
+S="${WORKDIR}/${P}-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -v *.jar
+}
+
+EANT_BUILD_TARGET="build-jar"
+
+src_test() {
+ echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties
+ eant test
+}
+
+src_install() {
+ java-pkg_newjar dist/${P}.jar
+ dodoc README.txt NOTICE.txt RELEASE-NOTES.txt
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/org
+}
--- /dev/null
+MD5 a2dcdff75de2af76f5f2169494ed3499 commons-pool-1.3-src.tar.gz 305175
+RMD160 a4fa896fd03a2285198495ccda5499b270eba686 commons-pool-1.3-src.tar.gz 305175
+SHA256 28c055168601cc57c8a4cff360b79b6409fabfd7275605031c43c7b06b978add commons-pool-1.3-src.tar.gz 305175