dev-java/ini4j: Initial import. Fixes bug 207950.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Patrice Clement
2015-11-03 23:02:02 +00:00
parent 3cbda8248b
commit 84f8bd3ec8
4 changed files with 56 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST ini4j-0.5.1-sources.jar 61117 SHA256 99dae5a34055ae2dc08f95d5d3abc4da79c7e3964675be2944510c93914c99e3 SHA512 1c4b5218d092cab9374070c8ae55c7a2483b30893f5af5cfe5d74054b2f5261fe2e1a477a650589d2fc7518b4dcce91a2308ab35bba6b3d918f5e5c19a55eb9a WHIRLPOOL a5fb5cbf6366c30e4ef4b022f70d8c7cacb28dd8ba92c985b23470eec319df96975c69384315ca63e5e84f9f2366481a7b8778ed29e3b21f5e64dd7f1d823396
@@ -0,0 +1,22 @@
--- org/ini4j/Profile.java.orig 2015-11-03 22:49:34.854486000 +0000
+++ org/ini4j/Profile.java 2015-11-03 22:49:53.412486000 +0000
@@ -43,7 +43,7 @@
Section remove(Profile.Section section);
- String remove(Object sectionName, Object optionName);
+ String removeString(Object sectionName, Object optionName);
interface Section extends OptionMap
{
--- org/ini4j/BasicProfile.java.orig 2015-11-03 22:50:28.101486000 +0000
+++ org/ini4j/BasicProfile.java 2015-11-03 22:51:09.338486000 +0000
@@ -138,7 +138,7 @@
return remove((Object) section.getName());
}
- @Override public String remove(Object sectionName, Object optionName)
+ @Override public String removeString(Object sectionName, Object optionName)
{
Section sec = get(sectionName);
+25
View File
@@ -0,0 +1,25 @@
# 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
DESCRIPTION="Simple Java API Windows style .ini file handling"
HOMEPAGE="http://ini4j.sourceforge.net/"
SRC_URI="http://central.maven.org/maven2/org/ini4j/ini4j/0.5.1/ini4j-0.5.1-sources.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RDEPEND=">=virtual/jre-1.6"
DEPEND=">=virtual/jdk-1.6
app-arch/unzip"
java_prepare() {
epatch "${FILESDIR}"/"${P}-remove.patch"
}
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>java</herd>
<maintainer>
<email>monsieurp@gentoo.org</email>
</maintainer>
</pkgmetadata>