aboutsummaryrefslogtreecommitdiff
path: root/python/pypy3
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2023-03-03 14:39:41 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-04 08:06:37 +0700
commit9326726d686373f4e0e3a24c837cf2769207ecc4 (patch)
tree38e46b4a3932db0e4c6bb9b82dbf08a42489a85a /python/pypy3
parent56f7428cfb412b179d61b03019d539b8c8b137db (diff)
python/pypy3: 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/pypy3')
-rw-r--r--python/pypy3/README6
-rw-r--r--python/pypy3/pypy3.SlackBuild21
-rw-r--r--python/pypy3/pypy3.info14
3 files changed, 20 insertions, 21 deletions
diff --git a/python/pypy3/README b/python/pypy3/README
index e63b5986b66d..4bb527c6deab 100644
--- a/python/pypy3/README
+++ b/python/pypy3/README
@@ -3,7 +3,7 @@ has several advantages and distinctive features: speed (Just-in-Time
compiler), lower memory usage for large programs, sandboxing and
stackless mode.
-NOTE: this script is for PyPy which implements Python 3.
+NOTE: this script is for PyPy implementation of Python 3.9
-This is a repackaging of the portable binaries from
-<https://github.com/squeaky-pl/portable-pypy>.
+This is a repackaging of the binaries from
+https://www.pypy.org/download.html
diff --git a/python/pypy3/pypy3.SlackBuild b/python/pypy3/pypy3.SlackBuild
index 351615cbbddd..4c3abe8ef5e4 100644
--- a/python/pypy3/pypy3.SlackBuild
+++ b/python/pypy3/pypy3.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for pypy3
+# Copyright 2022 Yth | Pont-en-Royans, France | yth@ythogtha.org
# Copyright 2015-2017 Audrius Kažukauskas <audrius@neutrino.lt>
# All rights reserved.
#
@@ -25,9 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pypy3
-VERSION=${VERSION:-5.9_beta}
-SRCNAM=pypy3.5
-SRCVER=$(echo $VERSION | tr '_' '-')
+VERSION=${VERSION:-7.3.11}
+SRCNAM=pypy3.9
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -52,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=""
@@ -61,6 +62,7 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+ PARCH="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -71,9 +73,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER-linux_$ARCH-portable
-tar xvf $CWD/$SRCNAM-$SRCVER-linux_$ARCH-portable.tar.bz2
-cd $SRCNAM-$SRCVER-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 \
@@ -81,17 +83,14 @@ 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
# Create symlinks to pypy3 executables.
mkdir -p $PKG/usr/bin
( cd $PKG/usr/bin
- ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/pypy pypy3
- ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/virtualenv-pypy virtualenv-pypy3
+ ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/pypy3 pypy3
+ ln -sf ../lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/pypy3.9 pypy3.9
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/pypy3/pypy3.info b/python/pypy3/pypy3.info
index e163e2c65c78..a4e0df79a07f 100644
--- a/python/pypy3/pypy3.info
+++ b/python/pypy3/pypy3.info
@@ -1,10 +1,10 @@
PRGNAM="pypy3"
-VERSION="5.9_beta"
+VERSION="7.3.11"
HOMEPAGE="https://www.pypy.org/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://slackware.uk/sbosrcarch/by-md5/9/0/90223a9437ddd94ac4fda6836cc33e38/pypy3.5-5.9-beta-linux_x86_64-portable.tar.bz2"
-MD5SUM_x86_64="90223a9437ddd94ac4fda6836cc33e38"
+DOWNLOAD="https://downloads.python.org/pypy/pypy3.9-v7.3.11-linux32.tar.bz2"
+MD5SUM="1738069b38fa9d20cc996dc5304dfe09"
+DOWNLOAD_x86_64="https://downloads.python.org/pypy/pypy3.9-v7.3.11-linux64.tar.bz2"
+MD5SUM_x86_64="086a8fb85f9946ef897d298cbb3c4740"
REQUIRES=""
-MAINTAINER="Audrius Kažukauskas"
-EMAIL="audrius@neutrino.lt"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"