From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/c3p0/Manifest | 3 ++ dev-java/c3p0/c3p0-0.9.5.1.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ dev-java/c3p0/metadata.xml | 11 ++++++++ 3 files changed, 73 insertions(+) create mode 100644 dev-java/c3p0/Manifest create mode 100644 dev-java/c3p0/c3p0-0.9.5.1.ebuild create mode 100644 dev-java/c3p0/metadata.xml (limited to 'dev-java/c3p0') diff --git a/dev-java/c3p0/Manifest b/dev-java/c3p0/Manifest new file mode 100644 index 000000000000..16e47112a13c --- /dev/null +++ b/dev-java/c3p0/Manifest @@ -0,0 +1,3 @@ +DIST c3p0-0.9.5.1.src.tgz 839657 BLAKE2B b8cf89ecb5b3766852355cdeb234698b0d1d8327233152e2e51ddcfe4a6e3be5f0fe4cc12a70d0df90d8ead90b3506b405f267f83bbb4a2a0ea1ac9d86051c64 SHA512 1843696d48e68f6120a68c42f0eb60c342ed8d1ddcc1d78c500d85c3d7e5e48358d100ecb1e0efa192aba34c5d9221437d53c2a968a42b797ff84bc12db4a724 +EBUILD c3p0-0.9.5.1.ebuild 1152 BLAKE2B fe58ab3e84f29b2f53a49064df6ef04f2397870cdc7063c183b4a06d36d05aad82defdd24bf7d7f8c37ead28295e6250f080eff813917a09ac269f3286897d03 SHA512 749db00f3a6a3bf365f9a8d09ef453a6b972dc18dbe2b7710b313c4bc6c9d56fac95268f6bca40799efcee01693946a691f2d9165bc2d7df07ac7b133877d896 +MISC metadata.xml 310 BLAKE2B 75764bb0c3ddf44fc236047688d00826ba32fd0df3eca79db98cf0c3379dcb2e2a779607d7bd1b318759b77a86b5075747a0d5882998de9cb8e829cb7cec761b SHA512 5b2e9c58158f6f2c1d912ff5f9dc6b25906b32aad32608927d03f61fd90b935d7988bf54fe32d5c86dd5410ada1f5de8abd9ac0d15e277aa7345149edc83283b diff --git a/dev-java/c3p0/c3p0-0.9.5.1.ebuild b/dev-java/c3p0/c3p0-0.9.5.1.ebuild new file mode 100644 index 000000000000..70cde9d852e1 --- /dev/null +++ b/dev-java/c3p0/c3p0-0.9.5.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source examples test" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JDBC drivers with JNDI-bindable DataSources" +HOMEPAGE="http://c3p0.sourceforge.net/" + +MY_P="${P}.src" + +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" + +CDEPEND=" + dev-java/log4j:0 + dev-java/mchange-commons:0" + +DEPEND=" + ${CDEPEND} + test? ( + dev-java/junit:4 + ) + >=virtual/jdk-1.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.6" + +S="${WORKDIR}/${MY_P}" + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +java_prepare() { + java-pkg_clean + java-pkg_jar-from --into lib/ mchange-commons + java-pkg_jar-from --into lib/ log4j + +} + +EANT_TEST_TARGET="junit-tests" +EANT_TEST_GENTOO_CLASSPATH="junit-4" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_newjar "build/${P}.jar" + dodoc README-SRC + use doc && java-pkg_dojavadoc build/apidocs + use source && java-pkg_dosrc src/java/com/mchange/v2 + use examples && java-pkg_doexamples src/java/com/mchange/v2/c3p0/example +} diff --git a/dev-java/c3p0/metadata.xml b/dev-java/c3p0/metadata.xml new file mode 100644 index 000000000000..d6e27668bb3f --- /dev/null +++ b/dev-java/c3p0/metadata.xml @@ -0,0 +1,11 @@ + + + + + java@gentoo.org + Java + + + c3p0 + + -- cgit v1.2.3