Version bump with source, examples USE flags, and src_test.
authorVlastimil Babka <caster@gentoo.org>
Tue, 24 Apr 2007 21:49:55 +0000 (21:49 +0000)
committerVlastimil Babka <caster@gentoo.org>
Tue, 24 Apr 2007 21:49:55 +0000 (21:49 +0000)
Package-Manager: portage-2.1.2.4

dev-java/xmlrpc/ChangeLog
dev-java/xmlrpc/Manifest
dev-java/xmlrpc/files/digest-xmlrpc-2.0.1 [new file with mode: 0644]
dev-java/xmlrpc/files/xmlrpc-2.0.1.build.xml.patch [new file with mode: 0644]
dev-java/xmlrpc/xmlrpc-2.0.1.ebuild [new file with mode: 0644]

index 736e2cac5c8613729fb31cbf825e6d68a1fda361..da396d973f2db0dc2ca2f0a0194a0954283ddd5f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/xmlrpc
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlrpc/ChangeLog,v 1.11 2007/01/05 23:44:09 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlrpc/ChangeLog,v 1.12 2007/04/24 21:49:55 caster Exp $
+
+*xmlrpc-2.0.1 (24 Apr 2007)
+
+  24 Apr 2007; Vlastimil Babka <caster@gentoo.org>
+  +files/xmlrpc-2.0.1.build.xml.patch, +xmlrpc-2.0.1.ebuild:
+  Version bump with source, examples USE flags, and src_test.
 
   05 Jan 2007; Vlastimil Babka <caster@gentoo.org>
   xmlrpc-1.2_beta1-r1.ebuild, xmlrpc-1.2_beta1-r2.ebuild:
index fe2a2bf24b30f13a6e2de73c7f5812ba2156cefe..43ca57acede3eaab024e5eebbc9f080a6baa5a9c 100644 (file)
@@ -1,4 +1,9 @@
+AUX xmlrpc-2.0.1.build.xml.patch 545 RMD160 5b860983632c44d521d500e71760d0c3c9d62342 SHA1 9017a4b94860f99bb0675ea9b8bc18cf1e05aa37 SHA256 4a0ed867d84ce6a40ff2c0ab94455768f75214b7dc8312115e691a2456c1a152
+MD5 9d0aaff5137e58214bc81feeb948de97 files/xmlrpc-2.0.1.build.xml.patch 545
+RMD160 5b860983632c44d521d500e71760d0c3c9d62342 files/xmlrpc-2.0.1.build.xml.patch 545
+SHA256 4a0ed867d84ce6a40ff2c0ab94455768f75214b7dc8312115e691a2456c1a152 files/xmlrpc-2.0.1.build.xml.patch 545
 DIST xmlrpc-1.2-b1-src.tar.gz 77775 RMD160 a01c5593ee9240f99a470abd1cb6665c4cfd18fd SHA1 05a14fb214bb7ab26644c53643695712ac66e45b SHA256 559a87b3f4f435651ea11d620ee021b6127737d567d76236cec99b07c68df57d
+DIST xmlrpc-2.0.1-src.tar.gz 125131 RMD160 45764367409a2ede68bacc86f6ad749163a335bf SHA1 3fec2d1b53a404c1c4caf4bdd179ef17e33c8801 SHA256 02b47f20ab8cc50100ad27e2de29b40983145ee5341b31ec14e1f95239349179
 EBUILD xmlrpc-1.2_beta1-r1.ebuild 1321 RMD160 6f75b65bf911bfead2f7788be89f2e23bfb57349 SHA1 885385859472e5ecacd7e6b5aab04cfd22815b65 SHA256 21c8600ffeb63b6c04665a146505f79dfced5867485cfa66362522ab613b820b
 MD5 850a8d009b51b63c66b241e1c2525504 xmlrpc-1.2_beta1-r1.ebuild 1321
 RMD160 6f75b65bf911bfead2f7788be89f2e23bfb57349 xmlrpc-1.2_beta1-r1.ebuild 1321
@@ -7,10 +12,14 @@ EBUILD xmlrpc-1.2_beta1-r2.ebuild 1244 RMD160 3a3d6d9ff54b137291db92c703ceed94f1
 MD5 cec1100829568888ce1baf1edb76b030 xmlrpc-1.2_beta1-r2.ebuild 1244
 RMD160 3a3d6d9ff54b137291db92c703ceed94f144c04b xmlrpc-1.2_beta1-r2.ebuild 1244
 SHA256 980bc5e15d9c0c7cb09cef9487d5cdf27447985b44cd67fcf47f307c582f6a66 xmlrpc-1.2_beta1-r2.ebuild 1244
-MISC ChangeLog 1631 RMD160 38500d0d2297111c290d4b2e5b948dd761c03af9 SHA1 8edbc04a7ff0b579a44fc0358b90e143a25486bb SHA256 456310e92215473a0bc616ebe80bdd53cef8863117262ffb093ddb6f620f8650
-MD5 784296fa20df1054a214ca95c8c1bd7e ChangeLog 1631
-RMD160 38500d0d2297111c290d4b2e5b948dd761c03af9 ChangeLog 1631
-SHA256 456310e92215473a0bc616ebe80bdd53cef8863117262ffb093ddb6f620f8650 ChangeLog 1631
+EBUILD xmlrpc-2.0.1.ebuild 1734 RMD160 e11ea58fdd5146559ecf729638f7479d3d672379 SHA1 f8272fa8c9668e8cbe01db21d47f5bd847dc2cc8 SHA256 b53d17aac5ad3055ef8974377093fec50055c7009717bef719075b4d54f51239
+MD5 4fdb1685f231badad55e9e9397ef2c98 xmlrpc-2.0.1.ebuild 1734
+RMD160 e11ea58fdd5146559ecf729638f7479d3d672379 xmlrpc-2.0.1.ebuild 1734
+SHA256 b53d17aac5ad3055ef8974377093fec50055c7009717bef719075b4d54f51239 xmlrpc-2.0.1.ebuild 1734
+MISC ChangeLog 1835 RMD160 0da61075a0c8456cef17796ae8c9cf1118c8ed19 SHA1 e8a14f4176f809e47b2c981f37d164a13e2e161d SHA256 07a8633bf31eb739758a856b86a99fb99238a706e2a74d524f8781f68ee89c9f
+MD5 3f4d16d82539b5c942c70662151a37cb ChangeLog 1835
+RMD160 0da61075a0c8456cef17796ae8c9cf1118c8ed19 ChangeLog 1835
+SHA256 07a8633bf31eb739758a856b86a99fb99238a706e2a74d524f8781f68ee89c9f ChangeLog 1835
 MISC metadata.xml 368 RMD160 9c0eb4795c751ea98af957d183fee10e665f9049 SHA1 30e1b51c53e739166e424d4117971abfca2820fe SHA256 fee40e1ff98fe226e7ba076b927340e5a1c4f559a283e3c7d3f43ff37cc174a2
 MD5 2b185c626e63daaa682ff058d5558869 metadata.xml 368
 RMD160 9c0eb4795c751ea98af957d183fee10e665f9049 metadata.xml 368
@@ -21,3 +30,6 @@ SHA256 9e08ce02c1cd84b0890033de2ebd65bbd85bec3cf818ba258f2f8f6f4f5f41fb files/di
 MD5 ec76de92c00a72beffd5d19c6b1cedf0 files/digest-xmlrpc-1.2_beta1-r2 250
 RMD160 b0e50b9ee8564e69c2a42885cd603916cf30f323 files/digest-xmlrpc-1.2_beta1-r2 250
 SHA256 9e08ce02c1cd84b0890033de2ebd65bbd85bec3cf818ba258f2f8f6f4f5f41fb files/digest-xmlrpc-1.2_beta1-r2 250
+MD5 456d111453dce990f65bb700dd239113 files/digest-xmlrpc-2.0.1 250
+RMD160 919931c896ca130ed716ac321a84ac6c2c33e2dc files/digest-xmlrpc-2.0.1 250
+SHA256 c5df21fd36b91e1b2b7c0115103d45b5d43d8e1e534733cf10a87d1c782ed81e files/digest-xmlrpc-2.0.1 250
diff --git a/dev-java/xmlrpc/files/digest-xmlrpc-2.0.1 b/dev-java/xmlrpc/files/digest-xmlrpc-2.0.1
new file mode 100644 (file)
index 0000000..4a9b2dc
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b88cc15b25d9bd688b1889d2ad234125 xmlrpc-2.0.1-src.tar.gz 125131
+RMD160 45764367409a2ede68bacc86f6ad749163a335bf xmlrpc-2.0.1-src.tar.gz 125131
+SHA256 02b47f20ab8cc50100ad27e2de29b40983145ee5341b31ec14e1f95239349179 xmlrpc-2.0.1-src.tar.gz 125131
diff --git a/dev-java/xmlrpc/files/xmlrpc-2.0.1.build.xml.patch b/dev-java/xmlrpc/files/xmlrpc-2.0.1.build.xml.patch
new file mode 100644 (file)
index 0000000..d4bfefd
--- /dev/null
@@ -0,0 +1,14 @@
+--- build.xml.orig     2005-12-21 10:09:45.000000000 +0100
++++ build.xml  2007-04-24 23:28:42.000000000 +0200
+@@ -302,9 +302,10 @@
+     <delete dir="${test.reportsDirectory}"/>
+     <mkdir dir="${test.reportsDirectory}"/>
+     
+-    <junit printSummary="yes">
++    <junit printSummary="yes" haltonfailure="true">
+       <formatter type="plain"/>
+       <classpath refid="classpath"/>
++        <classpath path="${gentoo.classpath}"/>
+       <classpath>
+         <!-- <pathelement location="${xerces.jar}"/> -->
+         <pathelement path="${build.dest}"/>
diff --git a/dev-java/xmlrpc/xmlrpc-2.0.1.ebuild b/dev-java/xmlrpc/xmlrpc-2.0.1.ebuild
new file mode 100644 (file)
index 0000000..054a8b2
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlrpc/xmlrpc-2.0.1.ebuild,v 1.1 2007/04/24 21:49:55 caster Exp $
+
+JAVA_PKG_IUSE="doc examples source test"
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Apache XML-RPC is a Java implementation of XML-RPC"
+HOMEPAGE="http://ws.apache.org/xmlrpc/"
+SRC_URI="mirror://apache/ws/xmlrpc/sources/${P}-src.tar.gz"
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+CDEPEND="=dev-java/commons-httpclient-3*
+       dev-java/commons-codec"
+DEPEND=">=virtual/jdk-1.4
+       test? ( dev-java/ant-junit =dev-java/junit-3* )
+       ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.4
+       ${CDEPEND}"
+IUSE=""
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # add gentoo.classpath and haltonfailure to <junit>
+       epatch "${FILESDIR}/${P}.build.xml.patch"
+       java-ant_ignore-system-classes
+       java-ant_rewrite-classpath
+
+       mkdir lib && cd lib
+       # stupid <available> check
+       use test && java-pkg_jar-from --build-only junit junit.jar junit-3.8.1.jar
+}
+
+EANT_EXTRA_ARGS="-Dversion=${PV} -Dhave.deps=true"
+EANT_BUILD_TARGET="jar"
+EANT_DOC_TARGET="javadocs"
+EANT_GENTOO_CLASSPATH="commons-httpclient-3,commons-codec"
+
+src_test() {
+       ANT_TASKS="ant-junit" eant ${EANT_EXTRA_ARGS} test
+}
+
+src_install() {
+       java-pkg_newjar target/xmlrpc-${PV}.jar ${PN}.jar
+       java-pkg_newjar target/xmlrpc-${PV}-applet.jar ${PN}-applet.jar
+
+       newdoc README.txt README
+
+       use doc && java-pkg_dojavadoc target/docs/api
+       use examples && java-pkg_doexamples examples
+       use source && java-pkg_dosrc src/java/*
+}
+
+pkg_postinst() {
+       elog "This port does not currently build Servlet and/or SSL extensions. If"
+       elog "you need them, please file a bug or contact java@gentoo.org."
+}
+