aboutsummaryrefslogtreecommitdiff
path: root/libraries/mysql-connector-python
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-18 18:19:36 +0700
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 14:30:18 -0500
commit06a04e8ecb583abf48bbc2a66233983f5ba524a7 (patch)
tree82805f53498c391a772a4062e80f334f1db86870 /libraries/mysql-connector-python
parent23e6c541f523ccdb23e479bf8472a259bb94b0bb (diff)
libraries/mysql-connector-python: Updated for version 8.0.23.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/mysql-connector-python')
-rw-r--r--libraries/mysql-connector-python/mysql-connector-python.SlackBuild8
-rw-r--r--libraries/mysql-connector-python/mysql-connector-python.info6
2 files changed, 7 insertions, 7 deletions
diff --git a/libraries/mysql-connector-python/mysql-connector-python.SlackBuild b/libraries/mysql-connector-python/mysql-connector-python.SlackBuild
index bf796ebf9b218..c20eaa0bb4e0a 100644
--- a/libraries/mysql-connector-python/mysql-connector-python.SlackBuild
+++ b/libraries/mysql-connector-python/mysql-connector-python.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mysql-connector-python
-# Copyright 2013-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# 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=mysql-connector-python
-VERSION=${VERSION:-2.1.7}
+VERSION=${VERSION:-8.0.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,13 +72,13 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a docs/README_DOCS.txt *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/libraries/mysql-connector-python/mysql-connector-python.info b/libraries/mysql-connector-python/mysql-connector-python.info
index 0aca8a4dfa354..092d624e34d4e 100644
--- a/libraries/mysql-connector-python/mysql-connector-python.info
+++ b/libraries/mysql-connector-python/mysql-connector-python.info
@@ -1,8 +1,8 @@
PRGNAM="mysql-connector-python"
-VERSION="2.1.7"
+VERSION="8.0.23"
HOMEPAGE="https://dev.mysql.com/downloads/connector/python/"
-DOWNLOAD="http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.7.tar.gz"
-MD5SUM="f7a929752273616e0100bda066101469"
+DOWNLOAD="http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-8.0.23.tar.gz"
+MD5SUM="798f57c5e577a34787342821a0cb3a87"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""