summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-01-23 13:17:46 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-01-23 13:17:46 +0000
commit6d7f1d95662e5cf843d13109aafc85e1d43e2a0d (patch)
tree5898efefc38decc2cb1a18229315d54c2e9a25d3 /dev-java/soap
parentAdd epic (diff)
downloadgentoo-2-6d7f1d95662e5cf843d13109aafc85e1d43e2a0d.tar.gz
gentoo-2-6d7f1d95662e5cf843d13109aafc85e1d43e2a0d.tar.bz2
gentoo-2-6d7f1d95662e5cf843d13109aafc85e1d43e2a0d.zip
Revbump and EAPI bump.
Replace dep on dev-java/servletapi with java-virtuals/servlet-api. #398689 Replace dep on dev-java/sun-jaf with java-virtuals/jaf Only register optional dep on dev-java/xerces Drop obsolete workaround for javadoc generation. Use default src_compile Fix SRC_URI, the project was archived and is no longer available via mirrors. (Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/soap')
-rw-r--r--dev-java/soap/ChangeLog15
-rw-r--r--dev-java/soap/soap-2.3.1-r3.ebuild51
2 files changed, 64 insertions, 2 deletions
diff --git a/dev-java/soap/ChangeLog b/dev-java/soap/ChangeLog
index 0b228b798e40..d20d8eaa4553 100644
--- a/dev-java/soap/ChangeLog
+++ b/dev-java/soap/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for dev-java/soap
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/soap/ChangeLog,v 1.13 2008/05/17 14:23:45 ken69267 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/soap/ChangeLog,v 1.14 2012/01/23 13:17:46 sera Exp $
+
+*soap-2.3.1-r3 (23 Jan 2012)
+
+ 23 Jan 2012; Ralph Sennhauser <sera@gentoo.org> +soap-2.3.1-r3.ebuild:
+ Revbump and EAPI bump.
+ Replace dep on dev-java/servletapi with java-virtuals/servlet-api. #398689
+ Replace dep on dev-java/sun-jaf with java-virtuals/jaf
+ Only register optional dep on dev-java/xerces
+ Drop obsolete workaround for javadoc generation.
+ Use default src_compile
+ Fix SRC_URI, the project was archived and is no longer available via mirrors.
17 May 2008; Kenneth Prugh <ken69267@gentoo.org> soap-2.3.1-r2.ebuild:
amd64 stable, bug #219665
diff --git a/dev-java/soap/soap-2.3.1-r3.ebuild b/dev-java/soap/soap-2.3.1-r3.ebuild
new file mode 100644
index 000000000000..c2f57d086355
--- /dev/null
+++ b/dev-java/soap/soap-2.3.1-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/soap/soap-2.3.1-r3.ebuild,v 1.1 2012/01/23 13:17:46 sera Exp $
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2 versionator
+
+DESCRIPTION="Apache SOAP (Simple Object Access Protocol) is an implementation of the SOAP submission to W3C"
+HOMEPAGE="http://ws.apache.org/soap/"
+SRC_URI="http://archive.apache.org/dist/ws/soap/version-${PV}/soap-src-${PV}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="
+ java-virtuals/jaf:0
+ java-virtuals/javamail:0
+ java-virtuals/servlet-api:3.0"
+RDEPEND="
+ >=virtual/jre-1.4
+ ${CDEPEND}"
+DEPEND="
+ >=virtual/jdk-1.4
+ ${CDEPEND}"
+
+S="${WORKDIR}"/${PN}-$(replace_all_version_separators _)
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+java_prepare() {
+ # get rid of automagical tests, add gentoo.classpath to <javac>
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+}
+
+EANT_GENTOO_CLASSPATH="javamail,jaf,servlet-api-3.0"
+EANT_BUILD_TARGET="compile"
+EANT_DOC_TARGET="javadocs"
+
+src_install() {
+ java-pkg_dojar build/lib/${PN}.jar
+
+ java-pkg_register-optional-dependency xerces-2
+
+ use doc && java-pkg_dojavadoc build/javadocs
+ use source && java-pkg_dosrc src/org
+}