summaryrefslogtreecommitdiff
path: root/dev-java/wsdl4j
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/wsdl4j
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/wsdl4j')
-rw-r--r--dev-java/wsdl4j/Manifest7
-rw-r--r--dev-java/wsdl4j/files/1.6.2-tests-sandbox.patch11
-rw-r--r--dev-java/wsdl4j/metadata.xml11
-rw-r--r--dev-java/wsdl4j/wsdl4j-1.6.2.ebuild57
4 files changed, 86 insertions, 0 deletions
diff --git a/dev-java/wsdl4j/Manifest b/dev-java/wsdl4j/Manifest
new file mode 100644
index 000000000000..58874858ca0a
--- /dev/null
+++ b/dev-java/wsdl4j/Manifest
@@ -0,0 +1,7 @@
+AUX 1.6.2-tests-sandbox.patch 548 SHA256 eb4ba587bb3d9125e2982ebbb02add25aacc84d8a795b33f21baae164860dbc3 SHA512 bed0bcf00856309d8f628d4a41774a112bd26c651e9fdfa00af3113d780f430e6b50213fe0f743b486aafb78f11cdd924c4dd8eef64300715a8e88c64c11368b WHIRLPOOL 891b539cc38a4142a71ee594ab214776c45c8b632130cf03ec7302c632f704b91922fd0c5f1708dabd2b22827f7dd89fbb2ea6e43cf942a7023efa7806401bf3
+DIST jwsdltck-bin-1.2.zip 599377 SHA256 e4bd4987a2b437d5d7b0a302165c882db2fe5eed80cbdb5329cb0eaea5b42abb SHA512 a8f86d9895c588d752d266413e77c2a8db241e9cf9c199909f2e9d1d1b3b1b03eaa6b5841c62b0e7a7c779089eb6721797fdb4f2db841789a6a19884bd48711b WHIRLPOOL 764d6adea86aa93b656a38bb8245f44ee21c78795f7828246f31cd9c4db13eff84e0883d2aaa248fddda6a9e170d7d851960eb4a129c837e26c3709704fb7b02
+DIST wsdl4j-src-1.6.2.zip 172400 SHA256 9fe77f4a71700d005b185049d90c6430d1de50f058485b1b45f0efd767b5fa25 SHA512 55d0b8eb6a08cecd4a48223a9f29fe6ed0e00ec4dca99f44a04882efdba448601bb7dadcaa347e32e3ff5bb9e3334503d6666ca2a6276c7bb48b80acea57b751 WHIRLPOOL ff0c6e51e0a880f26ba02b9647fe5c033d69a12baa26d4f211f3951b886431f5bfd06c9533c0a6b7e970cb7870a1607a23a51f57e1cb5c21f4798e10756cecad
+EBUILD wsdl4j-1.6.2.ebuild 1381 SHA256 5d6f4b2a836b37647b597ef9625d04bae2167dad96881fc1edf245e5d34ccf8d SHA512 b1f58c256f08867fcb121d87465b85360e1bf3df8b9b9a9a326dabbda3f37f084ebddf1f7d394199b9ed261221d9968221b1d95c9c05ae807022318d8725289b WHIRLPOOL d4800752b5d3a00804fa92c18cf25eb38584be384a04df9a12f827e79dce2b29bd2c087a9fb56ffbac0b72a3df777aff403c07de3c562e44a26dc7e40363374f
+MISC ChangeLog 2595 SHA256 fee5d31f61ae68471da592fef9e7ffc4224d07d6a5924295d465faec44acd9a5 SHA512 8bf9e1031f4c03d7b0d41ea34993bd0453c94e5daf3ce6427fddbb97284ca8dd86bb1f0e5151d13d4ee421a79f9a2cbbf5220ff230f2c942c838f1de3ab5de90 WHIRLPOOL 9ecaa8ee9cdef3d7eda2109d20979ecfaab17c5df786f943057f117f25c29601d782bb69dd7899e1f0645e7451b803b9c7a60bd94a1d447d926969874198409f
+MISC ChangeLog-2015 3249 SHA256 da8e27048742a80db43c0c2614192d6b2f03ef1fcc3574760eebb281ad254100 SHA512 5c038206876a3dcf19ce8eb2df0585f7bd28f6ac4f77442b415d4c83bf1b8146640a32149b21492331add10e1921b87d2ffd33bdc8038f5c68b6c1c6ad3d8181 WHIRLPOOL d50f4b0fd6e493ab192711ba18588325705a834fdd16fde507ef6e4709fa5d4752a8ce626ebbd85b5bf64d0eceff02a606fde2367ebc942640f7191f2c4051d9
+MISC metadata.xml 314 SHA256 b026ac1202bffd0308416d7b45e36dd2c00cb8acb19ba27c3389252a9e6ea7e0 SHA512 2d7d312851cbed77b5a2156bb5d157f8f8fe911ef9c4eb16b645ca4b17892a7d70a02a9d07f8c36fb92a285717c68718e798d37eb140f2391e4ab828a60110fa WHIRLPOOL bd3236e38e5bc68944801c34f984bbd3e5959f22920e6f28130e9e6b0a60828a7ec074891515588c7007609639f413ac905c9eb1153d08c12be72b1a05c16c0b
diff --git a/dev-java/wsdl4j/files/1.6.2-tests-sandbox.patch b/dev-java/wsdl4j/files/1.6.2-tests-sandbox.patch
new file mode 100644
index 000000000000..7901a11a6fc0
--- /dev/null
+++ b/dev-java/wsdl4j/files/1.6.2-tests-sandbox.patch
@@ -0,0 +1,11 @@
+diff -ur wsdl4j-1_6_2.old/build.xml wsdl4j-1_6_2/build.xml
+--- wsdl4j-1_6_2.old/build.xml 2007-06-09 01:12:11.000000000 +0300
++++ wsdl4j-1_6_2/build.xml 2007-06-09 01:13:09.000000000 +0300
+@@ -279,6 +279,7 @@
+ <target name="test" depends="compile" if="junit.present">
+ <junit printsummary="on">
+ <sysproperty key="jwsdltck_home" value="./test"/>
++ <sysproperty key="java.home" value="${temp.dir}"/>
+ <sysproperty key="javax.wsdl.factory.WSDLFactoryCandidate"
+ value="com.ibm.wsdl.factory.WSDLFactoryImpl"/>
+
diff --git a/dev-java/wsdl4j/metadata.xml b/dev-java/wsdl4j/metadata.xml
new file mode 100644
index 000000000000..524efd7086e7
--- /dev/null
+++ b/dev-java/wsdl4j/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">jwsdltck</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/wsdl4j/wsdl4j-1.6.2.ebuild b/dev-java/wsdl4j/wsdl4j-1.6.2.ebuild
new file mode 100644
index 000000000000..2f661e8a0a81
--- /dev/null
+++ b/dev-java/wsdl4j/wsdl4j-1.6.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit versionator java-pkg-2 java-ant-2
+
+DESCRIPTION="Web Services Description Language for Java Toolkit (WSDL4J)"
+HOMEPAGE="http://wsdl4j.sourceforge.net"
+
+TCK="jwsdltck"
+TCK_V="1.2"
+
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip
+ test? ( mirror://sourceforge/${TCK}/${TCK}-bin-${TCK_V}.zip )"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64 x86 ~x86-fbsd"
+
+DEPEND=">=virtual/jdk-1.4
+ test? ( =dev-java/junit-3.8* )
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${PN}-$(replace_all_version_separators _)"
+TCK_S="${WORKDIR}/${TCK}-$(replace_all_version_separators _ ${TCK_V})"
+
+src_unpack() {
+ unpack ${A}
+ if use test; then
+ rm -v "${TCK_S}"/lib/*.jar || die
+ epatch "${FILESDIR}/1.6.2-tests-sandbox.patch"
+ fi
+}
+
+EANT_BUILD_TARGET="compile"
+EANT_DOC_TARGET="javadocs"
+
+src_test() {
+ ln -s "${TCK_S}" test
+ cd "${TCK_S}"
+ java-ant_rewrite-classpath
+ local junit="$(java-pkg_getjars junit)"
+ eant -Dbuild.lib="${S}/test/lib" compile \
+ -Dgentoo.classpath="${S}/build/lib/${PN}.jar:${junit}"
+ cd "${S}"
+ mkdir "${T}/lib"
+ ANT_TASKS="ant-junit" eant test -Dtemp.dir="${T}"
+}
+
+src_install() {
+ java-pkg_dojar build/lib/*.jar
+
+ use doc && java-pkg_dojavadoc build/javadocs/
+ use source && java-pkg_dosrc src/*
+}