Date: Friday, July 4, 2014 @ 17:37:28 Author: fyan Revision: 114903 archrelease: copy trunk to community-any
Added: jython/repos/community-any/PKGBUILD (from rev 114902, jython/trunk/PKGBUILD) jython/repos/community-any/README.ArchLinux (from rev 114902, jython/trunk/README.ArchLinux) jython/repos/community-any/jython.install (from rev 114902, jython/trunk/jython.install) Deleted: jython/repos/community-any/PKGBUILD jython/repos/community-any/README.ArchLinux jython/repos/community-any/jython.install ------------------+ PKGBUILD | 78 ++++++++++++++++++++++++++--------------------------- README.ArchLinux | 74 +++++++++++++++++++++++++------------------------- jython.install | 40 +++++++++++++-------------- 3 files changed, 96 insertions(+), 96 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-07-04 15:37:04 UTC (rev 114902) +++ PKGBUILD 2014-07-04 15:37:28 UTC (rev 114903) @@ -1,39 +0,0 @@ -# $Id$ -# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> -# Contributor: Chris Brannon <cmbranno...@gmail.com> -# Contributor: Geoffroy Carrier <geoffroy.carr...@aur.archlinux.org> -# Contributor: Richard Murri <ad...@richardmurri.com> -pkgname=jython -pkgver=2.5.3 -pkgrel=1 -pkgdesc="An implementation of the Python language written in Java" -arch=('any') -url="http://www.jython.org/" -license=('PSF' 'APACHE' 'custom') -depends=('java-environment' 'bash' 'python') -backup=('opt/jython/registry') -options=('!emptydirs') -install='jython.install' -source=("http://search.maven.org/remotecontent?filepath=org/python/$pkgname-installer/$pkgver/$pkgname-installer-$pkgver.jar" - 'README.ArchLinux') - -noextract=(${pkgname}_installer-${pkgver}.jar) - -md5sums=('41633b4557483d6d4237ee79ffcebe7b' - '0a2e265af61c7d695e13b605dc180553') - -package() { - cd "$srcdir" - java -jar ${pkgname}-installer-${pkgver}.jar -s -t standard -d "$pkgdir"/opt/jython - sed -i s*"${pkgdir}"**g "${pkgdir}"/opt/jython/jython - - # Get rid of hard-coded JAVA_HOME, since all the JDKs don't use - # the same directory. - sed -i '/^JAVA_HOME=.*$/d' "${pkgdir}"/opt/jython/jython - - install -m755 -D "$pkgdir/opt/jython/jython" "$pkgdir/usr/bin/jython" - install -m644 -D "$srcdir/README.ArchLinux" "$pkgdir/usr/share/doc/$pkgname/README.ArchLinux" - - rm "$pkgdir/opt/jython/jython" "$pkgdir/opt/jython/bin/jython" - install -m644 -D "$pkgdir/opt/jython/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" -} Copied: jython/repos/community-any/PKGBUILD (from rev 114902, jython/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-07-04 15:37:28 UTC (rev 114903) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: Chris Brannon <cmbranno...@gmail.com> +# Contributor: Geoffroy Carrier <geoffroy.carr...@aur.archlinux.org> +# Contributor: Richard Murri <ad...@richardmurri.com> +pkgname=jython +pkgver=2.5.3 +pkgrel=2 +pkgdesc="An implementation of the Python language written in Java" +arch=('any') +url="http://www.jython.org/" +license=('PSF' 'APACHE' 'custom') +depends=('java-environment' 'bash' 'python') +backup=('opt/jython/registry') +options=('!emptydirs') +install='jython.install' +source=("http://search.maven.org/remotecontent?filepath=org/python/$pkgname-installer/$pkgver/$pkgname-installer-$pkgver.jar" + 'README.ArchLinux') + +noextract=(${pkgname}_installer-${pkgver}.jar) + +md5sums=('41633b4557483d6d4237ee79ffcebe7b' + '0a2e265af61c7d695e13b605dc180553') + +package() { + cd "$srcdir" + java -jar ${pkgname}-installer-${pkgver}.jar -s -t standard -d "$pkgdir"/opt/jython + sed -i s*"${pkgdir}"**g "${pkgdir}"/opt/jython/jython + + # Get rid of hard-coded JAVA_HOME, since all the JDKs don't use + # the same directory. + sed -i '/^JAVA_HOME=.*$/d' "${pkgdir}"/opt/jython/jython + + install -m755 -D "$pkgdir/opt/jython/jython" "$pkgdir/usr/bin/jython" + install -m644 -D "$srcdir/README.ArchLinux" "$pkgdir/usr/share/doc/$pkgname/README.ArchLinux" + + rm "$pkgdir/opt/jython/jython" "$pkgdir/opt/jython/bin/jython" + install -m644 -D "$pkgdir/opt/jython/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} Deleted: README.ArchLinux =================================================================== --- README.ArchLinux 2014-07-04 15:37:04 UTC (rev 114902) +++ README.ArchLinux 2014-07-04 15:37:28 UTC (rev 114903) @@ -1,37 +0,0 @@ -Important Notes -=============== -The user is strongly advised to create a file named -~/.jython, containing the following line: -python.cachedir=/home/USERNAME/.jythoncachedir -where USERNAME is your username. -Environment variable expansion and ~ expansion are not honored in this file, -so you cannot represent /home/USERNAME with ~/ or $HOME. - -Jython uses caching to improve performance. By default, it tries to -use a global directory as its cache. This fails, because the directory -is not writable by non-privileged users. - -Some GNU/Linux distributions solve this problem by setting python.cachedir -in the launcher script, when the JVM is invoked. -E.G., -java -Dpython.cachedir="${HOME}/.jythoncachedir" ... -That solution seems nice, because jython usually does the -right thing when invoked via the launcher script. -However, it has three limitations. - -1. If jython is not started via the launcher, it will not cache in -~/.jythoncachedir. It will try to cache in the aforementioned global -directory! -2. Specifying -Dpython.cachedir on the java command-line guarantees that -the setting will be ignored if it is found in ~/.jython. -Thus, the user cannot override the setting in his configuration file when -the launcher is used. -3. It enforces a distribution-specific policy. - -The best approach is simply to let the user specify -python.cachedir in ~/.jython. - -jythonc -======= -The jythonc tool is not included by upstream in the 2.5.x series of jython. -Thus, it is no longer available in this package. Copied: jython/repos/community-any/README.ArchLinux (from rev 114902, jython/trunk/README.ArchLinux) =================================================================== --- README.ArchLinux (rev 0) +++ README.ArchLinux 2014-07-04 15:37:28 UTC (rev 114903) @@ -0,0 +1,37 @@ +Important Notes +=============== +The user is strongly advised to create a file named +~/.jython, containing the following line: +python.cachedir=/home/USERNAME/.jythoncachedir +where USERNAME is your username. +Environment variable expansion and ~ expansion are not honored in this file, +so you cannot represent /home/USERNAME with ~/ or $HOME. + +Jython uses caching to improve performance. By default, it tries to +use a global directory as its cache. This fails, because the directory +is not writable by non-privileged users. + +Some GNU/Linux distributions solve this problem by setting python.cachedir +in the launcher script, when the JVM is invoked. +E.G., +java -Dpython.cachedir="${HOME}/.jythoncachedir" ... +That solution seems nice, because jython usually does the +right thing when invoked via the launcher script. +However, it has three limitations. + +1. If jython is not started via the launcher, it will not cache in +~/.jythoncachedir. It will try to cache in the aforementioned global +directory! +2. Specifying -Dpython.cachedir on the java command-line guarantees that +the setting will be ignored if it is found in ~/.jython. +Thus, the user cannot override the setting in his configuration file when +the launcher is used. +3. It enforces a distribution-specific policy. + +The best approach is simply to let the user specify +python.cachedir in ~/.jython. + +jythonc +======= +The jythonc tool is not included by upstream in the 2.5.x series of jython. +Thus, it is no longer available in this package. Deleted: jython.install =================================================================== --- jython.install 2014-07-04 15:37:04 UTC (rev 114902) +++ jython.install 2014-07-04 15:37:28 UTC (rev 114903) @@ -1,20 +0,0 @@ -pre_install() { - /bin/true -} -post_install() { - echo "==> Please see /usr/share/doc/jython/README.ArchLinux" - echo "==> for important information about this package." -} -pre_upgrade() { - /bin/true -} -post_upgrade() { - echo "==> Please see /usr/share/doc/jython/README.ArchLinux" - echo "==> for important information about this package." -} -pre_remove() { - /bin/true -} -post_remove() { - /bin/true -} Copied: jython/repos/community-any/jython.install (from rev 114902, jython/trunk/jython.install) =================================================================== --- jython.install (rev 0) +++ jython.install 2014-07-04 15:37:28 UTC (rev 114903) @@ -0,0 +1,20 @@ +pre_install() { + /bin/true +} +post_install() { + echo "==> Please see /usr/share/doc/jython/README.ArchLinux" + echo "==> for important information about this package." +} +pre_upgrade() { + /bin/true +} +post_upgrade() { + echo "==> Please see /usr/share/doc/jython/README.ArchLinux" + echo "==> for important information about this package." +} +pre_remove() { + /bin/true +} +post_remove() { + /bin/true +}