Date: Saturday, November 12, 2022 @ 21:22:45
Author: arojas
Revision: 1347085
archrelease: copy trunk to community-any
Added:
jython/repos/community-any/PKGBUILD
(from rev 1347084, jython/trunk/PKGBUILD)
jython/repos/community-any/README.ArchLinux
(from rev 1347084, jython/trunk/README.ArchLinux)
jython/repos/community-any/jython.install
(from rev 1347084, jython/trunk/jython.install)
jython/repos/community-any/jython.sh
(from rev 1347084, jython/trunk/jython.sh)
jython/repos/community-any/keys/
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 | 108 ++++++++++++++++++++++++++---------------------------
README.ArchLinux | 74 ++++++++++++++++++------------------
jython.install | 40 +++++++++----------
jython.sh | 2
4 files changed, 112 insertions(+), 112 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-12 21:22:29 UTC (rev 1347084)
+++ PKGBUILD 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -1,54 +0,0 @@
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Chris Brannon <[email protected]>
-# Contributor: Geoffroy Carrier <[email protected]>
-# Contributor: Richard Murri <[email protected]>
-pkgname=jython
-pkgver=2.7.2
-pkgrel=3
-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 -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 1347084,
jython/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -0,0 +1,54 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Chris Brannon <[email protected]>
+# Contributor: Geoffroy Carrier <[email protected]>
+# Contributor: Richard Murri <[email protected]>
+pkgname=jython
+pkgver=2.7.3
+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=('1e43cd81809115784fb989f5dcb3e5443d1b5e0703440e1a6df7d930650e09fc77c942fa0148e247f676d301313f3d2bd94c0d61c9afccd1e23d3c59aef65f21'
+ '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 -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.ArchLinux 2022-11-12 21:22:29 UTC (rev 1347084)
+++ README.ArchLinux 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -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 1347084,
jython/trunk/README.ArchLinux)
===================================================================
--- README.ArchLinux (rev 0)
+++ README.ArchLinux 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -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 2022-11-12 21:22:29 UTC (rev 1347084)
+++ jython.install 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -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 1347084,
jython/trunk/jython.install)
===================================================================
--- jython.install (rev 0)
+++ jython.install 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -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
+}
Deleted: jython.sh
===================================================================
--- jython.sh 2022-11-12 21:22:29 UTC (rev 1347084)
+++ jython.sh 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -1 +0,0 @@
-export PATH="/opt/jython/bin/:$PATH"
Copied: jython/repos/community-any/jython.sh (from rev 1347084,
jython/trunk/jython.sh)
===================================================================
--- jython.sh (rev 0)
+++ jython.sh 2022-11-12 21:22:45 UTC (rev 1347085)
@@ -0,0 +1 @@
+export PATH="/opt/jython/bin/:$PATH"