diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /dev-java/c3p0 | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'dev-java/c3p0')
-rw-r--r-- | dev-java/c3p0/Manifest | 2 | ||||
-rw-r--r-- | dev-java/c3p0/c3p0-0.9.5.5.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/c3p0/Manifest b/dev-java/c3p0/Manifest index d4891ce38ba0..a2749b3540da 100644 --- a/dev-java/c3p0/Manifest +++ b/dev-java/c3p0/Manifest @@ -1,3 +1,5 @@ DIST c3p0-0.9.5.1.src.tgz 839657 BLAKE2B b8cf89ecb5b3766852355cdeb234698b0d1d8327233152e2e51ddcfe4a6e3be5f0fe4cc12a70d0df90d8ead90b3506b405f267f83bbb4a2a0ea1ac9d86051c64 SHA512 1843696d48e68f6120a68c42f0eb60c342ed8d1ddcc1d78c500d85c3d7e5e48358d100ecb1e0efa192aba34c5d9221437d53c2a968a42b797ff84bc12db4a724 +DIST c3p0-0.9.5.5.src.tgz 869069 BLAKE2B 6e1349d1cd02647a7c2424b8e89a8c21cfd8faefd26b7e05ee9e2da1a1a501b2b3102b142eef52f56dea672408d683a6f47b4c89b25d529a578c4b1fe4aa819c SHA512 fa96b5d0042442c773309090b9cf8f0db8e16f334e321ac952afb198ca06cd66f6f7162369f22a439a0e6b45b1ffcddf540af53804f223844d7a5465213bece1 EBUILD c3p0-0.9.5.1.ebuild 1138 BLAKE2B 7004df7dc46daa60676e330eb4d55db11710cfc5d63a376c6156e2099d384d7e6d88aa960b5096aa235086f4f275d97717332b9f823947942113027265c1ea9d SHA512 41cffb39931a0def7f702c761754ec6ec569ebf77b59092b2b5718e0564921c6554f4b7807b7f8562bab12e7a1cb760843a4dae3dab086690371df8bb35ebff6 +EBUILD c3p0-0.9.5.5.ebuild 1305 BLAKE2B 31e6d6f907dfda103ba8895c0826f0ce4c65f2f0d71b127962158999cdf874ed27c951ff011e747d3cf5e23bd78c85b5bec2b8031714d6e5f25cf1f9f57500b7 SHA512 1804f7d80922dae4be47d92b70bc70ce3295ebcdf8c61b3c27a96bf74f13b903c26f7db8c739c7dc8fb1f90709cd7884d835759386093082609386a15651821f MISC metadata.xml 311 BLAKE2B 94e12506ba1bdd92ded65a3ceb8421881aa0a2bce4a93affc09208ff35b942e10ebc855833056e118fbf3e3d4b04e653b3de9ed2d45266191bd580040fdfbe69 SHA512 d4d0cd654557b0ea5d850a8af90db536b3893d2221aba93449559abd2469725e853e5f1ac4bcd67629f1f5be253106eb0a3d1a53b9da144256a01bd7264b6cfe diff --git a/dev-java/c3p0/c3p0-0.9.5.5.ebuild b/dev-java/c3p0/c3p0-0.9.5.5.ebuild new file mode 100644 index 000000000000..fd97f8c6e6d3 --- /dev/null +++ b/dev-java/c3p0/c3p0-0.9.5.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Tests require an existing running SQL server and 'junit.jar.file' property +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="JDBC drivers with JNDI-bindable DataSources" +HOMEPAGE="https://www.mchange.com/projects/c3p0/" + +SRC_URI="mirror://sourceforge/${PN}/${P}.src.tgz" +LICENSE="|| ( EPL-1.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux" + +CP_DEPEND=" + dev-java/log4j:0 + dev-java/mchange-commons:0 +" + +DEPEND=" + >=virtual/jdk-1.8:* + ${CP_DEPEND} +" + +RDEPEND=" + >=virtual/jre-1.8:* + ${CP_DEPEND} +" + +S="${WORKDIR}/${P}.src" + +JAVA_ANT_REWRITE_CLASSPATH="yes" + +src_prepare() { + java-pkg_clean + java-pkg-2_src_prepare + java-pkg_jar-from --into lib/ log4j + java-pkg_jar-from --into lib/ mchange-commons + + # Test sources interfere with Javadoc generation on JDK 11 + # Remove since the tests will never be run + rm -r src/java/com/mchange/v2/c3p0/test || + die "Failed to remove unused test sources" +} + +src_install() { + java-pkg_newjar "build/${P}.jar" + einstalldocs + + use doc && java-pkg_dojavadoc build/apidocs + use examples && java-pkg_doexamples src/java/com/mchange/v2/c3p0/example + use source && java-pkg_dosrc src/java/com/mchange/v2 +} |