dev-java/mchange-commons: Initial commit. New dependency for c3p0.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 5 Sep 2015 08:33:37 +0000 (08:33 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 5 Sep 2015 08:37:56 +0000 (08:37 +0000)
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-java/mchange-commons/Manifest [new file with mode: 0644]
dev-java/mchange-commons/files/mchange-commons-0.2.10-Debug.patch [new file with mode: 0644]
dev-java/mchange-commons/mchange-commons-0.2.10.ebuild [new file with mode: 0644]
dev-java/mchange-commons/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/mchange-commons/Manifest b/dev-java/mchange-commons/Manifest
new file mode 100644 (file)
index 0000000..d8369fc
--- /dev/null
@@ -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 (file)
index 0000000..1337aa5
--- /dev/null
@@ -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 (file)
index 0000000..545c482
--- /dev/null
@@ -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 (file)
index 0000000..250f2d1
--- /dev/null
@@ -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>