diff options
Diffstat (limited to 'python/python-mysqlclient/python-mysqlclient.SlackBuild')
-rw-r--r-- | python/python-mysqlclient/python-mysqlclient.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/python/python-mysqlclient/python-mysqlclient.SlackBuild b/python/python-mysqlclient/python-mysqlclient.SlackBuild index 32c474b9a648a..5f8eb61022505 100644 --- a/python/python-mysqlclient/python-mysqlclient.SlackBuild +++ b/python/python-mysqlclient/python-mysqlclient.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-mysqlclient VERSION=${VERSION:-1.3.13} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=mysqlclient @@ -72,11 +72,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; 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 +python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a doc/ HISTORY.rst INSTALL.rst LICENSE README.md \ |