python/apsw: Updated for version 3.13.0_r1

Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
Larry Hajali 2016-07-29 19:42:06 -07:00 committed by David Spencer
parent bc01f5f95a
commit 7bce60f306
3 changed files with 16 additions and 12 deletions

View file

@ -4,4 +4,8 @@ over SQLite attempting just to translate the complete SQLite API into Python.
The documentation has a section on the differences between APSW and pysqlite.
APSW supports CPython 2.3 onwards and CPython 3.1 onwards.
Optionally Python 3 extension will be built if Python 3 is installed.
Optional dependency: python3
Note: To install python 3 set PYTHON3=yes.
# PYTHON3=yes ./apsw.SlackBuild

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="apsw"
VERSION="3.7.17_r1"
HOMEPAGE="http://code.google.com/p/apsw/"
DOWNLOAD="http://apsw.googlecode.com/files/apsw-3.7.17-r1.zip"
MD5SUM="5393765e7ef55def11dae08149133136"
VERSION="3.13.0_r1"
HOMEPAGE="https://github.com/rogerbinns/apsw"
DOWNLOAD="https://github.com/rogerbinns/apsw/releases/download/3.13.0-r1/apsw-3.13.0-r1.zip"
MD5SUM="54ecc75082848d440821007dc3806f39"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""