diff options
author | Arn0 <yth@ythogtha.org> | 2023-10-02 10:54:01 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-02 19:50:00 +0700 |
commit | dc7b99662e5da2b02dd3f549e2848fd092e9a972 (patch) | |
tree | 184fad3d45ceaa8f387384b4623145b13a071778 /python/pypy/pypy.SlackBuild | |
parent | cbd84e832e8b524fc59bca81be12a4b960519c14 (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 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/python/pypy/pypy.SlackBuild b/python/pypy/pypy.SlackBuild index c3ec9caaec..20f722e5cd 100644 --- a/python/pypy/pypy.SlackBuild +++ b/python/pypy/pypy.SlackBuild @@ -26,7 +26,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} @@ -63,6 +63,9 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" PARCH="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -85,6 +88,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 |