summaryrefslogtreecommitdiff
path: root/dev-java/commons-pool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/commons-pool
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/commons-pool')
-rw-r--r--dev-java/commons-pool/Manifest5
-rw-r--r--dev-java/commons-pool/commons-pool-1.6.ebuild39
-rw-r--r--dev-java/commons-pool/commons-pool-2.2.ebuild49
-rw-r--r--dev-java/commons-pool/metadata.xml8
4 files changed, 101 insertions, 0 deletions
diff --git a/dev-java/commons-pool/Manifest b/dev-java/commons-pool/Manifest
new file mode 100644
index 000000000000..a339cb8ee8ec
--- /dev/null
+++ b/dev-java/commons-pool/Manifest
@@ -0,0 +1,5 @@
+DIST commons-pool-1.6-src.tar.gz 321409 BLAKE2B 2ed2bc6d7478217fde271bcc64feefae06aa7f946068e7fa3b2ae055e7c788b2431ba20ce202a2cc879c22d32d6d69cdcc4f8dca6794dc4588b11cda4f665934 SHA512 357dd4b1cab8fccb4116add2bee74036c19cf6102946a1e304dcd3049d3d93f1e405f85349e511a4cc71d0d91382696f97997c9e4014303822b386ac7fbfec93
+DIST commons-pool2-2.2-src.tar.gz 163682 BLAKE2B b9a84b1387cd00eb46cc94726ae3295a73f2f47b824401aca525296eddbf04b6c978a4808014bf7e93c113014e0e2fb0db39d6b9ddb9c651bb385cecd05584a5 SHA512 a9c1a30f497f4a6c28b8b4b82d3b2f801b464fc329d1da4f5087dcd6b923c45bde9ac6f3dc9939025453462f9dfea9fff637db9b4334ed513770a546b4807256
+EBUILD commons-pool-1.6.ebuild 884 BLAKE2B 7751363b2533447a5d9e55034447e8155d7de59dfba492ebf4644273e1edf7f71cd995a37259034a74580486c606a2030bf738460682bc9082452191302f4b1a SHA512 ecc866b7e0761f61354100f4ad11cf93db87832e80e24d55a049fce31396378d9f405f757f0af79d9b9ae3bd336184ddf8e78be42a3402bb13526b1d4af31d3c
+EBUILD commons-pool-2.2.ebuild 1078 BLAKE2B af248d689fc3ed0cbbf84c9bf9650e4aad57e9eae2c67a42cbead532b4be03102e78db9f5305bf894e03e0b7b972ee53467fa009397f6a20fe75bc5684a374be SHA512 3abb6a3aadc14883a683454eade278c3b04cdc0270b52b0e7c798ffb08098792cb771d8d9b072478e0350f837e2fe2178f58779b9fd8808e6ab597341f8bb1b5
+MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893
diff --git a/dev-java/commons-pool/commons-pool-1.6.ebuild b/dev-java/commons-pool/commons-pool-1.6.ebuild
new file mode 100644
index 000000000000..64c331273099
--- /dev/null
+++ b/dev-java/commons-pool/commons-pool-1.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Provides general purpose object pooling API"
+HOMEPAGE="http://commons.apache.org/pool/"
+SRC_URI="mirror://apache/commons/pool/source/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+ test? (
+ dev-java/ant-junit
+ dev-java/junit:0
+ )"
+
+S="${WORKDIR}/${P}-src"
+
+EANT_BUILD_TARGET="build-jar"
+
+src_test() {
+ ANT_TASKS="ant-junit" eant -Dclasspath="$(java-pkg_getjars junit)" test
+}
+
+src_install() {
+ java-pkg_newjar dist/${P}-SNAPSHOT.jar
+ dodoc README.txt RELEASE-NOTES.txt
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/org
+}
diff --git a/dev-java/commons-pool/commons-pool-2.2.ebuild b/dev-java/commons-pool/commons-pool-2.2.ebuild
new file mode 100644
index 000000000000..f494ecaeddc9
--- /dev/null
+++ b/dev-java/commons-pool/commons-pool-2.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="${PN}2"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Provides general purpose object pooling API"
+HOMEPAGE="http://commons.apache.org/pool/"
+SRC_URI="mirror://apache/commons/pool/source/${MY_P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2"
+KEYWORDS="amd64 x86"
+
+COMMON_DEP="dev-java/cglib:3
+ dev-java/asm:4"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.6"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.6
+ test? (
+ dev-java/ant-junit:0
+ dev-java/junit:4
+ )"
+
+S="${WORKDIR}/${MY_P}-src"
+
+EANT_BUILD_TARGET="build-jar"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="cglib-3,asm-4"
+EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
+
+src_test() {
+ ANT_TASKS="ant-junit" java-pkg-2_src_test
+}
+
+src_install() {
+ java-pkg_newjar dist/${MY_P}-SNAPSHOT.jar ${PN}.jar
+ dodoc README.txt RELEASE-NOTES.txt
+
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/main/java/org
+}
diff --git a/dev-java/commons-pool/metadata.xml b/dev-java/commons-pool/metadata.xml
new file mode 100644
index 000000000000..2444066aa02b
--- /dev/null
+++ b/dev-java/commons-pool/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+</maintainer>
+</pkgmetadata>