diff options
Diffstat (limited to 'dev-java/xmlrpc')
-rw-r--r-- | dev-java/xmlrpc/Manifest | 4 | ||||
-rw-r--r-- | dev-java/xmlrpc/metadata.xml | 13 | ||||
-rw-r--r-- | dev-java/xmlrpc/xmlrpc-3.1.3.ebuild | 61 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/xmlrpc/Manifest b/dev-java/xmlrpc/Manifest new file mode 100644 index 000000000000..89c9702eb0fd --- /dev/null +++ b/dev-java/xmlrpc/Manifest @@ -0,0 +1,4 @@ +DIST apache-xmlrpc-3.1.3-src.tar.bz2 134788 BLAKE2B e37c588ddd7017d5dda9fb8241baafbff0e93a567bb45b7f102e712149b5b8f0bf75385ae68f2318a3696e3da7239a466afbc979a8a9842a60a7050031c2dcbc SHA512 6ace33922604b9ee48ce578a5988252ae288fe37c303f98757ab283854f97a8c21b01103fe87ca5eb21ce8c04ffcc5bbf2b0328726348bfb2d43cb29d7b5c5af +DIST xmlrpc-3.1.3-build.tar.gz 3133 BLAKE2B e1cc23334ea561be3900dd70df6157a9818d02dd0b1e93fb63bc033218d51ce080130c2820abbff53d3bd24120ba814c4c099a295f705c01d8256a1d10d1e7dd SHA512 e1613c21a8145994f88ab68c3e64503f6217bb962249a08055f5c24257c0aa3adeb868710c65842c64e2a3e9e1d52dd614a30454be027eb1a939b6f0fc966b57 +EBUILD xmlrpc-3.1.3.ebuild 1603 BLAKE2B e55d4d7efcadbb4a337fa716af783dd4216ff59c35e4480b0a9ba71fa2f10fb7bfa1ffa29d10146eee5cacbbfe49fae06d9f8d2670669313f555b67c56a997b6 SHA512 7e0656bcb29436c558b25c08557c4074bce1e12fada529933b58335ae8d42980222e25967c20aa11095b9f864095312454bc50a7d4d8acc0c9e6131fc1c636ae +MISC metadata.xml 449 BLAKE2B 011fe7cc6a50256054367b90f784d316e85a8706deda835fb69b7952f0597da65185fffa6565edeeed490e234a55a3cd2b3bae1885fb413bb937cf0e47f8bee4 SHA512 77e3706f3bdc80624dcccc20204ce6f5fdc1c47af5afd39375a1ebce7436207636e9b9c962a5439f082af6e22d88f2d19b2c384970d715f699916cc901c59fc2 diff --git a/dev-java/xmlrpc/metadata.xml b/dev-java/xmlrpc/metadata.xml new file mode 100644 index 000000000000..535c71949d07 --- /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/* +} |