From 86f8aac6be06e8fd292cde1becd67e829d21174e Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 23 Apr 2021 12:59:38 +0700 Subject: python/python-qrcode: Updated for version 6.1. Signed-off-by: Willy Sudiarto Raharjo --- python/python-qrcode/python-qrcode.SlackBuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'python/python-qrcode/python-qrcode.SlackBuild') 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 +# Copyright 2015-2021 Willy Sudiarto Raharjo # 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 -- cgit v1.2.3