Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/jexcelapi/
Date: Sat, 20 Feb 2016 01:14:53
Message-Id: 1455930736.1e0e3ad3ff772e0164e1a3dc2496724ef6554da4.monsieurp@gentoo
1 commit: 1e0e3ad3ff772e0164e1a3dc2496724ef6554da4
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 20 01:01:20 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 20 01:12:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e0e3ad3
7
8 dev-java/jexcelapi: Switch to java-pkg-simple. Unbundle log4j.
9
10 Package-Manager: portage-2.2.26
11
12 dev-java/jexcelapi/Manifest | 1 +
13 dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild | 47 ++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-java/jexcelapi/Manifest b/dev-java/jexcelapi/Manifest
17 index f400130..16c2e54 100644
18 --- a/dev-java/jexcelapi/Manifest
19 +++ b/dev-java/jexcelapi/Manifest
20 @@ -1 +1,2 @@
21 +DIST jexcelapi-2.6.8.tar.gz 1925926 SHA256 12f05e4453c203b91329a65329b564e86aaa77a005101f876c4de7b648c36034 SHA512 c649dcff8647530ca719f3e546d45ac585fed46d0a220763848f6d97b3f42c871b6520aee3575202598c7aba3391f647690075b6d9d52d1c2920817ff69548c1 WHIRLPOOL 24d60ad81961b224c6d63267ee4cb4432bca5bb89c1462797dc96dce4f7fb6403741c34819c78a36312a1df9f0fce756c1d026b1672c751fc8b3a42cc9f0e3c7
22 DIST jexcelapi_2_6_8.tar.gz 1925926 SHA256 12f05e4453c203b91329a65329b564e86aaa77a005101f876c4de7b648c36034 SHA512 c649dcff8647530ca719f3e546d45ac585fed46d0a220763848f6d97b3f42c871b6520aee3575202598c7aba3391f647690075b6d9d52d1c2920817ff69548c1 WHIRLPOOL 24d60ad81961b224c6d63267ee4cb4432bca5bb89c1462797dc96dce4f7fb6403741c34819c78a36312a1df9f0fce756c1d026b1672c751fc8b3a42cc9f0e3c7
23
24 diff --git a/dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild b/dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild
25 new file mode 100644
26 index 0000000..9fd0713
27 --- /dev/null
28 +++ b/dev-java/jexcelapi/jexcelapi-2.6.8-r2.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +JAVA_PKG_IUSE="doc source"
37 +
38 +inherit java-pkg-2 java-pkg-simple
39 +
40 +MY_P="${P//-/_}"
41 +MY_P="${MY_P//./_}"
42 +
43 +DESCRIPTION="A Java API to read, write, and modify Excel spreadsheets"
44 +HOMEPAGE="http://jexcelapi.sourceforge.net/"
45 +SRC_URI="mirror://sourceforge/jexcelapi/${MY_P}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="LGPL-2.1"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE=""
51 +
52 +CDEPEND="dev-java/log4j:0"
53 +
54 +DEPEND="
55 + ${CDEPEND}
56 + >=virtual/jdk-1.6"
57 +
58 +RDEPEND="
59 + ${CDEPEND}
60 + app-arch/unzip
61 + >=virtual/jre-1.6"
62 +
63 +S="${WORKDIR}/${PN}"
64 +
65 +JAVA_ENCODING="ISO-8859-1"
66 +JAVA_SRC_DIR="src"
67 +JAVA_GENTOO_CLASSPATH="log4j"
68 +
69 +JAVA_RM_FILES=(
70 + src/common/log/Log4jLoggerName.java
71 + src/common/log/SimpleLoggerName.java
72 +)
73 +
74 +java_prepare() {
75 + java-pkg_clean
76 +}