summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-10 10:04:35 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-10 10:04:35 +0000
commite743e19eaf93b796ed05d9672affa8bbdbbcd8a2 (patch)
tree5c6255e1d5fa8c69381dc37026cf3697066825bc /dev-java/jython
parentstable on x86 (diff)
downloadhistorical-e743e19eaf93b796ed05d9672affa8bbdbbcd8a2.tar.gz
historical-e743e19eaf93b796ed05d9672affa8bbdbbcd8a2.tar.bz2
historical-e743e19eaf93b796ed05d9672affa8bbdbbcd8a2.zip
install the registry file, add the library path to the wrapper, added a comment in postinst on how to enable readline. closes bug 63496
Diffstat (limited to 'dev-java/jython')
-rw-r--r--dev-java/jython/ChangeLog7
-rw-r--r--dev-java/jython/Manifest12
-rw-r--r--dev-java/jython/files/jython2
-rw-r--r--dev-java/jython/jython-2.1-r5.ebuild16
4 files changed, 28 insertions, 9 deletions
diff --git a/dev-java/jython/ChangeLog b/dev-java/jython/ChangeLog
index 179757918158..f0e9720f378a 100644
--- a/dev-java/jython/ChangeLog
+++ b/dev-java/jython/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jython
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/ChangeLog,v 1.15 2004/09/04 13:00:36 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/ChangeLog,v 1.16 2004/09/10 10:04:35 axxo Exp $
+
+ 10 Sep 2004; Thomas Matthijs <axxo@gentoo.org> files/jython,
+ jython-2.1-r5.ebuild:
+ install the registry file, add the library path to the wrapper, added a
+ comment in postinst on how to enable readline. closes bug 63496
04 Sep 2004; Thomas Matthijs <axxo@gentoo.org> jython-2.1-r5.ebuild:
move jython-bin -> jython, stable on sparc
diff --git a/dev-java/jython/Manifest b/dev-java/jython/Manifest
index 64c8b8c2d354..7039072f9d78 100644
--- a/dev-java/jython/Manifest
+++ b/dev-java/jython/Manifest
@@ -1,18 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 202d5af6c0ff7fe35c463380356c3364 jython-2.1-r5.ebuild 1748
+MD5 b0dcae095e8895f04bcd906477d90ef2 jython-2.1-r5.ebuild 2216
MD5 094cb27cc20bffd85f29638e4605638a jython-2.1-r4.ebuild 2126
-MD5 52cbf73d43f8d38c8bc41cddd4d4a10e ChangeLog 2014
+MD5 377ab0f438761bee138b643a229de06b ChangeLog 2242
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 17272ca5f12bd9bb307210c12606d526 files/jythonc 67
-MD5 61d3aae70a79bd4b755cd408ad916037 files/jython 302
+MD5 b271f5441bb93491ead9f78332393451 files/jython 363
MD5 6b146a799308d0793ac04ee93bebfad2 files/digest-jython-2.1-r4 61
MD5 6b146a799308d0793ac04ee93bebfad2 files/digest-jython-2.1-r5 61
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBOby7/rLF9B432nYRAnrzAKCh2inec6287r3+sl1cgCanQ8gAPQCgxGS4
-Ip2DiN7fWm9TnwiQYKZC7JQ=
-=c1A8
+iD8DBQFBQXyH/rLF9B432nYRAskbAJ0Svqh1HMrOZDxai4MkMKdR/w4hRgCgh46i
+rR7JhR6hnvFvwVbSYRf9NpQ=
+=flPL
-----END PGP SIGNATURE-----
diff --git a/dev-java/jython/files/jython b/dev-java/jython/files/jython
index 585649c9eed5..cdc07048a204 100644
--- a/dev-java/jython/files/jython
+++ b/dev-java/jython/files/jython
@@ -4,4 +4,4 @@
# This file generated by Jython installer
# Created on XXX by root
-`java-config --java` -Dpython.home="/usr/share/jython" -classpath "`java-config --classpath=jython`:$CLASSPATH" "org.python.util.jython" "$@"
+`java-config --java` -Djava.library.path="/usr/lib/" -Dpython.home="/usr/share/jython" -classpath "`java-config --classpath=jython,libreadline-java 2>/dev/null`:$CLASSPATH" "org.python.util.jython" "$@"
diff --git a/dev-java/jython/jython-2.1-r5.ebuild b/dev-java/jython/jython-2.1-r5.ebuild
index c4e5955badb5..d64b5371b9d0 100644
--- a/dev-java/jython/jython-2.1-r5.ebuild
+++ b/dev-java/jython/jython-2.1-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.1-r5.ebuild,v 1.3 2004/09/04 13:00:36 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jython/jython-2.1-r5.ebuild,v 1.4 2004/09/10 10:04:35 axxo Exp $
inherit java-pkg
@@ -67,4 +67,18 @@ src_install() {
dodir /usr/share/${PN}/tools/
cp -R Tools/* ${D}/usr/share/${PN}/tools/
+ cp registry ${D}/usr/share/${PN}/
+}
+
+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 "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
}