summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-07-24 11:18:29 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-25 16:56:10 +0700
commitdea5cdc5bc9e316f76dd0f70aa6bf22ff800b057 (patch)
tree0a1988d9dbdc7938f784d71d20990d4c68598c69 /python
parent307fafbfe26a6d045c8c3154e72f659c004c1b02 (diff)
downloadslackbuilds-dea5cdc5bc9e316f76dd0f70aa6bf22ff800b057.tar.gz
python/python-mysql-replication: Updated for version 0.25.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python-mysql-replication/python-mysql-replication.SlackBuild10
-rw-r--r--python/python-mysql-replication/python-mysql-replication.info6
2 files changed, 6 insertions, 10 deletions
diff --git a/python/python-mysql-replication/python-mysql-replication.SlackBuild b/python/python-mysql-replication/python-mysql-replication.SlackBuild
index c6ffba4c74..1ac682bd09 100644
--- a/python/python-mysql-replication/python-mysql-replication.SlackBuild
+++ b/python/python-mysql-replication/python-mysql-replication.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python-mysql-replication
SRCNAM=mysql-replication
-VERSION=${VERSION:-0.23}
+VERSION=${VERSION:-0.25}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,12 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-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
+python2 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
diff --git a/python/python-mysql-replication/python-mysql-replication.info b/python/python-mysql-replication/python-mysql-replication.info
index 72a42becd8..a5f282429d 100644
--- a/python/python-mysql-replication/python-mysql-replication.info
+++ b/python/python-mysql-replication/python-mysql-replication.info
@@ -1,8 +1,8 @@
PRGNAM="python-mysql-replication"
-VERSION="0.23"
+VERSION="0.25"
HOMEPAGE="https://github.com/noplay/python-mysql-replication"
-DOWNLOAD="https://files.pythonhosted.org/packages/68/49/34c9b93f591c2c14991d8f49ffc2409d9d614a3fcaf572a2df2faaeb591d/mysql-replication-0.23.tar.gz"
-MD5SUM="a4979564af550370b087cb2aef980127"
+DOWNLOAD="https://files.pythonhosted.org/packages/63/f6/5780d3df030acbada6eca936bc7a6950f4d18ebeb1c0e354388568922834/mysql-replication-0.25.tar.gz"
+MD5SUM="ccbe47651029304de9316e1042201282"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pymysql"