summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-09-05 08:33:37 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-09-05 08:37:56 +0000
commit6aff4eb5c04d609ac1fefff95b9077c8f61e4f51 (patch)
tree9a02d96521901c04d357a3533362267d76800651 /dev-java/mchange-commons
parentdev-java/netty-buffer: Remove old. (diff)
downloadgentoo-6aff4eb5c04d609ac1fefff95b9077c8f61e4f51.tar.gz
gentoo-6aff4eb5c04d609ac1fefff95b9077c8f61e4f51.tar.bz2
gentoo-6aff4eb5c04d609ac1fefff95b9077c8f61e4f51.zip
dev-java/mchange-commons: Initial commit. New dependency for c3p0.
Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/mchange-commons')
-rw-r--r--dev-java/mchange-commons/Manifest1
-rw-r--r--dev-java/mchange-commons/files/mchange-commons-0.2.10-Debug.patch11
-rw-r--r--dev-java/mchange-commons/mchange-commons-0.2.10.ebuild37
-rw-r--r--dev-java/mchange-commons/metadata.xml5
4 files changed, 54 insertions, 0 deletions
diff --git a/dev-java/mchange-commons/Manifest b/dev-java/mchange-commons/Manifest
new file mode 100644
index 000000000000..d8369fcbf2fb
--- /dev/null
+++ b/dev-java/mchange-commons/Manifest
@@ -0,0 +1 @@
+DIST mchange-commons-java-0.2.10.zip 773768 SHA256 ae3f9d3d12d517d19036a8ede709d9df5e158733aa79e8276e800b508ee278ca SHA512 8196cd4476c3dea55355ba11cc2f801602235de3a977d75eff3835dacaf612647adc0e595e0bf77a6313adcd718d143d08ecf6fd5aa0e6638a419cf1f107c3a9 WHIRLPOOL 8c1f1501001bf94eff17493d0a3efaf0f844381e16c608d4c009d687de4597eef7ad47642b7ae58ef972347ebe6470ebc635ab01483b4b5b5ee7aecab57ecfcf
diff --git a/dev-java/mchange-commons/files/mchange-commons-0.2.10-Debug.patch b/dev-java/mchange-commons/files/mchange-commons-0.2.10-Debug.patch
new file mode 100644
index 000000000000..1337aa586f78
--- /dev/null
+++ b/dev-java/mchange-commons/files/mchange-commons-0.2.10-Debug.patch
@@ -0,0 +1,11 @@
+--- src/main/java/com/mchange/v2/async/Debug.java.orig 2015-09-05 08:03:15.596486000 +0000
++++ src/main/java/com/mchange/v2/async/Debug.java 2015-09-05 08:03:46.684486000 +0000
+@@ -43,7 +43,7 @@
+
+ import com.mchange.v2.debug.DebugConstants;
+
+-final class Debug implements DebugConstants
++public final class Debug implements DebugConstants
+ {
+ final static boolean DEBUG = true;
+ final static int TRACE = TRACE_NONE;
diff --git a/dev-java/mchange-commons/mchange-commons-0.2.10.ebuild b/dev-java/mchange-commons/mchange-commons-0.2.10.ebuild
new file mode 100644
index 000000000000..545c48201527
--- /dev/null
+++ b/dev-java/mchange-commons/mchange-commons-0.2.10.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-pkg-simple
+
+MY_PN="${PN}-java"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="a library of arguably useful Java utilities"
+HOMEPAGE="https://github.com/swaldman/mchange-commons-java"
+SRC_URI="https://github.com/swaldman/${MY_PN}/archive/${MY_P}.zip"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+
+IUSE="doc source"
+
+CDEPEND="
+ dev-java/log4j:0
+ dev-java/slf4j-api:0
+ dev-java/typesafe-config:0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ app-arch/zip
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${MY_P}"
+
+JAVA_SRC_DIR="src/main"
+JAVA_GENTOO_CLASSPATH="log4j,slf4j-api,typesafe-config"
diff --git a/dev-java/mchange-commons/metadata.xml b/dev-java/mchange-commons/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/mchange-commons/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>