diff options
author | Arn0 <yth@ythogtha.org> | 2023-03-03 14:39:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-04 08:06:37 +0700 |
commit | 9326726d686373f4e0e3a24c837cf2769207ecc4 (patch) | |
tree | 38e46b4a3932db0e4c6bb9b82dbf08a42489a85a /python/pypy3/pypy3.SlackBuild | |
parent | 56f7428cfb412b179d61b03019d539b8c8b137db (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/pypy3.SlackBuild')
-rw-r--r-- | python/pypy3/pypy3.SlackBuild | 21 |
1 files changed, 10 insertions, 11 deletions
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 |