diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2010-03-17 09:32:53 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2010-03-17 09:32:53 +0000 |
commit | 4420a5853d1ecc95c27cafa821fa4b777efb21b6 (patch) | |
tree | 9222f73e5f875054ec8c3f16ecbefcbc8cf24dfc /dev-java/velocity | |
parent | Version bump for dev channel release. (diff) | |
download | gentoo-2-4420a5853d1ecc95c27cafa821fa4b777efb21b6.tar.gz gentoo-2-4420a5853d1ecc95c27cafa821fa4b777efb21b6.tar.bz2 gentoo-2-4420a5853d1ecc95c27cafa821fa4b777efb21b6.zip |
Version bump and restrict tests. see #219668.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/velocity')
-rw-r--r-- | dev-java/velocity/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/velocity/velocity-1.5-r1.ebuild | 7 | ||||
-rw-r--r-- | dev-java/velocity/velocity-1.6.3.ebuild | 84 |
3 files changed, 97 insertions, 4 deletions
diff --git a/dev-java/velocity/ChangeLog b/dev-java/velocity/ChangeLog index 93773a583070..b78c9d5fdc4f 100644 --- a/dev-java/velocity/ChangeLog +++ b/dev-java/velocity/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/velocity -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/ChangeLog,v 1.41 2008/05/02 20:01:03 opfer Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/ChangeLog,v 1.42 2010/03/17 09:32:53 ali_bush Exp $ + +*velocity-1.6.3 (16 Mar 2010) + + 16 Mar 2010; Alistair Bush <ali_bush@gentoo.org> velocity-1.5-r1.ebuild, + +velocity-1.6.3.ebuild: + Version bump and restrict tests. see #219668. 02 May 2008; Christian Faulhammer <opfer@gentoo.org> velocity-1.5-r1.ebuild: diff --git a/dev-java/velocity/velocity-1.5-r1.ebuild b/dev-java/velocity/velocity-1.5-r1.ebuild index eda6a4139ea6..ca8e135b49eb 100644 --- a/dev-java/velocity/velocity-1.5-r1.ebuild +++ b/dev-java/velocity/velocity-1.5-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/velocity-1.5-r1.ebuild,v 1.3 2008/05/02 20:01:03 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/velocity-1.5-r1.ebuild,v 1.4 2010/03/17 09:32:53 ali_bush Exp $ EAPI=1 JAVA_PKG_IUSE="examples doc source test" @@ -58,6 +58,9 @@ src_compile () { eant jar -Dskip-download=true #prebuilt javadocs } +#One test fails see #219668 :( +RESTRICT="test" + src_test() { mkdir -p bin/test-lib || die cd bin/test-lib || die diff --git a/dev-java/velocity/velocity-1.6.3.ebuild b/dev-java/velocity/velocity-1.6.3.ebuild new file mode 100644 index 000000000000..3fc24686c0da --- /dev/null +++ b/dev-java/velocity/velocity-1.6.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/velocity-1.6.3.ebuild,v 1.1 2010/03/17 09:32:53 ali_bush Exp $ + +EAPI="2" +JAVA_PKG_IUSE="examples doc source test" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="A Java-based template engine for easy creation/rendering of documents that format and present data." +HOMEPAGE="http://velocity.apache.org" +SRC_URI="mirror://apache/${PN}/engine/${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +JAVA_PKG_FILTER_COMPILER="jikes" +CDEPEND=" + dev-java/commons-lang:2.1 + dev-java/commons-collections:0 + dev-java/commons-logging:0 + dev-java/jdom:1.0 + dev-java/log4j:0 + dev-java/avalon-logkit:2.0 + dev-java/jakarta-oro:2.0 + java-virtuals/servlet-api:2.3 + dev-java/werken-xpath:0 + dev-java/ant-core:0" +DEPEND=">=virtual/jdk-1.4 + test? ( + dev-java/ant-junit:0 + dev-java/ant-antlr:0 + dev-db/hsqldb:0 + ) + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.4 + ${CDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + rm -v *.jar lib/test/*.jar lib/*.jar || die + + mkdir -p bin/lib + cd bin/lib || die + + java-pkg_jar-from commons-lang-2.1 + java-pkg_jar-from commons-logging commons-logging-api.jar \ + commons-logging.jar + java-pkg_jar-from --virtual servlet-api-2.3 + java-pkg_jar-from jdom-1.0,log4j,avalon-logkit-2.0 + java-pkg_jar-from ant-core,commons-collections + java-pkg_jar-from werken-xpath,jakarta-oro-2.0 +} + +src_compile () { + cd "${S}/build" + eant jar -Dskip-download=true #prebuilt javadocs +} + +#One test fails. see #219668 +RESTRICT="test" + +src_test() { + mkdir -p bin/test-lib || die + cd bin/test-lib || die + java-pkg_jar-from junit,hsqldb + java-pkg_jar-from --virtual servlet-api-2.3 + cd "${S}/build" + ANT_TASKS="ant-junit ant-antlr" eant test -Dskip-download=true +} + +src_install () { + java-pkg_newjar bin/*.jar + + dodoc NOTICE README.txt || die + # has other stuff besides api too + use doc && java-pkg_dohtml -r docs/* + use examples && java-pkg_doexamples examples + use source && java-pkg_dosrc src/java/* +} |