diff options
author | Arn0 | 2023-10-02 10:54:31 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2023-10-02 14:50:06 +0200 |
commit | 738bf28272e32e451cb01103772aa064f2c2c14a (patch) | |
tree | 8166f78c69e558e221860de3d8f7fe93420c903b /python | |
parent | dec0f562ed599563540188ae7ca656df7ef24c05 (diff) | |
download | slackbuilds-738bf28272e32e451cb01103772aa064f2c2c14a.tar.gz |
python/PyPy3: updated for version 7.3.13
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/PyPy3/PyPy3.SlackBuild | 11 | ||||
-rw-r--r-- | python/PyPy3/PyPy3.info | 6 |
2 files changed, 12 insertions, 5 deletions
diff --git a/python/PyPy3/PyPy3.SlackBuild b/python/PyPy3/PyPy3.SlackBuild index 38d3711b7b..a6b76d7275 100644 --- a/python/PyPy3/PyPy3.SlackBuild +++ b/python/PyPy3/PyPy3.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPy3 -VERSION=${VERSION:-7.3.12} +VERSION=${VERSION:-7.3.13} SRCNAM=pypy3.9 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,6 +59,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -87,7 +90,7 @@ $PYCMD ../../rpython/bin/rpython -Ojit targetpypystandalone # Second step : packaging by PyPy cd ../tool/release/ -python package.py --builddir ../../../SBo --archive-name $PRGNAM-$VERSION +python2 package.py --builddir ../../../SBo --archive-name $PRGNAM-$VERSION # Third step : repackaging in the pypy3 style cd ../../../SBo/$PRGNAM-$VERSION @@ -100,6 +103,10 @@ find -L . \ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION cp -a * $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION +chmod 755 $PKG/usr/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION/bin/*.debug + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Create symlinks to pypy3 executables. mkdir -p $PKG/usr/bin diff --git a/python/PyPy3/PyPy3.info b/python/PyPy3/PyPy3.info index 4b1a0b4743..1360079a21 100644 --- a/python/PyPy3/PyPy3.info +++ b/python/PyPy3/PyPy3.info @@ -1,8 +1,8 @@ PRGNAM="PyPy3" -VERSION="7.3.12" +VERSION="7.3.13" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy3.9-v7.3.12-src.tar.bz2" -MD5SUM="4e97cb42fdf89e176ec9dd64a91a940a" +DOWNLOAD="https://downloads.python.org/pypy/pypy3.9-v7.3.13-src.tar.bz2" +MD5SUM="b5611bb19fc63228535509e9b526603c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycparser %README%" |