[arch-commits] Commit in jython/repos/community-any (8 files)

2020-04-08 Thread Chih-Hsuan Yen via arch-commits
Date: Thursday, April 9, 2020 @ 03:47:12
  Author: yan12125
Revision: 612884

archrelease: copy trunk to community-any

Added:
  jython/repos/community-any/PKGBUILD
(from rev 612883, jython/trunk/PKGBUILD)
  jython/repos/community-any/README.ArchLinux
(from rev 612883, jython/trunk/README.ArchLinux)
  jython/repos/community-any/jython.install
(from rev 612883, jython/trunk/jython.install)
  jython/repos/community-any/jython.sh
(from rev 612883, jython/trunk/jython.sh)
Deleted:
  jython/repos/community-any/PKGBUILD
  jython/repos/community-any/README.ArchLinux
  jython/repos/community-any/jython.install
  jython/repos/community-any/jython.sh

--+
 PKGBUILD |   89 -
 README.ArchLinux |   74 ++--
 jython.install   |   40 +++
 jython.sh|2 -
 4 files changed, 112 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-09 03:46:37 UTC (rev 612883)
+++ PKGBUILD2020-04-09 03:47:12 UTC (rev 612884)
@@ -1,35 +0,0 @@
-# Maintainer: Daniel Wallace 
-# Contributor: Chris Brannon 
-# Contributor: Geoffroy Carrier 
-# Contributor: Richard Murri 
-pkgname=jython
-pkgver=2.7.1
-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=(https://search.maven.org/remotecontent?filepath=org/python/$pkgname-installer/$pkgver/$pkgname-installer-$pkgver.jar{,.asc}
-'README.ArchLinux'
-'jython.sh')
-validpgpkeys=('1AC6FA76887C81B0A870FFA03979A71621665974')  # Frank Wierzbicki
-noextract=(${pkgname}_installer-${pkgver}.jar)
-
-sha512sums=('11cf3d1227af445fc0944c62a47d747c32cc2478dd03ac5ee8a533aac67ae7ec52cde207a4bb845a6d0284001271e6d82b3722c809c2141384b747ae5a11a2aa'
-'SKIP'
-
'0ab0237d456f859b2cbb0739264bb978ad98b2c52153e89fc131aa60edf7837f41617c0e53cbde05688dfc0d6fb08f1d02ebbd41da99b07af72e34a11a83f0b9'
-
'c1aaf79f1cfba165fd4a03be016ac8afcc5024972a9626060f57ced0bf4dad93ccdd9ac303bdc8a5ed6b9bcb3307d152dfff2682308c740b6d2db44c2cbaf1b4')
-
-package() {
-cd "$srcdir"
-java -jar jython-installer-${pkgver}.jar -s -t standard -d 
"$pkgdir"/opt/"$pkgname"
-
-install -m644 -D $srcdir/jython.sh $pkgdir/etc/profile.d/jython.sh
-install -m644 -D "$srcdir/README.ArchLinux" 
"$pkgdir/usr/share/doc/$pkgname/README.ArchLinux"
-
-install -m644 -D "$pkgdir/opt/$pkgname/LICENSE.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}

Copied: jython/repos/community-any/PKGBUILD (from rev 612883, 
jython/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-09 03:47:12 UTC (rev 612884)
@@ -0,0 +1,54 @@
+# Maintainer: Daniel Wallace 
+# Contributor: Chris Brannon 
+# Contributor: Geoffroy Carrier 
+# Contributor: Richard Murri 
+pkgname=jython
+pkgver=2.7.2
+pkgrel=1
+pkgdesc="An implementation of the Python language written in Java"
+arch=('any')
+url="https://www.jython.org/;
+license=('PSF' 'APACHE' 'custom')
+# JDK >= 9 leads to "illegal reflective access" 
https://bugs.jython.org/issue2656
+depends=('java-environment=8' 'bash' 'python')
+backup=('opt/jython/registry')
+options=('!emptydirs')
+install='jython.install'
+source=(https://search.maven.org/remotecontent?filepath=org/python/$pkgname-installer/$pkgver/$pkgname-installer-$pkgver.jar{,.asc}
+'README.ArchLinux'
+'jython.sh')
+validpgpkeys=(
+  '1AC6FA76887C81B0A870FFA03979A71621665974' # Frank Wierzbicki
+  'C8C4B9DC1E031F788B12882B875C3EF9DC4638E3' # Jeff Allen
+)
+noextract=(${pkgname}_installer-$pkgver.jar)
+
+sha512sums=('d3ae09ebcb1ad27123d1b325729a18aa9e793039ca3428167455ce51217f10735949d2acea39f89e5414015c97bdd319657aced3753b764dddb09200e8cff40e'
+'SKIP'
+
'0ab0237d456f859b2cbb0739264bb978ad98b2c52153e89fc131aa60edf7837f41617c0e53cbde05688dfc0d6fb08f1d02ebbd41da99b07af72e34a11a83f0b9'
+
'c1aaf79f1cfba165fd4a03be016ac8afcc5024972a9626060f57ced0bf4dad93ccdd9ac303bdc8a5ed6b9bcb3307d152dfff2682308c740b6d2db44c2cbaf1b4')
+
+package() {
+java -jar jython-installer-$pkgver.jar -s -t standard -d 
"$pkgdir"/opt/$pkgname
+
+pushd "$pkgdir"/opt/$pkgname/bin
+
+# Fix shebangs and avoid conflicts between jython and 
python2-{setuptools,pip}
+# https://bugs.archlinux.org/task/45315
+rm -v easy_install pip pip2
+for prog in easy_install-2.7 pip2.7 ; do
+  sed -i "s#$pkgdir##" "$prog"
+done
+mv -v easy_install-2.7 easy_install-jython
+mv -v pip2.7 pip-jython
+
+popd
+
+# Fix permissions
+find "$pkgdir" -exec chmod go+r {} \;
+
+install 

[arch-commits] Commit in jython/repos/community-any (8 files)

2017-07-11 Thread Felix Yan
Date: Tuesday, July 11, 2017 @ 07:52:40
  Author: felixonmars
Revision: 243981

archrelease: copy trunk to community-any

Added:
  jython/repos/community-any/PKGBUILD
(from rev 243980, jython/trunk/PKGBUILD)
  jython/repos/community-any/README.ArchLinux
(from rev 243980, jython/trunk/README.ArchLinux)
  jython/repos/community-any/jython.install
(from rev 243980, jython/trunk/jython.install)
  jython/repos/community-any/jython.sh
(from rev 243980, jython/trunk/jython.sh)
Deleted:
  jython/repos/community-any/PKGBUILD
  jython/repos/community-any/README.ArchLinux
  jython/repos/community-any/jython.install
  jython/repos/community-any/jython.sh

--+
 PKGBUILD |   70 +-
 README.ArchLinux |   74 ++---
 jython.install   |   40 ++--
 jython.sh|2 -
 4 files changed, 93 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-07-11 07:52:14 UTC (rev 243980)
+++ PKGBUILD2017-07-11 07:52:40 UTC (rev 243981)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Daniel Wallace 
-# Contributor: Chris Brannon 
-# Contributor: Geoffroy Carrier 
-# Contributor: Richard Murri 
-pkgname=jython
-pkgver=2.7.0
-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'
-'jython.sh')
-
-noextract=(${pkgname}_installer-${pkgver}.jar)
-
-md5sums=('da4cafee530530c3627fb818f35dff12'
- '0a2e265af61c7d695e13b605dc180553'
- 'c08ade059dae86b015f39842ceb465cf')
-
-package() {
-cd "$srcdir"
-java -jar jython-installer-${pkgver}.jar -s -t standard -d 
"$pkgdir"/opt/"$pkgname"
-
-install -m644 -D $srcdir/jython.sh $pkgdir/etc/profile.d/jython.sh
-install -m644 -D "$srcdir/README.ArchLinux" 
"$pkgdir/usr/share/doc/$pkgname/README.ArchLinux"
-
-install -m644 -D "$pkgdir/opt/$pkgname/LICENSE.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
-}

Copied: jython/repos/community-any/PKGBUILD (from rev 243980, 
jython/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-07-11 07:52:40 UTC (rev 243981)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Daniel Wallace 
+# Contributor: Chris Brannon 
+# Contributor: Geoffroy Carrier 
+# Contributor: Richard Murri 
+pkgname=jython
+pkgver=2.7.1
+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'
+'jython.sh')
+
+noextract=(${pkgname}_installer-${pkgver}.jar)
+
+sha512sums=('11cf3d1227af445fc0944c62a47d747c32cc2478dd03ac5ee8a533aac67ae7ec52cde207a4bb845a6d0284001271e6d82b3722c809c2141384b747ae5a11a2aa'
+
'0ab0237d456f859b2cbb0739264bb978ad98b2c52153e89fc131aa60edf7837f41617c0e53cbde05688dfc0d6fb08f1d02ebbd41da99b07af72e34a11a83f0b9'
+
'c1aaf79f1cfba165fd4a03be016ac8afcc5024972a9626060f57ced0bf4dad93ccdd9ac303bdc8a5ed6b9bcb3307d152dfff2682308c740b6d2db44c2cbaf1b4')
+
+package() {
+cd "$srcdir"
+java -jar jython-installer-${pkgver}.jar -s -t standard -d 
"$pkgdir"/opt/"$pkgname"
+
+install -m644 -D $srcdir/jython.sh $pkgdir/etc/profile.d/jython.sh
+install -m644 -D "$srcdir/README.ArchLinux" 
"$pkgdir/usr/share/doc/$pkgname/README.ArchLinux"
+
+install -m644 -D "$pkgdir/opt/$pkgname/LICENSE.txt" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}

Deleted: README.ArchLinux
===
--- README.ArchLinux2017-07-11 07:52:14 UTC (rev 243980)
+++ README.ArchLinux2017-07-11 07:52:40 UTC (rev 243981)
@@ -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