From 7bce60f30658b3e6b8343650b2834bba0f29218d Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Fri, 29 Jul 2016 19:42:06 -0700 Subject: python/apsw: Updated for version 3.13.0_r1 Signed-off-by: Larry Hajali --- python/apsw/apsw.SlackBuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'python/apsw/apsw.SlackBuild') diff --git a/python/apsw/apsw.SlackBuild b/python/apsw/apsw.SlackBuild index a09966c20b..724327c7c8 100644 --- a/python/apsw/apsw.SlackBuild +++ b/python/apsw/apsw.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for apsw -# Copyright 2013 Larry Hajali +# Copyright 2013-2016 Larry Hajali # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=apsw -VERSION=${VERSION:-3.7.17_r1} +VERSION=${VERSION:-3.13.0_r1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -50,15 +50,15 @@ unzip $CWD/$PRGNAM-${VERSION/_/-}.zip cd $PRGNAM-${VERSION/_/-} chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; python setup.py build --enable-all-extensions python setup.py install --root=$PKG --skip-build -if $(python3 -c 'import os' 2>/dev/null); then +if [ "${PYTHON3:-no}" == "yes" ]; then python3 setup.py build --enable-all-extensions python3 setup.py install --root=$PKG --skip-build fi -- cgit v1.2.3