From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-java/tapestry/Manifest | 6 ++ dev-java/tapestry/files/Version.properties | 5 ++ dev-java/tapestry/files/build.properties | 32 ++++++++++ dev-java/tapestry/files/common.properties | 94 ++++++++++++++++++++++++++++++ dev-java/tapestry/metadata.xml | 15 +++++ dev-java/tapestry/tapestry-3.0.4-r3.ebuild | 69 ++++++++++++++++++++++ 6 files changed, 221 insertions(+) create mode 100644 dev-java/tapestry/Manifest create mode 100644 dev-java/tapestry/files/Version.properties create mode 100644 dev-java/tapestry/files/build.properties create mode 100644 dev-java/tapestry/files/common.properties create mode 100644 dev-java/tapestry/metadata.xml create mode 100644 dev-java/tapestry/tapestry-3.0.4-r3.ebuild (limited to 'dev-java/tapestry') diff --git a/dev-java/tapestry/Manifest b/dev-java/tapestry/Manifest new file mode 100644 index 000000000000..904d84ed504d --- /dev/null +++ b/dev-java/tapestry/Manifest @@ -0,0 +1,6 @@ +AUX Version.properties 162 BLAKE2B ebc22304b272f3862d87d0f838408c8e1d839c80d76f86f83e265b3f737273d8baedd5eced689f119e079e7d164820ae0a9ff3916b8b0969ca2ad14ebcf34f19 SHA512 f2b2c2fab2c670cd21f9b5a1ed0940d5a568230c3a0b13b59bee92310c47755c12f020454e2891c2561c978a2427677b15690ab21159ed6d79676e3e83e4622f +AUX build.properties 1141 BLAKE2B 02c5b606d35bf1e94b147f04da4f6c626276fd85e8634514c00c7a610726c734ee83ef8c9e5f283703eaf12bfa958ebce345ef2d74138d49b1524ca5fa29f642 SHA512 3cfe36782bed225811884e97a2261719c6d7c82470621e54701114c0e4e18ca0ba673f5f97861840c0e822ede9dd86097d8c77aecf3a392de82cd5573049d0bc +AUX common.properties 2850 BLAKE2B e1745cd8c7cc162f3c8d8d797b88ecbc1fa4e35831d581639fbab512c31311793f8beee3f147c267d675e0960f0a753c3f5e74230f825551973d58c9367b0623 SHA512 a00b28fde7e90100c017238150fd7c830cacc4bc6a24e7a9bd90fbd32bd6bf8a3787a8a178f6ed78033621a47503b1517e9485ffc60d5ffbfe5752254713283b +DIST Tapestry-3.0.4-src.zip 1174780 BLAKE2B 2f2ad5e3860ed6852962b282431df15ae4f6f17f0d08e4246dcef69bcdd033acafe881ea3ba33bd38c2dcf8843caf37fb0b46da84c5b107c2d1c4a0d77aaf89a SHA512 ab94cee9745fceeecbc98a27ace90567b3bc8ab880408da0a32526ba3a68b24f90daeca5d2ea0180b5693ae4fd12f01f0db98e78f176cdc0a0370b5554aa9d10 +EBUILD tapestry-3.0.4-r3.ebuild 1683 BLAKE2B e921c3f2c0941d673980b5feecf12aee3de03b661f3b34bf8193bb556d7e82d411e635245bb37cd98d0a445dcabe79ecbb318b7bcbb585db0d3b703d419e8539 SHA512 a1fc2c507a330c0469902627b56ff7884901ca957645c4dc582dd9c3784b0eb0640b584ea656e49bb6d2e419b2f26667f2fd64a2c50ed51649c3c59793b393ee +MISC metadata.xml 750 BLAKE2B 57a35e8c3abe2476a1d35896ef702db76748f91065a68fca93b8f9f5117c7bc6d3ad9a100bf9c4164e2aea8e2f51db5ae77debe651e5a915d48aa6b120c19f4e SHA512 65e251c97e3c5fff6f3bd40910a5ee7b2e5152a86d3638aeb870283f8e415c833da3666647fc25add19e96c0534d5fac39090646cccc9cc10a2b07f5bcc5885f diff --git a/dev-java/tapestry/files/Version.properties b/dev-java/tapestry/files/Version.properties new file mode 100644 index 000000000000..4b67c327efa1 --- /dev/null +++ b/dev-java/tapestry/files/Version.properties @@ -0,0 +1,5 @@ +# $Id: Version.properties 390452 2006-03-31 11:34:17 -0500 (Fri, 31 Mar 2006) jkuhnert $ +# +# Stores the version number of the framework. + +framework.version=3.0.4 diff --git a/dev-java/tapestry/files/build.properties b/dev-java/tapestry/files/build.properties new file mode 100644 index 000000000000..b82007cc4202 --- /dev/null +++ b/dev-java/tapestry/files/build.properties @@ -0,0 +1,32 @@ +# $Id: build.properties.sample 243768 2004-02-04 13:04:22Z mindbridge $ +# This file is used to configure the Tapestry build. +# Copy it as "build.properties" and fill in the necessary data. + +# The absolute path to the directory where external distributions +# used in the building process will be downloaded and installed +base.path=/usr/share/java + +# The absolute path to the directory containing the JBoss installation. +# Required to execute the configure and run-jboss targets. +jboss.dir= + +# The absolute path to the directory containing the Tomcat installation. +# Required to execute the deploy-tomcat target. +# +tomcat.dir= + +# The absolute path to the directory containing the Jetty installation. +# Required to execute the run-workbench target. +jetty.dir= + +# The absolute path to the directory containing the Jython installation. +# Required to execute the junit target. +jython.dir= + +# Home for xml-forrest, used to build documentation. +# Available from :pserver:anoncvs@cvs.apache.org:/home/cvspublic as module xml-forrest +# Build forrest, then set to the shbat directory, i.e. +# C:/workspace/xml-forrest/build/dist/shbat + +forrest.home= + diff --git a/dev-java/tapestry/files/common.properties b/dev-java/tapestry/files/common.properties new file mode 100644 index 000000000000..775eec976ea3 --- /dev/null +++ b/dev-java/tapestry/files/common.properties @@ -0,0 +1,94 @@ +# $Id: common.properties 385802 2006-03-14 13:47:10Z jkuhnert $ +# +# Specifies some general properties used throughout. +# Each build.xml must specify root.dir (as a relative path). + +lib.dir=lib + +root.lib.dir=${root.dir}/${lib.dir} + +ext.dist.dir=${root.dir}/ext-dist + +root.config.dir=${root.dir}/config + +framework.jar=tapestry-${framework.version}.jar +contrib.jar=tapestry-contrib-${framework.version}.jar + +examples.dir=${root.lib.dir}/examples + +vlib.war=vlib.war +vlib.ear=vlib.ear +vlibbeans.jar=vlibbeans.jar +workbench.war=workbench.war +wap.war=wap.war + +ext.download.dir=${ext.dist.dir}/downloads + +# Names of directories under lib + +ext.dir=ext +j2ee.dir=j2ee +runtime.dir=runtime + +jboss.lib.dir=${jboss.dir}/lib +jboss.client.dir=${jboss.dir}/client +jboss.server.all.lib.dir=${jboss.dir}/server/all/lib + +# Directory containing source code and package resources +src.dir=src + +# Directory containing compiled Java code +classes.dir=classes + +# Used as part of copyrights + +copyright.years=2000-2004 + +# ----- JUnit Unit Test Suite, version 3.8 or later ----- +junit.home=${ext.download.dir}/junit3.8.1 +junit.lib=${junit.home} +junit.jar=${junit.lib}/junit.jar +junit.ext.jar=${ext.dist.dir}/junit.jar +junit.loc=http://telia.dl.sourceforge.net/sourceforge/junit/junit3.8.1.zip + +# ----- JDOM Library, version 1.0 ----- +jdom.home=${ext.download.dir}/jdom-1.0 +jdom.lib=${jdom.home} +jdom.jar=${jdom.lib}/build/jdom.jar +jdom.ext.jar=${ext.dist.dir}/jdom-1.0.jar +jdom.loc=http://www.jdom.org/dist/binary/jdom-1.0.tar.gz + +# ----- McKoi Pure Java Database, version 1.0.2 ----- +mckoi.home=${ext.download.dir}/mckoi1.0.2 +mckoi.lib=${mckoi.home} +mckoi.jar=${mckoi.lib}/mckoidb.jar +mckoi.ext.jar=${ext.dist.dir}/mckoidb.jar +mckoi.loc=http://www.mckoi.com/database/ver/mckoi1.0.2.zip + +# ----- DocBook XML, version 4.1.2 ----- +docbookxml.file=${ext.dist.dir}/docbkx412.zip +docbookxml.loc=http://www.docbook.org/xml/4.1.2/docbkx412.zip + +# ----- DocBook XSL, version 1.64.1 ----- +docbookxsl.file=${ext.dist.dir}/docbook-xsl-1.64.1.zip +docbookxsl.loc=http://telia.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.64.1.zip + +# ----- Apache Forrest, version 0.5.1 ----- +forrestdl.home=${ext.download.dir}/apache-forrest-0.5.1-bin +forrestdl.ant.xml=${forrestdl.home}/forrest.antproxy.xml +forrestdl.loc=http://archive.apache.org/dist/forrest/pre-0.6/apache-forrest-0.5.1-bin.zip + +# ---- OGNL ---- +ognl.version=2.6.7 +ognl.loc=http://ognl.org/${ognl.version}/ognl-${ognl.version}.jar +ognl.dest=${root.lib.dir}/${ext.dir}/ognl-${ognl.version}.jar + +# ---- Javassist ---- + +javassist.version=2.5.1 +javassist.loc=http://umn.dl.sourceforge.net/sourceforge/jboss/javassist-${javassist.version}.zip +javassist.dest=${ext.download.dir}/javassist-${javassist.version} +javassist.ext.jar=${root.lib.dir}/${ext.dir}/javassist-${javassist.version}.jar +javassist.jar=${javassist.dest}/javassist.jar + + diff --git a/dev-java/tapestry/metadata.xml b/dev-java/tapestry/metadata.xml new file mode 100644 index 000000000000..63cc3f846416 --- /dev/null +++ b/dev-java/tapestry/metadata.xml @@ -0,0 +1,15 @@ + + + + + java@gentoo.org + Java + + +Tapestry is a powerful, open-source, all-Java framework for creating leading edge web applications in Java. + +Tapestry reconceptualizes web application development in terms of objects, methods and properties instead of URLs and query parameters. + +Tapestry is an alternative to scripting environments such as JavaServer Pages or Velocity. Tapestry goes far further, providing a complete framework for creating extremely dynamic applications with minimal amounts of coding. + + diff --git a/dev-java/tapestry/tapestry-3.0.4-r3.ebuild b/dev-java/tapestry/tapestry-3.0.4-r3.ebuild new file mode 100644 index 000000000000..19824e4645a7 --- /dev/null +++ b/dev-java/tapestry/tapestry-3.0.4-r3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Dynamic, robust, highly scalable web framework in Java" +HOMEPAGE="https://tapestry.apache.org/" +SRC_URI="mirror://apache/${PN}/Tapestry-${PV}-src.zip" + +IUSE="${JAVA_PKG_IUSE}" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="amd64 x86" + +CDEPEND=" + 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:3.0 + dev-java/tomcat-servlet-api:2.4 +" +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.4 +" +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.4 +" + +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+=",tomcat-servlet-api-2.4,ognl-3.0,bsf-2.3,jakarta-oro-2.0" +EANT_GENTOO_CLASSPATH+=",javassist-2" + +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_prepare() { + default + + 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 +} -- cgit v1.2.3