diff options
Diffstat (limited to 'python/python-certifi/python-certifi.SlackBuild')
-rw-r--r-- | python/python-certifi/python-certifi.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/python/python-certifi/python-certifi.SlackBuild b/python/python-certifi/python-certifi.SlackBuild index 07a332999a..5f8c639a43 100644 --- a/python/python-certifi/python-certifi.SlackBuild +++ b/python/python-certifi/python-certifi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python-certifi -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2021 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=python-certifi SRCNAM=$(printf $PRGNAM | cut -c8-14) -VERSION=${VERSION:-2018.11.29} +VERSION=${VERSION:-2020.12.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,10 +71,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; 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 |