Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186594 Details for
Bug 146952
dev-java/antlr-3.0 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add Python runtime support
antlr-3.1.3-python.patch (text/plain), 1.19 KB, created by
REMOVED ACCOUNT
on 2009-03-28 23:37:13 UTC
(
hide
)
Description:
add Python runtime support
Filename:
MIME Type:
Creator:
REMOVED ACCOUNT
Created:
2009-03-28 23:37:13 UTC
Size:
1.19 KB
patch
obsolete
>--- antlr-3.1.3.ebuild.orig 2009-03-29 00:23:57.000000000 +0100 >+++ antlr-3.1.3.ebuild 2009-03-29 00:34:49.000000000 +0100 >@@ -5,7 +5,7 @@ > EAPI="2" > JAVA_PKG_IUSE="source" > >-inherit eutils java-pkg-2 java-ant-2 >+inherit distutils eutils java-pkg-2 java-ant-2 > > DESCRIPTION="A parser generator for C++, C#, Java, and Python" > HOMEPAGE="http://www.antlr.org/" >@@ -13,7 +13,7 @@ > LICENSE="BSD" > SLOT="3" > KEYWORDS="~x86" >-IUSE="" >+IUSE="python" > > COMMON_DEPEND=">=dev-java/stringtemplate-3.2 > dev-java/antlr:0" >@@ -24,6 +24,8 @@ > DEPEND="${RDEPEND} > >=virtual/jdk-1.5" > >+PYTHON_MODNAME="antlr3" >+ > java_prepare() { > rm -v lib/*.jar lib/.*.jar || die > rm -v runtime/ActionScript/project/lib/*.jar || die >@@ -84,9 +86,21 @@ > > use source && java-pkg_dosrc tool/src/main/org \ > runtime/Java/src/main/java/org/ >+ >+ if use python ; then >+ cd runtime/Python >+ distutils_src_install >+ fi > } > > pkg_postinst() { >- elog "Currently the ebuild only has support for the Java backend." >+ use python && distutils_pkg_postinst >+ >+ elog "Currently the ebuild only has support for the Java and Python backends." > elog "gunit support is not included yet either." > } >+ >+pkg_postrm() { >+ use python && distutils_pkg_postrm >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 146952
: 186594