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/ini4j/files/, dev-java/ini4j/
Date: Tue, 03 Nov 2015 23:04:19
Message-Id: 1446591722.84f8bd3ec8f38baaa3ac37ee18328cf81f446020.monsieurp@gentoo
1 commit: 84f8bd3ec8f38baaa3ac37ee18328cf81f446020
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 3 23:00:31 2015 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 3 23:02:02 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f8bd3e
7
8 dev-java/ini4j: Initial import. Fixes bug 207950.
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 dev-java/ini4j/Manifest | 1 +
14 dev-java/ini4j/files/ini4j-0.5.1-remove.patch | 22 ++++++++++++++++++++++
15 dev-java/ini4j/ini4j-0.5.1.ebuild | 25 +++++++++++++++++++++++++
16 dev-java/ini4j/metadata.xml | 8 ++++++++
17 4 files changed, 56 insertions(+)
18
19 diff --git a/dev-java/ini4j/Manifest b/dev-java/ini4j/Manifest
20 new file mode 100644
21 index 0000000..ec0be32
22 --- /dev/null
23 +++ b/dev-java/ini4j/Manifest
24 @@ -0,0 +1 @@
25 +DIST ini4j-0.5.1-sources.jar 61117 SHA256 99dae5a34055ae2dc08f95d5d3abc4da79c7e3964675be2944510c93914c99e3 SHA512 1c4b5218d092cab9374070c8ae55c7a2483b30893f5af5cfe5d74054b2f5261fe2e1a477a650589d2fc7518b4dcce91a2308ab35bba6b3d918f5e5c19a55eb9a WHIRLPOOL a5fb5cbf6366c30e4ef4b022f70d8c7cacb28dd8ba92c985b23470eec319df96975c69384315ca63e5e84f9f2366481a7b8778ed29e3b21f5e64dd7f1d823396
26
27 diff --git a/dev-java/ini4j/files/ini4j-0.5.1-remove.patch b/dev-java/ini4j/files/ini4j-0.5.1-remove.patch
28 new file mode 100644
29 index 0000000..60a1195
30 --- /dev/null
31 +++ b/dev-java/ini4j/files/ini4j-0.5.1-remove.patch
32 @@ -0,0 +1,22 @@
33 +--- org/ini4j/Profile.java.orig 2015-11-03 22:49:34.854486000 +0000
34 ++++ org/ini4j/Profile.java 2015-11-03 22:49:53.412486000 +0000
35 +@@ -43,7 +43,7 @@
36 +
37 + Section remove(Profile.Section section);
38 +
39 +- String remove(Object sectionName, Object optionName);
40 ++ String removeString(Object sectionName, Object optionName);
41 +
42 + interface Section extends OptionMap
43 + {
44 +--- org/ini4j/BasicProfile.java.orig 2015-11-03 22:50:28.101486000 +0000
45 ++++ org/ini4j/BasicProfile.java 2015-11-03 22:51:09.338486000 +0000
46 +@@ -138,7 +138,7 @@
47 + return remove((Object) section.getName());
48 + }
49 +
50 +- @Override public String remove(Object sectionName, Object optionName)
51 ++ @Override public String removeString(Object sectionName, Object optionName)
52 + {
53 + Section sec = get(sectionName);
54 +
55
56 diff --git a/dev-java/ini4j/ini4j-0.5.1.ebuild b/dev-java/ini4j/ini4j-0.5.1.ebuild
57 new file mode 100644
58 index 0000000..e29aedc
59 --- /dev/null
60 +++ b/dev-java/ini4j/ini4j-0.5.1.ebuild
61 @@ -0,0 +1,25 @@
62 +# Copyright 1999-2015 Gentoo Foundation
63 +# Distributed under the terms of the GNU General Public License v2
64 +# $Id$
65 +
66 +EAPI=5
67 +JAVA_PKG_IUSE="doc source"
68 +
69 +inherit java-pkg-2 java-pkg-simple
70 +
71 +DESCRIPTION="Simple Java API Windows style .ini file handling"
72 +HOMEPAGE="http://ini4j.sourceforge.net/"
73 +SRC_URI="http://central.maven.org/maven2/org/ini4j/ini4j/0.5.1/ini4j-0.5.1-sources.jar"
74 +
75 +LICENSE="Apache-2.0"
76 +SLOT="0"
77 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
78 +IUSE=""
79 +
80 +RDEPEND=">=virtual/jre-1.6"
81 +DEPEND=">=virtual/jdk-1.6
82 + app-arch/unzip"
83 +
84 +java_prepare() {
85 + epatch "${FILESDIR}"/"${P}-remove.patch"
86 +}
87
88 diff --git a/dev-java/ini4j/metadata.xml b/dev-java/ini4j/metadata.xml
89 new file mode 100644
90 index 0000000..55f6211
91 --- /dev/null
92 +++ b/dev-java/ini4j/metadata.xml
93 @@ -0,0 +1,8 @@
94 +<?xml version="1.0" encoding="UTF-8"?>
95 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
96 +<pkgmetadata>
97 + <herd>java</herd>
98 + <maintainer>
99 + <email>monsieurp@g.o</email>
100 + </maintainer>
101 +</pkgmetadata>