Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/stringtemplate: metadata.xml stringtemplate-3.2.ebuild ChangeLog
Date: Sun, 29 Mar 2009 00:13:45
Message-Id: E1Lniel-000718-Dt@stork.gentoo.org
1 betelgeuse 09/03/29 00:13:43
2
3 Added: metadata.xml stringtemplate-3.2.ebuild ChangeLog
4 Log:
5 Moving stringtemplate to the main tree from java-experimental. Several Java team members showed in the logs. Part of bug #146952.
6 (Portage version: 2.2_rc27/cvs/Linux i686)
7
8 Revision Changes Path
9 1.1 dev-java/stringtemplate/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/stringtemplate/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/stringtemplate/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>java</herd>
20 </pkgmetadata>
21
22
23
24 1.1 dev-java/stringtemplate/stringtemplate-3.2.ebuild
25
26 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/stringtemplate/stringtemplate-3.2.ebuild?rev=1.1&view=markup
27 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/stringtemplate/stringtemplate-3.2.ebuild?rev=1.1&content-type=text/plain
28
29 Index: stringtemplate-3.2.ebuild
30 ===================================================================
31 # Copyright 1999-2009 Gentoo Foundation
32 # Distributed under the terms of the GNU General Public License v2
33 # $Header: /var/cvsroot/gentoo-x86/dev-java/stringtemplate/stringtemplate-3.2.ebuild,v 1.1 2009/03/29 00:13:43 betelgeuse Exp $
34
35 EAPI="2"
36 JAVA_PKG_IUSE="doc source"
37 WANT_ANT_TASKS="ant-antlr"
38
39 inherit eutils java-pkg-2 java-ant-2
40
41 MY_PV="${PV/_beta/b}"
42 S_PV="${PV/_beta/.b}"
43 MY_P="${PN}-${MY_PV}"
44
45 DESCRIPTION="A Java template engine"
46 HOMEPAGE="http://www.stringtemplate.org/"
47 SRC_URI="http://www.stringtemplate.org/download/${MY_P}.tar.gz"
48 LICENSE="BSD"
49 SLOT="0"
50 KEYWORDS="~x86"
51 IUSE=""
52
53 # no junit targets in build.xml, but unconditional compile and jar of test
54 # classes, oh well
55 COMMON_DEPEND="dev-java/antlr:0
56 dev-java/junit:0"
57
58 RDEPEND=">=virtual/jre-1.4
59 ${COMMON_DEPEND}"
60
61 DEPEND=">=virtual/jdk-1.4
62 ${COMMON_DEPEND}"
63
64 S="${WORKDIR}/${PN}-${S_PV}"
65
66 java_prepare() {
67 # fix <javadoc> call
68 epatch "${FILESDIR}/${PN}-3.1_beta1-javadoc.patch"
69 java-ant_rewrite-classpath
70 rm -v lib/*.jar || die
71 # force regeneration with our antlr2
72 touch src/org/antlr/stringtemplate/language/*.g || die
73 }
74
75 EANT_GENTOO_CLASSPATH="antlr,junit"
76 EANT_DOC_TARGET="javadocs"
77
78 src_install() {
79 java-pkg_dojar build/${PN}.jar
80
81 dodoc README.txt CHANGES.txt || die
82 use doc && java-pkg_dojavadoc docs/api
83 use source && java-pkg_dosrc src/org
84 }
85
86
87
88 1.1 dev-java/stringtemplate/ChangeLog
89
90 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/stringtemplate/ChangeLog?rev=1.1&view=markup
91 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/stringtemplate/ChangeLog?rev=1.1&content-type=text/plain
92
93 Index: ChangeLog
94 ===================================================================
95 # ChangeLog for dev-java/stringtemplate
96 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
97 # $Header: /var/cvsroot/gentoo-x86/dev-java/stringtemplate/ChangeLog,v 1.1 2009/03/29 00:13:43 betelgeuse Exp $
98
99 *stringtemplate-3.2 (29 Mar 2009)
100
101 29 Mar 2009; Petteri Räty <betelgeuse@g.o>
102 +files/stringtemplate-3.1_beta1-javadoc.patch, +metadata.xml,
103 +stringtemplate-3.2.ebuild:
104 Moving stringtemplate to the main tree from java-experimental. Several Java
105 team members showed in the logs. Part of bug #146952.