commit: 1e0e3ad3ff772e0164e1a3dc2496724ef6554da4
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 20 01:01:20 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Feb 20 01:12:16 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0e3ad3
dev-java/jexcelapi: Switch to java-pkg-simple. Unbundle log4j.
Package-Manager: portage-2.2.26
dev-java/jexcelapi/Manifest | 1 +
dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild | 47 ++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-java/jexcelapi/Manifest b/dev-java/jexcelapi/Manifest
index f400130..16c2e54 100644
--- a/dev-java/jexcelapi/Manifest
+++ b/dev-java/jexcelapi/Manifest
@@ -1 +1,2 @@
+DIST jexcelapi-2.6.8.tar.gz 1925926 SHA256
12f05e4453c203b91329a65329b564e86aaa77a005101f876c4de7b648c36034 SHA512
c649dcff8647530ca719f3e546d45ac585fed46d0a220763848f6d97b3f42c871b6520aee3575202598c7aba3391f647690075b6d9d52d1c2920817ff69548c1
WHIRLPOOL
24d60ad81961b224c6d63267ee4cb4432bca5bb89c1462797dc96dce4f7fb6403741c34819c78a36312a1df9f0fce756c1d026b1672c751fc8b3a42cc9f0e3c7
DIST jexcelapi_2_6_8.tar.gz 1925926 SHA256
12f05e4453c203b91329a65329b564e86aaa77a005101f876c4de7b648c36034 SHA512
c649dcff8647530ca719f3e546d45ac585fed46d0a220763848f6d97b3f42c871b6520aee3575202598c7aba3391f647690075b6d9d52d1c2920817ff69548c1
WHIRLPOOL
24d60ad81961b224c6d63267ee4cb4432bca5bb89c1462797dc96dce4f7fb6403741c34819c78a36312a1df9f0fce756c1d026b1672c751fc8b3a42cc9f0e3c7
diff --git a/dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild
b/dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild
new file mode 100644
index 0000000..9fd0713
--- /dev/null
+++ b/dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 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_P="${P//-/_}"
+MY_P="${MY_P//./_}"
+
+DESCRIPTION="A Java API to read, write, and modify Excel spreadsheets"
+HOMEPAGE="http://jexcelapi.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jexcelapi/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="dev-java/log4j:0"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${PN}"
+
+JAVA_ENCODING="ISO-8859-1"
+JAVA_SRC_DIR="src"
+JAVA_GENTOO_CLASSPATH="log4j"
+
+JAVA_RM_FILES=(
+ src/common/log/Log4jLoggerName.java
+ src/common/log/SimpleLoggerName.java
+)
+
+java_prepare() {
+ java-pkg_clean
+}