From d94c4d20f807a9b43f4c11196baf5ef7b23dadec Mon Sep 17 00:00:00 2001 From: Tom Wijsman Date: Sat, 8 Mar 2014 17:55:22 +0000 Subject: Revision bump. EAPI 5. (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) --- dev-java/tapestry/ChangeLog | 11 +++-- dev-java/tapestry/tapestry-3.0.4-r1.ebuild | 70 ++++++++++++++++++++++++++++ dev-java/tapestry/tapestry-3.0.4.ebuild | 74 ------------------------------ 3 files changed, 78 insertions(+), 77 deletions(-) create mode 100644 dev-java/tapestry/tapestry-3.0.4-r1.ebuild delete mode 100644 dev-java/tapestry/tapestry-3.0.4.ebuild (limited to 'dev-java/tapestry') diff --git a/dev-java/tapestry/ChangeLog b/dev-java/tapestry/ChangeLog index 98c195da5e34..0c50e6b1bf7c 100644 --- a/dev-java/tapestry/ChangeLog +++ b/dev-java/tapestry/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/tapestry -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/ChangeLog,v 1.3 2008/10/21 20:48:35 betelgeuse Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/ChangeLog,v 1.4 2014/03/08 17:55:22 tomwij Exp $ + +*tapestry-3.0.4-r1 (08 Mar 2014) + + 08 Mar 2014; Tom Wijsman +tapestry-3.0.4-r1.ebuild, + -tapestry-3.0.4.ebuild: + Revision bump. EAPI 5. 21 Oct 2008; Petteri Räty tapestry-3.0.4.ebuild: Migrate to slot dependencies. @@ -15,4 +21,3 @@ +files/common.properties, +metadata.xml, +tapestry-3.0.4.ebuild: Adding tapestry package. Ebuild provided by elvantor with some cleanup performed by myself. - diff --git a/dev-java/tapestry/tapestry-3.0.4-r1.ebuild b/dev-java/tapestry/tapestry-3.0.4-r1.ebuild new file mode 100644 index 000000000000..7fb363319998 --- /dev/null +++ b/dev-java/tapestry/tapestry-3.0.4-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/tapestry-3.0.4-r1.ebuild,v 1.1 2014/03/08 17:55:22 tomwij Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Tapestry is an open-source framework for creating dynamic, robust, highly scalable web applications in Java." +HOMEPAGE="http://tapestry.apache.org/" +SRC_URI="mirror://apache/${PN}/Tapestry-${PV}-src.zip" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEP=" + dev-java/bsf:2.3 + dev-java/commons-beanutils:1.7 + dev-java/commons-codec:0 + dev-java/commons-digester:0 + dev-java/commons-fileupload:0 + dev-java/commons-lang:2.1 + dev-java/commons-logging:0 + dev-java/jakarta-oro:2.0 + dev-java/javassist:2 + dev-java/ognl:2.6 + dev-java/servletapi:2.4" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip:0 + ${COMMON_DEP}" + +IUSE="${JAVA_PKG_IUSE}" + +S="${WORKDIR}/Tapestry-${PV}" + +EANT_GENTOO_CLASSPATH="commons-logging,commons-fileupload,commons-lang-2.1" +EANT_GENTOO_CLASSPATH+=",commons-codec,commons-beanutils-1.7,commons-digester" +EANT_GENTOO_CLASSPATH+=",servletapi-2.4,ognl-2.6,bsf-2.3,jakarta-oro-2.0" +EANT_GENTOO_CLASSPATH+=",javassist-2" +JAVA_ANT_REWRITE_CLASSPATH="true" + +java_prepare() { + mkdir config lib || die + + cp "${FILESDIR}/Version.properties" config/ || die + cp "${FILESDIR}/build.properties" config/ || die + cp "${FILESDIR}/common.properties" config/ || die +} + +src_compile() { + cd "${S}/framework" || die + + eant -Dgentoo.classpath="$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH})" + + use doc && javadoc -sourcepath src/ org.apache.tapestry -d ../javadoc +} + +src_install() { + java-pkg_newjar "lib/${P}.jar" + + use source && java-pkg_dosrc framework/src/org + use doc && java-pkg_dojavadoc javadoc +} diff --git a/dev-java/tapestry/tapestry-3.0.4.ebuild b/dev-java/tapestry/tapestry-3.0.4.ebuild deleted file mode 100644 index b2fcb405d522..000000000000 --- a/dev-java/tapestry/tapestry-3.0.4.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/tapestry-3.0.4.ebuild,v 1.3 2008/10/21 20:48:35 betelgeuse Exp $ - -EAPI=1 -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Tapestry is an open-source framework for creating dynamic, robust, highly scalable web applications in Java." -SRC_URI="mirror://apache/${PN}/Tapestry-${PV}-src.zip" - -HOMEPAGE="http://tapestry.apache.org/" -LICENSE="Apache-2.0" -SLOT="3.0" -KEYWORDS="~x86 ~amd64" - -COMMON_DEP=" - dev-java/servletapi:2.4 - dev-java/commons-lang:2.1 - dev-java/commons-logging:0 - dev-java/commons-codec:0 - dev-java/commons-digester:0 - dev-java/commons-fileupload:0 - dev-java/commons-beanutils:1.7 - dev-java/bsf:2.3 - dev-java/jakarta-oro:2.0 - dev-java/javassist:2 - dev-java/ognl:2.6" - -RDEPEND=">=virtual/jre-1.4 - ${COMMON_DEP}" - -DEPEND=">=virtual/jdk-1.4 - app-arch/unzip - ${COMMON_DEP}" - -IUSE="" - -S="${WORKDIR}/Tapestry-${PV}" - -src_unpack() { - unpack ${A} - - cd "${S}/" - mkdir config - - cp "${FILESDIR}/Version.properties" config/ - cp "${FILESDIR}/build.properties" config/ - cp "${FILESDIR}/common.properties" config/ - - cd "${S}/framework" - java-ant_rewrite-classpath -} - -src_compile() { - mkdir lib - - cd framework - - gentoo_classpath="$(java-pkg_getjars commons-logging,commons-fileupload,commons-lang-2.1,commons-codec,commons-beanutils-1.7,commons-digester)" - gentoo_classpath="$gentoo_classpath:$(java-pkg_getjars servletapi-2.4,ognl-2.6,bsf-2.3,jakarta-oro-2.0,javassist-2)" - - eant -Dgentoo.classpath="$gentoo_classpath" - - use doc && javadoc -sourcepath src/ org.apache.tapestry -d ../javadoc -} - -src_install() { - java-pkg_newjar "lib/${P}.jar" - - use source && java-pkg_dosrc framework/src/org - use doc && java-pkg_dojavadoc javadoc -} -- cgit v1.2.3-65-gdbad