diff options
author | Larry Hajali <larryhaja@gmail.com> | 2016-07-29 19:42:06 -0700 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-05 18:10:51 +0100 |
commit | 7bce60f30658b3e6b8343650b2834bba0f29218d (patch) | |
tree | 218596621376c5f35407e808ef63d17c41ecc10c /python/apsw/apsw.SlackBuild | |
parent | bc01f5f95a2ffc610666f751537671c8f8cac88d (diff) | |
download | slackbuilds-7bce60f30658b3e6b8343650b2834bba0f29218d.tar.gz |
python/apsw: Updated for version 3.13.0_r1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'python/apsw/apsw.SlackBuild')
-rw-r--r-- | python/apsw/apsw.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
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 <larryhaja[at]gmail[dot]com> +# Copyright 2013-2016 Larry Hajali <larryhaja[at]gmail[dot]com> # 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 |