From: Patrice Clement Date: Tue, 6 Oct 2015 07:33:20 +0000 (+0000) Subject: dev-java/commons-dbutils: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dcb3fa63cabfdd3f4ac5079d818a91e141088717;p=gentoo.git dev-java/commons-dbutils: Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- diff --git a/dev-java/commons-dbutils/Manifest b/dev-java/commons-dbutils/Manifest index 4be4cdd0ba94..9396c80ab38f 100644 --- a/dev-java/commons-dbutils/Manifest +++ b/dev-java/commons-dbutils/Manifest @@ -1 +1,2 @@ DIST commons-dbutils-1.1-src.tar.gz 60062 SHA256 645f79936bb90c5ed02fd4d1ddbc15b23e22a468ab0df22771f2b78fe8d49a59 SHA512 03859d0ddc65b1f0254f71e9de371f131a81dc839de6bea938a0547b63759d18a9e957f44ac887b7ae9ea85ee3aeea90ffd8f03069c670ec7b700fe8b6e45fe2 WHIRLPOOL b4b3e670b30101657c0d57fcf33993cdca89838135f147b54c63ac4bbced6fe1ed1218af36e95bec60e856c73a9d47fbfc1eecdbbd55dd7e476f6883fd94f3fd +DIST commons-dbutils-1.6-src.tar.gz 90708 SHA256 c7cb1bd7e0f9a6d509c98bb60f9941503473d6fe0fbe144736fb1819096c4524 SHA512 05aa5fb448d949ac4d5d34f1219539e57cfb550fa423af0691cb35002984036b0de62b8f618199bd2f562a441867c5b7138e9204afc36bd6d0fa2c4c5e9cd2c6 WHIRLPOOL 012a8cace08c96c136b9e9a05ec34d173d544aecad465908ad823a47ec535cfa91c609e5280e9e05967b3d863b13e999ad2c9a826a100e3faa3333869c26dd97 diff --git a/dev-java/commons-dbutils/commons-dbutils-1.6.ebuild b/dev-java/commons-dbutils/commons-dbutils-1.6.ebuild new file mode 100644 index 000000000000..b76f51a783e2 --- /dev/null +++ b/dev-java/commons-dbutils/commons-dbutils-1.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI=5 + +JAVA_PKG_IUSE="doc source test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A small set of classes designed to make working with JDBC easier" +HOMEPAGE="http://commons.apache.org/dbutils/" +SRC_URI="mirror://apache/commons/dbutils/source/${P}-src.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/mockito:0 + dev-java/ant-junit:0 + dev-java/hamcrest-core:1.3 + )" +RDEPEND=">=virtual/jre-1.6" + +S="${WORKDIR}/${P}-src" + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +EANT_TEST_TARGET="test" +EANT_TEST_GENTOO_CLASSPATH=" + mockito + hamcrest-core-1.3 +" + +# Uses a bunch of deprecated methods. +JAVA_RM_FILES=( + src/test/java/org/apache/commons/dbutils/handlers/ArrayHandlerTest.java +) + +java_prepare() { + cp "${FILESDIR}"/"${P}-build.xml" build.xml || die +} + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar target/${P}.jar + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java +} diff --git a/dev-java/commons-dbutils/files/commons-dbutils-1.6-build.xml b/dev-java/commons-dbutils/files/commons-dbutils-1.6-build.xml new file mode 100644 index 000000000000..725d4eaca036 --- /dev/null +++ b/dev-java/commons-dbutils/files/commons-dbutils-1.6-build.xml @@ -0,0 +1,263 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =================================== WARNING =================================== + JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed. + =============================================================================== + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +