diff options
author | Arn0 <yth@ythogtha.org> | 2023-10-02 10:54:10 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-02 19:50:05 +0700 |
commit | 39214fc77173f5c803245ed7dd84492c84f69065 (patch) | |
tree | a0bd3fb64817eea555faf3d87cd37a9c25f7bf85 /python/PyPy/PyPy.SlackBuild | |
parent | dc7b99662e5da2b02dd3f549e2848fd092e9a972 (diff) |
python/PyPy: updated for version 7.3.13
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/PyPy/PyPy.SlackBuild')
-rw-r--r-- | python/PyPy/PyPy.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/python/PyPy/PyPy.SlackBuild b/python/PyPy/PyPy.SlackBuild index 4db14269a2..d18ef06b2e 100644 --- a/python/PyPy/PyPy.SlackBuild +++ b/python/PyPy/PyPy.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=PyPy -VERSION=${VERSION:-7.3.12} +VERSION=${VERSION:-7.3.13} SRCNAM=pypy2.7 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 pypy executables. mkdir -p $PKG/usr/bin |