diff options
author | Arn0 <yth@ythogtha.org> | 2023-03-03 14:39:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-04 08:06:37 +0700 |
commit | 56f7428cfb412b179d61b03019d539b8c8b137db (patch) | |
tree | 208b1ad172240e403e5af02570d25fc02bb3f8c7 /python | |
parent | 002acb6951d4e253e9bf70fd700e76a48ef263d8 (diff) |
python/pypy: Updated for version 7.3.11, new maintainer.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/pypy/README | 6 | ||||
-rw-r--r-- | python/pypy/pypy.SlackBuild | 18 | ||||
-rw-r--r-- | python/pypy/pypy.info | 14 | ||||
-rw-r--r-- | python/pypy/slack-desc | 2 |
4 files changed, 22 insertions, 18 deletions
diff --git a/python/pypy/README b/python/pypy/README index d322d59058e5..35e38906a492 100644 --- a/python/pypy/README +++ b/python/pypy/README @@ -3,5 +3,7 @@ has several advantages and distinctive features: speed (Just-in-Time compiler), lower memory usage for large programs, sandboxing and stackless mode. -This is a repackaging of the portable binaries from -<https://github.com/squeaky-pl/portable-pypy>. +NOTE: this script is for PyPy implementation of Python 2.7 + +This is a repackaging of the binaries from +https://www.pypy.org/download.html diff --git a/python/pypy/pypy.SlackBuild b/python/pypy/pypy.SlackBuild index 792f4c2673f9..02ecb1662dc9 100644 --- a/python/pypy/pypy.SlackBuild +++ b/python/pypy/pypy.SlackBuild @@ -2,6 +2,7 @@ # Slackware build script for pypy +# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org # Copyright 2012-2017 Audrius Kažukauskas <audrius@neutrino.lt> # All rights reserved. # @@ -25,7 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pypy -VERSION=${VERSION:-5.9} +VERSION=${VERSION:-7.3.11} +SRCNAM=pypy2.7 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,6 +52,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +PARCH="32" if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -59,6 +62,7 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" + PARCH="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -69,9 +73,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-linux_$ARCH-portable -tar xvf $CWD/$PRGNAM-$VERSION-linux_$ARCH-portable.tar.bz2 -cd $PRGNAM-$VERSION-linux_$ARCH-portable +rm -rf $SRCNAM-v$VERSION-linux$PARCH +tar xvf $CWD/$SRCNAM-v$VERSION-linux$PARCH.tar.bz2 +cd $SRCNAM-v$VERSION-linux$PARCH chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,9 +83,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Use os.path.realpath to resolve symlink in the path. -sed -i 's/abspath/realpath/' bin/virtualenv-pypy - mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION cp -a * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION @@ -89,7 +90,8 @@ cp -a * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION mkdir -p $PKG/usr/bin ( cd $PKG/usr/bin ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/pypy pypy - ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/virtualenv-pypy virtualenv-pypy + ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/pypy2 pypy2 + ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/pypy2.7 pypy2.7 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/pypy/pypy.info b/python/pypy/pypy.info index 1523c8bd4e95..270696bdb740 100644 --- a/python/pypy/pypy.info +++ b/python/pypy/pypy.info @@ -1,10 +1,10 @@ PRGNAM="pypy" -VERSION="5.9" +VERSION="7.3.11" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="https://slackware.uk/sbosrcarch/by-md5/6/5/65e4bcf1c18a1c3f2b1405c654d10755/pypy-5.9-linux_x86_64-portable.tar.bz2" -MD5SUM_x86_64="65e4bcf1c18a1c3f2b1405c654d10755" +DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.11-linux32.tar.bz2" +MD5SUM="b96b426bdf0b5f249c6f2af4be1fde58" +DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy2.7-v7.3.11-linux64.tar.bz2" +MD5SUM_x86_64="c92b9b87013314dbb878aad92bb33024" REQUIRES="" -MAINTAINER="Audrius Kažukauskas" -EMAIL="audrius@neutrino.lt" +MAINTAINER="Yth - Arnaud" +EMAIL="yth@ythogtha.org" diff --git a/python/pypy/slack-desc b/python/pypy/slack-desc index 560968c5e3d0..e857a6a4edd2 100644 --- a/python/pypy/slack-desc +++ b/python/pypy/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -pypy: pypy (implementation of Python written in Python) +pypy: pypy (implementation of Python 2 written in Python) pypy: pypy: PyPy is a very compliant implementation of the Python language. PyPy pypy: has several advantages and distinctive features: speed (Just-in-Time |