diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-11-03 23:00:31 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-11-03 23:02:02 +0000 |
commit | 84f8bd3ec8f38baaa3ac37ee18328cf81f446020 (patch) | |
tree | 3003cc3cc1eb3b1cfe2d3f95b02d228edc8a2c8d /dev-java/ini4j | |
parent | dev-java/commons-chain: Set SLOT to 0. (diff) | |
download | gentoo-84f8bd3ec8f38baaa3ac37ee18328cf81f446020.tar.gz gentoo-84f8bd3ec8f38baaa3ac37ee18328cf81f446020.tar.bz2 gentoo-84f8bd3ec8f38baaa3ac37ee18328cf81f446020.zip |
dev-java/ini4j: Initial import. Fixes bug 207950.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/ini4j')
-rw-r--r-- | dev-java/ini4j/Manifest | 1 | ||||
-rw-r--r-- | dev-java/ini4j/files/ini4j-0.5.1-remove.patch | 22 | ||||
-rw-r--r-- | dev-java/ini4j/ini4j-0.5.1.ebuild | 25 | ||||
-rw-r--r-- | dev-java/ini4j/metadata.xml | 8 |
4 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/ini4j/Manifest b/dev-java/ini4j/Manifest new file mode 100644 index 000000000000..ec0be328b7d1 --- /dev/null +++ b/dev-java/ini4j/Manifest @@ -0,0 +1 @@ +DIST ini4j-0.5.1-sources.jar 61117 SHA256 99dae5a34055ae2dc08f95d5d3abc4da79c7e3964675be2944510c93914c99e3 SHA512 1c4b5218d092cab9374070c8ae55c7a2483b30893f5af5cfe5d74054b2f5261fe2e1a477a650589d2fc7518b4dcce91a2308ab35bba6b3d918f5e5c19a55eb9a WHIRLPOOL a5fb5cbf6366c30e4ef4b022f70d8c7cacb28dd8ba92c985b23470eec319df96975c69384315ca63e5e84f9f2366481a7b8778ed29e3b21f5e64dd7f1d823396 diff --git a/dev-java/ini4j/files/ini4j-0.5.1-remove.patch b/dev-java/ini4j/files/ini4j-0.5.1-remove.patch new file mode 100644 index 000000000000..60a1195d4288 --- /dev/null +++ b/dev-java/ini4j/files/ini4j-0.5.1-remove.patch @@ -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); + diff --git a/dev-java/ini4j/ini4j-0.5.1.ebuild b/dev-java/ini4j/ini4j-0.5.1.ebuild new file mode 100644 index 000000000000..e29aedc53015 --- /dev/null +++ b/dev-java/ini4j/ini4j-0.5.1.ebuild @@ -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" +} diff --git a/dev-java/ini4j/metadata.xml b/dev-java/ini4j/metadata.xml new file mode 100644 index 000000000000..55f62111c613 --- /dev/null +++ b/dev-java/ini4j/metadata.xml @@ -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> |