summaryrefslogtreecommitdiffstats
path: root/python/python-qrcode
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-04-23 07:59:38 +0200
committer Robby Workman2021-04-23 08:11:26 +0200
commit86f8aac6be06e8fd292cde1becd67e829d21174e (patch)
tree47609b0bf628505a430ea991e6864d11c06dd2d7 /python/python-qrcode
parent99730c2b14da34dce9eb2f534aeca54512443383 (diff)
downloadslackbuilds-86f8aac6be06e8fd292cde1becd67e829d21174e.tar.gz
python/python-qrcode: Updated for version 6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-qrcode')
-rw-r--r--python/python-qrcode/python-qrcode.SlackBuild9
-rw-r--r--python/python-qrcode/python-qrcode.info6
2 files changed, 6 insertions, 9 deletions
diff --git a/python/python-qrcode/python-qrcode.SlackBuild b/python/python-qrcode/python-qrcode.SlackBuild
index 1dad2ff336..86bb5e12fc 100644
--- a/python/python-qrcode/python-qrcode.SlackBuild
+++ b/python/python-qrcode/python-qrcode.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for python-qrcode
-# Copyright 2015-2018 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-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=python-qrcode
-VERSION=${VERSION:-5.3}
+VERSION=${VERSION:-6.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,10 +73,7 @@ find -L . \
sed -i "s|share/man/man1|man/man1|" setup.py
python setup.py install --root=$PKG
-
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+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-qrcode/python-qrcode.info b/python/python-qrcode/python-qrcode.info
index 8c3e22086c..2a37bd2b2e 100644
--- a/python/python-qrcode/python-qrcode.info
+++ b/python/python-qrcode/python-qrcode.info
@@ -1,8 +1,8 @@
PRGNAM="python-qrcode"
-VERSION="5.3"
+VERSION="6.1"
HOMEPAGE="https://github.com/lincolnloop/python-qrcode"
-DOWNLOAD="https://github.com/lincolnloop/python-qrcode/archive/v5.3/python-qrcode-5.3.tar.gz"
-MD5SUM="81e3670f61bdf186ded61d6bafa847ec"
+DOWNLOAD="https://github.com/lincolnloop/python-qrcode/archive/v6.1/python-qrcode-6.1.tar.gz"
+MD5SUM="bd3368e8bc0d2b737bf4e5a9a2dba9e3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""