aboutsummaryrefslogtreecommitdiff
path: root/python/python-mysqlclient
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2021-04-24 07:31:38 +0000
committerRobby Workman <rworkman@slackbuilds.org>2021-04-27 01:03:28 -0500
commitcf21cbc6d8abaa4d9e15ed19efc4ef668d9d4382 (patch)
tree717b464dcf327a0f75ec3a98b9b7354e174b3290 /python/python-mysqlclient
parentff944531112983cb09deab4485df745587c5a2c6 (diff)
python/python-mysqlclient: Fix MD5SUM and SRCNAM.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'python/python-mysqlclient')
-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=""