From fe90a0547bbd1bf4f6cdd14f66507a4711723588 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Thu, 29 Dec 2016 19:23:19 +0200 Subject: python/pypy3: Updated for version 5.5_alpha. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Audrius Kažukauskas --- python/pypy3/pypy3.SlackBuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'python/pypy3/pypy3.SlackBuild') diff --git a/python/pypy3/pypy3.SlackBuild b/python/pypy3/pypy3.SlackBuild index 055df4e556..0143be73d9 100644 --- a/python/pypy3/pypy3.SlackBuild +++ b/python/pypy3/pypy3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pypy3 -# Copyright 2015 Audrius Kažukauskas +# Copyright 2015-2016 Audrius Kažukauskas # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pypy3 -VERSION=${VERSION:-2.4} +VERSION=${VERSION:-5.5_alpha} +SRCNAM=pypy3.3 +SRCVER=$(echo $VERSION | tr '_' '-') BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -40,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -59,9 +61,9 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION-linux_$ARCH-portable -tar xvf $CWD/$PRGNAM-$VERSION-linux_$ARCH-portable.tar.bz2 -cd $PRGNAM-$VERSION-linux_$ARCH-portable +rm -rf $SRCNAM-$SRCVER-*-linux_$ARCH-portable +tar xvf $CWD/$SRCNAM-$SRCVER-*-linux_$ARCH-portable.tar.bz2 +cd $SRCNAM-$SRCVER-*-linux_$ARCH-portable chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3