Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68742 Details for
Bug 106239
Version bump: dev-java/jython-2.2.1 (after almost 2 years and several rcs and 2.2)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new version of proposed ebuild
jython-2.2_alpha1.ebuild (text/plain), 2.87 KB, created by
Santiago Gala
on 2005-09-18 10:20:56 UTC
(
hide
)
Description:
new version of proposed ebuild
Filename:
MIME Type:
Creator:
Santiago Gala
Created:
2005-09-18 10:20:56 UTC
Size:
2.87 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.1-r6.ebuild,v 1.3 2005/07/09 16:06:00 axxo Exp $ > >inherit java-pkg > >DESCRIPTION="An implementation of Python written in Java" >HOMEPAGE="http://www.jython.org" >MY_PV="Release_2_2alpha1" ># uses CPython library from version... >PYVER="2.2" >SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}.jar" >#SRC_URI="mirror://gentoo/${P}.tar.bz2" >S=${WORKDIR} >LICENSE="JPython" >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64" >IUSE="readline jikes source doc servlet" > >RDEPEND=">=virtual/jre-1.2 > readline? ( >=dev-java/libreadline-java-0.8.0 )" >DEPEND=">=virtual/jdk-1.2 > dev-java/ant > =dev-lang/python-${PYVER}* > source? ( app-arch/zip ) > jikes? ( >=dev-java/jikes-1.18 ) > servlet? ( =dev-java/servletapi-2.4* ) > ${RDEPEND}" > >src_compile() { > # don't know how to dynamically find a python library > local pylib=$(python${PYVER} -c 'import site; print "/".join(site.__file__.split("/")[:-1])') > local antflags="--noconfig -Dbase.path=src/java -Dsource.dir=src/java > -Dpython.lib=${pylib} -Dpython.exe=/usr/bin/python${PYVER}" > use jikes && antflags="${antflags} -Dbuild.compiler=jikes" > use readline && antflags="${antflags} -Dreadline.present=yes > -Dreadline.jar=$(java-config --classpath libreadline-java)" > # not really need 2.4, but java-config will not answer without a slot > use servlet && antflags="${antflags} -Dservlet.present=yes > -Dservlet.jar=$(java-pkg_getjars servletapi-2.4)" > > # patch a small error in build.xml > sed -ie 's@"org/python/modules@"${source.dir}/org/python/modules@' build.xml > # another one > cp -r build.Lib.include.properties Lib src/java > # LC_ALL=C prevents java failing in utf-8 filesystems > LC_ALL=C ant ${antflags} || die "compile failed" >} > >src_install() { > > java-pkg_dojar dist/${PN}.jar > dodoc README.txt NEWS ACKNOWLEDGMENTS > use doc && java-pkg_dohtml -A .css .jpg .gif -r Doc/* > dobin ${FILESDIR}/jython > dobin ${FILESDIR}/jythonc > > # Not in a multiuser system. > # The setting in jython will create it in ${HOME}/cachedir > #dodir /usr/share/jython/cachedir > #chmod -R a+rw ${D}/usr/share/jython/cachedir > > insinto /usr/share/${PN} > doins -r dist/Lib > > insinto /usr/share/${PN}/tools > doins -r Tools/* > > use source && java-pkg_dosrc org src/java/* >} > >pkg_postinst() { > if use readline; then > einfo "To use readline you need to add the following to your registery" > einfo > einfo "python.console=org.python.util.ReadlineConsole" > einfo "python.console.readlinelib=GnuReadline" > einfo > einfo "and make sure that java.library.path includes /usr/lib" > einfo "/usr/bin/jython will do it." > einfo > einfo "The global registry can be found in /usr/share/${PN}/registry" > einfo "User registry in \$HOME/.jython" > einfo "See http://www.jython.org/docs/registry.html for more information" > fi >}
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 Raw
Actions:
View
Attachments on
bug 106239
:
68645
|
68646
| 68742 |
68796
|
114304
|
115531
|
123403
|
124748