Initial ebuild, moved from java overlay, also see bug #159398
authorMiroslav Šulc <fordfrog@gentoo.org>
Sat, 20 Jan 2007 22:37:20 +0000 (22:37 +0000)
committerMiroslav Šulc <fordfrog@gentoo.org>
Sat, 20 Jan 2007 22:37:20 +0000 (22:37 +0000)
Package-Manager: portage-2.1.2-r1

dev-java/rome/ChangeLog [new file with mode: 0644]
dev-java/rome/Manifest [new file with mode: 0644]
dev-java/rome/files/digest-rome-0.9 [new file with mode: 0644]
dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch [new file with mode: 0644]
dev-java/rome/metadata.xml [new file with mode: 0644]
dev-java/rome/rome-0.9.ebuild [new file with mode: 0644]

diff --git a/dev-java/rome/ChangeLog b/dev-java/rome/ChangeLog
new file mode 100644 (file)
index 0000000..46a2072
--- /dev/null
@@ -0,0 +1,7 @@
+# ChangeLog for dev-java/rome
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/ChangeLog,v 1.1 2007/01/20 22:37:20 fordfrog Exp $
+
+  20 Jan 2007; Miroslav Šulc <fordfrog@gentoo.org> ChangeLog:
+  Initial ebuild, moved from java overlay, also see bug #159398.
+
diff --git a/dev-java/rome/Manifest b/dev-java/rome/Manifest
new file mode 100644 (file)
index 0000000..c57626e
--- /dev/null
@@ -0,0 +1,20 @@
+AUX rome-0.9-build.xml-test-upstream.patch 527 RMD160 6ee49d678a52253e70873d1a0deb77b7fa7bc2c5 SHA1 0e9de53fbb5e16657e308d4e909fd9fc27c56d39 SHA256 fc1771d6487d4f37c0f60ac33f50f6d9caa6a4e1b8db82a457e2f9fe1f6e40dd
+MD5 b7b90458d6d427951fd962f0e7293ad8 files/rome-0.9-build.xml-test-upstream.patch 527
+RMD160 6ee49d678a52253e70873d1a0deb77b7fa7bc2c5 files/rome-0.9-build.xml-test-upstream.patch 527
+SHA256 fc1771d6487d4f37c0f60ac33f50f6d9caa6a4e1b8db82a457e2f9fe1f6e40dd files/rome-0.9-build.xml-test-upstream.patch 527
+DIST rome-0.9-src.zip 248755 RMD160 0e687ef34b3c2355bd041cb5bc92a666e8d5d50f SHA1 9039adfe835cd5542a5fb49c826d028afa8f7712 SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f
+EBUILD rome-0.9.ebuild 1239 RMD160 714f517d1a3a8dc0aec0b3dd8587d7da61b43218 SHA1 a4728e320807ba6f6ca3d83c9111d2d72f31cb42 SHA256 a8e2091b8b40984c31494e1e9dc7bb1bf3df8cce22c0d70ea178f0cc02bdd40f
+MD5 4cd15e963fb64dd77a01506099f1533e rome-0.9.ebuild 1239
+RMD160 714f517d1a3a8dc0aec0b3dd8587d7da61b43218 rome-0.9.ebuild 1239
+SHA256 a8e2091b8b40984c31494e1e9dc7bb1bf3df8cce22c0d70ea178f0cc02bdd40f rome-0.9.ebuild 1239
+MISC ChangeLog 330 RMD160 885669dc88e077c5770b36d9f176d11f808ccfab SHA1 3cc671bed32368bfcc4754b3a991a298f0eaded2 SHA256 eee1704b5a6f84cd44a839bbe68a79adf7c0d0a65f49b85580ed44b7cdc70397
+MD5 60dace2c6ad143766d02cae5f6dabc42 ChangeLog 330
+RMD160 885669dc88e077c5770b36d9f176d11f808ccfab ChangeLog 330
+SHA256 eee1704b5a6f84cd44a839bbe68a79adf7c0d0a65f49b85580ed44b7cdc70397 ChangeLog 330
+MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2
+MD5 a28ef1dbcd9ec5d985e36f5b538891b5 metadata.xml 217
+RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 metadata.xml 217
+SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2 metadata.xml 217
+MD5 7d1717043da3e3f33ae5455ba27005aa files/digest-rome-0.9 229
+RMD160 23ff8d5669b4a015fcdb998d599eab52fa0c94fb files/digest-rome-0.9 229
+SHA256 6b8360898dbae9b5624ae89da7e8a79fc0b13b0307eb67531d885f4a4009be0c files/digest-rome-0.9 229
diff --git a/dev-java/rome/files/digest-rome-0.9 b/dev-java/rome/files/digest-rome-0.9
new file mode 100644 (file)
index 0000000..a7e7cb8
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 717a9ef33e5adeffa6465ee8014ed631 rome-0.9-src.zip 248755
+RMD160 0e687ef34b3c2355bd041cb5bc92a666e8d5d50f rome-0.9-src.zip 248755
+SHA256 c8e8674de5b204d02ce8b5e33fa5f848f23ee4e4746c60ebc7ccf52a1ac97a4f rome-0.9-src.zip 248755
diff --git a/dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch b/dev-java/rome/files/rome-0.9-build.xml-test-upstream.patch
new file mode 100644 (file)
index 0000000..95e53f4
--- /dev/null
@@ -0,0 +1,17 @@
+===================================================================
+RCS file: /opt/sourcecast/data/ccvs/repository/rome/build.xml,v
+retrieving revision 1.14
+retrieving revision 1.15
+diff -u -r1.14 -r1.15
+--- rome/build.xml     2006/12/04 21:47:37     1.14
++++ rome/build.xml     2006/12/26 14:35:46     1.15
+@@ -131,6 +131,9 @@
+       <fileset dir="src/data">
+         <include name="**/*.xml" />
+       </fileset>
++      <fileset dir="src/test">
++        <include name="**/*.properties" />
++      </fileset>
+     </copy>    
+   </target>
+   
diff --git a/dev-java/rome/metadata.xml b/dev-java/rome/metadata.xml
new file mode 100644 (file)
index 0000000..4075832
--- /dev/null
@@ -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>java@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-java/rome/rome-0.9.ebuild b/dev-java/rome/rome-0.9.ebuild
new file mode 100644 (file)
index 0000000..ed0efd6
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/rome/rome-0.9.ebuild,v 1.1 2007/01/20 22:37:20 fordfrog Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="An open source set of Atom/RSS Java utilities that make it easy to work in Java with most syndication formats"
+HOMEPAGE="https://rome.dev.java.net/"
+SRC_URI="https://rome.dev.java.net/source/browse/*checkout*/rome/www/dist/${P}-src.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc source test"
+
+COMMON_DEPEND=">=dev-java/jdom-1.0"
+DEPEND=">=virtual/jdk-1.4
+       app-arch/unzip
+       source? ( app-arch/zip )
+       test? (
+               dev-java/ant
+               =dev-java/junit-3.8*
+       )
+       !test? ( dev-java/ant-core )
+       ${COMMON_DEPEND}"
+RDEPEND=">=virtual/jre-1.4
+       ${COMMON_DEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       # Patch build.xml so the tests pass
+       epatch ${FILESDIR}/${P}-build.xml-test-upstream.patch
+
+       # Symlink jars
+       mkdir -p target/lib
+       cd target/lib
+       java-pkg_jar-from jdom-1.0
+       use test && java-pkg_jar-from junit
+}
+
+src_install() {
+       java-pkg_newjar target/${P}.jar
+
+       use doc && java-pkg_dojavadoc dist/docs/api
+       use source && java-pkg_dosrc src/java/*
+}
+
+src_test() {
+       eant test
+}