mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
libraries/mysql-connector-python: Updated for version 8.0.23.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
23e6c541f5
commit
06a04e8ecb
2 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue