diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/PyPy/PyPy.SlackBuild | 11 | ||||
-rw-r--r-- | python/PyPy/PyPy.info | 6 |
2 files changed, 12 insertions, 5 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 diff --git a/python/PyPy/PyPy.info b/python/PyPy/PyPy.info index 0804c8f9fa..4ab2cb7d7a 100644 --- a/python/PyPy/PyPy.info +++ b/python/PyPy/PyPy.info @@ -1,8 +1,8 @@ PRGNAM="PyPy" -VERSION="7.3.12" +VERSION="7.3.13" HOMEPAGE="https://www.pypy.org/" -DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.12-src.tar.bz2" -MD5SUM="f6d0edb34e7455c34f9a4493ebbe9466" +DOWNLOAD="https://downloads.python.org/pypy/pypy2.7-v7.3.13-src.tar.bz2" +MD5SUM="fe99742950fe914ed9518e5fc2e521db" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="pycparser %README%" |