diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-03-29 00:13:43 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-03-29 00:13:43 +0000 |
commit | 8136b7ab74a4e20e01b95630e39d79e7cdfff447 (patch) | |
tree | d0b901a40ba385543a6aa46476ba45582ec163a1 /dev-java | |
parent | - keyword ~arm (diff) | |
download | historical-8136b7ab74a4e20e01b95630e39d79e7cdfff447.tar.gz historical-8136b7ab74a4e20e01b95630e39d79e7cdfff447.tar.bz2 historical-8136b7ab74a4e20e01b95630e39d79e7cdfff447.zip |
Moving stringtemplate to the main tree from java-experimental. Several Java team members showed in the logs. Part of bug #146952.
Package-Manager: portage-2.2_rc27/cvs/Linux i686
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/stringtemplate/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/stringtemplate/Manifest | 15 | ||||
-rw-r--r-- | dev-java/stringtemplate/files/stringtemplate-3.1_beta1-javadoc.patch | 19 | ||||
-rw-r--r-- | dev-java/stringtemplate/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/stringtemplate/stringtemplate-3.2.ebuild | 54 |
5 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/stringtemplate/ChangeLog b/dev-java/stringtemplate/ChangeLog new file mode 100644 index 000000000000..5ac43fd3b559 --- /dev/null +++ b/dev-java/stringtemplate/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/stringtemplate +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/stringtemplate/ChangeLog,v 1.1 2009/03/29 00:13:43 betelgeuse Exp $ + +*stringtemplate-3.2 (29 Mar 2009) + + 29 Mar 2009; Petteri Räty <betelgeuse@gentoo.org> + +files/stringtemplate-3.1_beta1-javadoc.patch, +metadata.xml, + +stringtemplate-3.2.ebuild: + Moving stringtemplate to the main tree from java-experimental. Several Java + team members showed in the logs. Part of bug #146952. + diff --git a/dev-java/stringtemplate/Manifest b/dev-java/stringtemplate/Manifest new file mode 100644 index 000000000000..6319a82c2eef --- /dev/null +++ b/dev-java/stringtemplate/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX stringtemplate-3.1_beta1-javadoc.patch 676 RMD160 cc9ffd418a91160491ae777720cb0139f8ff6638 SHA1 0771cde5b0d1b9d49cdb7f1ec0b2f086b6b1eff4 SHA256 f08974bef0f7e794ab8761cc5ff26e0b9dd9c5ba81224cc23561487018e4a5e1 +DIST stringtemplate-3.2.tar.gz 741708 RMD160 257928e55d187fe66f9493829f1ff3cb48ed6f60 SHA1 b4a51b362c88b0cd10b1e1ef8046d87cdd0d7cb2 SHA256 de85449fca6c11bf2efff73fa2c852ccf84b0db1e129a6948748659952f6825e +EBUILD stringtemplate-3.2.ebuild 1335 RMD160 89a5e55d6b0d097585380d53fd5fdc5b7d1a1344 SHA1 b2ae211f958387cb0628a9a694ac9c3052bbcc1a SHA256 6a26585bdd40d5c18f68c398ce21e06971d80f3df66028942cef6c8f81bb8b58 +MISC ChangeLog 540 RMD160 4de03da115ce5525fea59535c157240ecd55e365 SHA1 19a453a19b4550bb34559817d6dbfd2ee4769974 SHA256 123ea7247713ba6b0d3f54bcee206d7bd3dfbfbe47ae563e51686c78c7e3762a +MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAknOvcMACgkQcxLzpIGCsLQQmgCfaTvpIv5l/dsqKX6Op6WALB/q +KbYAni92pWBHQJikLYGvEkDgJcih7mua +=fnPP +-----END PGP SIGNATURE----- diff --git a/dev-java/stringtemplate/files/stringtemplate-3.1_beta1-javadoc.patch b/dev-java/stringtemplate/files/stringtemplate-3.1_beta1-javadoc.patch new file mode 100644 index 000000000000..c4fbbf119f12 --- /dev/null +++ b/dev-java/stringtemplate/files/stringtemplate-3.1_beta1-javadoc.patch @@ -0,0 +1,19 @@ +--- build.xml 2007-05-25 23:07:06.000000000 +0200 ++++ build.xml 2007-05-25 23:07:31.000000000 +0200 +@@ -189,7 +189,7 @@ + <!-- =================================================================== -->
+ <target name="javadocs" depends="init,prepare-sources">
+ <mkdir dir="${build.javadocs}"/>
+- <javadoc packagenames="${packages}"
++ <javadoc + sourcepath="${build.src}"
+ destdir="${build.javadocs}"
+ author="true"
+@@ -197,7 +197,6 @@ + windowtitle="${Name} API"
+ doctitle="${Name} API Documentation"
+ bottom="Copyright © ${copyright}"
+- additionalparam="${javadocs.additionalparam}"
+ />
+ </target>
+
diff --git a/dev-java/stringtemplate/metadata.xml b/dev-java/stringtemplate/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/stringtemplate/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/dev-java/stringtemplate/stringtemplate-3.2.ebuild b/dev-java/stringtemplate/stringtemplate-3.2.ebuild new file mode 100644 index 000000000000..617d155117be --- /dev/null +++ b/dev-java/stringtemplate/stringtemplate-3.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/stringtemplate/stringtemplate-3.2.ebuild,v 1.1 2009/03/29 00:13:43 betelgeuse Exp $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" +WANT_ANT_TASKS="ant-antlr" + +inherit eutils java-pkg-2 java-ant-2 + +MY_PV="${PV/_beta/b}" +S_PV="${PV/_beta/.b}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A Java template engine" +HOMEPAGE="http://www.stringtemplate.org/" +SRC_URI="http://www.stringtemplate.org/download/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +# no junit targets in build.xml, but unconditional compile and jar of test +# classes, oh well +COMMON_DEPEND="dev-java/antlr:0 + dev-java/junit:0" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" + +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEPEND}" + +S="${WORKDIR}/${PN}-${S_PV}" + +java_prepare() { + # fix <javadoc> call + epatch "${FILESDIR}/${PN}-3.1_beta1-javadoc.patch" + java-ant_rewrite-classpath + rm -v lib/*.jar || die + # force regeneration with our antlr2 + touch src/org/antlr/stringtemplate/language/*.g || die +} + +EANT_GENTOO_CLASSPATH="antlr,junit" +EANT_DOC_TARGET="javadocs" + +src_install() { + java-pkg_dojar build/${PN}.jar + + dodoc README.txt CHANGES.txt || die + use doc && java-pkg_dojavadoc docs/api + use source && java-pkg_dosrc src/org +} |