aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python-mysqlclient/python-mysqlclient.SlackBuild8
-rw-r--r--python/python-mysqlclient/python-mysqlclient.info2
2 files changed, 3 insertions, 7 deletions
diff --git a/python/python-mysqlclient/python-mysqlclient.SlackBuild b/python/python-mysqlclient/python-mysqlclient.SlackBuild
index 32c474b9a648..5f8eb6102250 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 \
diff --git a/python/python-mysqlclient/python-mysqlclient.info b/python/python-mysqlclient/python-mysqlclient.info
index 7a5f2f653cf3..fb6b340f9f9b 100644
--- a/python/python-mysqlclient/python-mysqlclient.info
+++ b/python/python-mysqlclient/python-mysqlclient.info
@@ -1,7 +1,7 @@
PRGNAM="python-mysqlclient"
VERSION="1.3.13"
HOMEPAGE="https://github.com/PyMySQL/mysqlclient-python/"
-DOWNLOAD="https://github.com/PyMySQL/mysqlclient-python/archive/1.3.13/mysqlclient-python-1.3.13.tar.gz"
+DOWNLOAD="https://github.com/PyMySQL/mysqlclient-python/archive/1.3.13/mysqlclient-1.3.13.tar.gz"
MD5SUM="5c97bd96c0398ea74fb57665b4a11fd6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""