diff options
Diffstat (limited to 'python/sqlparse/sqlparse.SlackBuild')
-rw-r--r-- | python/sqlparse/sqlparse.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/sqlparse/sqlparse.SlackBuild b/python/sqlparse/sqlparse.SlackBuild index 38444942ee2ff..203e179aff232 100644 --- a/python/sqlparse/sqlparse.SlackBuild +++ b/python/sqlparse/sqlparse.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sqlparse -VERSION=${VERSION:-0.2.4} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,6 +71,11 @@ find -L . \ python setup.py install --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS README.rst TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |