diff options
Diffstat (limited to 'dev-java/xmlrpc')
-rw-r--r-- | dev-java/xmlrpc/Manifest | 6 | ||||
-rw-r--r-- | dev-java/xmlrpc/metadata.xml | 13 | ||||
-rw-r--r-- | dev-java/xmlrpc/xmlrpc-3.1.3.ebuild | 61 |
3 files changed, 80 insertions, 0 deletions
diff --git a/dev-java/xmlrpc/Manifest b/dev-java/xmlrpc/Manifest new file mode 100644 index 000000000000..feda482322ec --- /dev/null +++ b/dev-java/xmlrpc/Manifest @@ -0,0 +1,6 @@ +DIST apache-xmlrpc-3.1.3-src.tar.bz2 134788 SHA256 648a4ea5a5228408ea32e3efe184261b4c07ebc10fc0a4533e3969c0543dd70f SHA512 6ace33922604b9ee48ce578a5988252ae288fe37c303f98757ab283854f97a8c21b01103fe87ca5eb21ce8c04ffcc5bbf2b0328726348bfb2d43cb29d7b5c5af WHIRLPOOL 017ae57d61faa358caf313cb1ee4dc14d71762f20cbe48048eedbbb2bfa7f99a492525756bc66c0b084142e170a27355079b5334a9fcff6472c7c7bfa9068918 +DIST xmlrpc-3.1.3-build.tar.gz 3133 SHA256 12343e33da90cc73c7536d146d58cfcf1f5247a6d12f9cab4ef0affc89930e83 SHA512 e1613c21a8145994f88ab68c3e64503f6217bb962249a08055f5c24257c0aa3adeb868710c65842c64e2a3e9e1d52dd614a30454be027eb1a939b6f0fc966b57 WHIRLPOOL 632c7f864df9edd9aa7ad55851c64e2f7e48ad2c2adb6e2d42b99d0c0da4b5a57675760389779e6898773f9cb4a38816fc063af28876476db63f68c2eb0a7b17 +EBUILD xmlrpc-3.1.3.ebuild 1603 SHA256 6f53dbf330fcc7b1a278a71cb31ec4131bdfe9834338d9b98f6fa4d3e6b29367 SHA512 7e0656bcb29436c558b25c08557c4074bce1e12fada529933b58335ae8d42980222e25967c20aa11095b9f864095312454bc50a7d4d8acc0c9e6131fc1c636ae WHIRLPOOL a739e046ec141650ba2229c0a0e1f09ef691b40a79a8bc3eabc54f25125f68fabeccd758cd78a2437e92e40adc2c74c6c9991bafaceafef0d0bd98f2ed7030a2 +MISC ChangeLog 2761 SHA256 d1a1edc2a7982a8e37f1cccc45dfe742728a58663a3f3f0d3cabc11ff36a0d2e SHA512 9b07dea3b5364f5600293e6c72509fe07e2e68b76acab9bbf3fc31d905d7afdb5c4d3e70e29496ebb26335caf7580ca2fbb42139316a6c859297480a400d08f9 WHIRLPOOL be37ab92a0275950ee9bca37015f759cd6a9d16437f524be1707b014d2cae22fb778005d113b53f8dca33062a8f731af5a635d147732eb3a7097405a3cb0d64a +MISC ChangeLog-2015 3202 SHA256 4d42c36045409d9f31bf782852efec55f9561d0476e8f35acc9e232205edc202 SHA512 b9a5f25bd54980fa4fbc7c4f2fe67e5eba4a0a1f4cf757e7e89784f447a2dbc5598af7d4d3d78631165ea1f7233f21bdb2df3d6df2c8940703616bcd6ab93f45 WHIRLPOOL 2ac1a84894eee2c2efc9c197a1f0bdf960b738755b71d688005c6e7073e250e446a0b3d6c51cbcaa345e355d85182638b4226d14ac8d369b8ead1bc1cb3cae41 +MISC metadata.xml 443 SHA256 75d01fb623122150a145096a9e67110c1d4ad135d13f5be2fb91ce4267396871 SHA512 82f3e6900e581cf20196b589d8948c2204ba57d569709196f9e535b61a39342e7515f4fd36847b119c46d398d8c416697ed46ed9199a5549c2b22e9f51a2d368 WHIRLPOOL 6d3a1cf7c1381e01afbfc4fd84c8b578618359ad61cfd7907159d05ea4132dd788eb5d7fe953a70cdf1be1d2bac753b2c9ea01c9adb5c3769f39e936b934bfc3 diff --git a/dev-java/xmlrpc/metadata.xml b/dev-java/xmlrpc/metadata.xml new file mode 100644 index 000000000000..0f98dc1259cc --- /dev/null +++ b/dev-java/xmlrpc/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> +</maintainer> +<longdescription> + Apache XML-RPC (previously known as Helma XML-RPC) is a Java + implementation of XML-RPC, a popular protocol that uses XML over + HTTP to implement remote procedure calls. +</longdescription> +</pkgmetadata> diff --git a/dev-java/xmlrpc/xmlrpc-3.1.3.ebuild b/dev-java/xmlrpc/xmlrpc-3.1.3.ebuild new file mode 100644 index 000000000000..ef2e39853971 --- /dev/null +++ b/dev-java/xmlrpc/xmlrpc-3.1.3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc 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="https://archive.apache.org/dist/ws/${PN}/sources/apache-${P}-src.tar.bz2 + https://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}-build.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3" +KEYWORDS="amd64 x86" + +CDEPEND="dev-java/commons-httpclient:3 + dev-java/commons-codec:0 + dev-java/ws-commons-util:0 + dev-java/commons-logging:0 + java-virtuals/servlet-api:2.4 + " +DEPEND=">=virtual/jdk-1.6 + test? ( + dev-java/ant-junit:0 + dev-java/junit:4 + ) + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +IUSE="" + +S="${WORKDIR}/apache-${P}-src" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="commons-httpclient-3,commons-codec,ws-commons-util" +EANT_GENTOO_CLASSPATH+=",commons-logging" # client +EANT_GENTOO_CLASSPATH+=",servlet-api-2.4" # server +EANT_GENTOO_CLASSPATH_EXTRA="${S}/common/target/${PN}-common.jar" + +java_prepare() { + # Doesn't work. + rm -v \ + server/src/test/java/org/apache/xmlrpc/test/SerializerTest.java +} + +EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4,ant-junit" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-pkg_dojar common/target/xmlrpc-common.jar server/target/xmlrpc-server.jar client/target/xmlrpc-client.jar + + use doc && java-pkg_dojavadoc {common,server,client}/target/site/apidocs + use source && java-pkg_dosrc {common,server,client}/src/main/java/* +} |