diff options
author | Ralph Sennhauser <sera@gentoo.org> | 2012-01-23 19:22:09 +0000 |
---|---|---|
committer | Ralph Sennhauser <sera@gentoo.org> | 2012-01-23 19:22:09 +0000 |
commit | 18f7f3ac1ec90990d99c75b682f5185a9ee5f1f4 (patch) | |
tree | 1913b0cd7f40c844a82748f6c7b3f5c201254e48 /dev-java/snakeyaml | |
parent | Using the old missing-patches tarball creates failing tests, bug 399631 (diff) | |
download | gentoo-2-18f7f3ac1ec90990d99c75b682f5185a9ee5f1f4.tar.gz gentoo-2-18f7f3ac1ec90990d99c75b682f5185a9ee5f1f4.tar.bz2 gentoo-2-18f7f3ac1ec90990d99c75b682f5185a9ee5f1f4.zip |
Import from java-overlay. Thanks to James Le Cuirot <chewi@aura-online.co.uk>
for the ebuild. #395425
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/snakeyaml')
-rw-r--r-- | dev-java/snakeyaml/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/snakeyaml/Manifest | 4 | ||||
-rw-r--r-- | dev-java/snakeyaml/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/snakeyaml/snakeyaml-1.9.ebuild | 36 |
4 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/snakeyaml/ChangeLog b/dev-java/snakeyaml/ChangeLog new file mode 100644 index 000000000000..222d6d94ca69 --- /dev/null +++ b/dev-java/snakeyaml/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/snakeyaml +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/snakeyaml/ChangeLog,v 1.1 2012/01/23 19:22:09 sera Exp $ + +*snakeyaml-1.9 (23 Jan 2012) + + 23 Jan 2012; Ralph Sennhauser <sera@gentoo.org> +snakeyaml-1.9.ebuild, + +metadata.xml: + Import from java-overlay. Thanks to James Le Cuirot <chewi@aura-online.co.uk> + for the ebuild. #395425 + diff --git a/dev-java/snakeyaml/Manifest b/dev-java/snakeyaml/Manifest new file mode 100644 index 000000000000..b76c6353e313 --- /dev/null +++ b/dev-java/snakeyaml/Manifest @@ -0,0 +1,4 @@ +DIST SnakeYAML-all-1.9.zip 9122570 RMD160 2ab11eba3be04c72884622eadf09a063b819982d SHA1 b07b7c524b6a7d4e38a783753329d71a44956530 SHA256 7c1090eb1b2e06f784dc424678f18d513dfe020fd2f0042c63217e09ae9a8853 +EBUILD snakeyaml-1.9.ebuild 752 RMD160 1c8938a1e5ee84e3a061d33a53af150b71aa74fb SHA1 80045d72bd6382fca20e157bba44f8f271ce241d SHA256 66e4cb738645cc8c468ba6dc95d660d796856817350c7d110df3f730051be8dc +MISC ChangeLog 346 RMD160 83d7428ad88071892c9ed051f631be988f1f3174 SHA1 2df0c0395d9dbdaabc559e63c4a12345057ef816 SHA256 d39a4a44bafe8dd6b8f808913a5074828114451d4d05c3208a2e9c8e82e29569 +MISC metadata.xml 205 RMD160 934c811ce2118963118b8ad86da1ec2814dd285f SHA1 f75079bfb666a750926732a1606474fee17093df SHA256 e319f1701f6be29c8e077049d77738b69b72be0458754ef90ad9a684f2ec1722 diff --git a/dev-java/snakeyaml/metadata.xml b/dev-java/snakeyaml/metadata.xml new file mode 100644 index 000000000000..82a57ccd5243 --- /dev/null +++ b/dev-java/snakeyaml/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> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/dev-java/snakeyaml/snakeyaml-1.9.ebuild b/dev-java/snakeyaml/snakeyaml-1.9.ebuild new file mode 100644 index 000000000000..e9b1537960f1 --- /dev/null +++ b/dev-java/snakeyaml/snakeyaml-1.9.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/snakeyaml/snakeyaml-1.9.ebuild,v 1.1 2012/01/23 19:22:09 sera Exp $ + +EAPI="4" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A YAML 1.1 parser and emitter for Java 5" +HOMEPAGE="http://code.google.com/p/snakeyaml/" +SRC_URI="http://snakeyaml.googlecode.com/files/SnakeYAML-all-${PV}.zip" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.5" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/${PN}" +JAVA_SRC_DIR="src/main/java" + +java_prepare() { + find "${WORKDIR}" -name '*.class' -exec rm {} + + + # Easier to use java-pkg-simple. + rm -v pom.xml || die +} + +src_install() { + java-pkg-simple_src_install + dodoc AUTHORS src/etc/announcement.msg +} |