aboutsummaryrefslogtreecommitdiff
path: root/python/click/click.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/click/click.SlackBuild')
-rw-r--r--python/click/click.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/python/click/click.SlackBuild b/python/click/click.SlackBuild
index ec6d40e3d2..477f06355d 100644
--- a/python/click/click.SlackBuild
+++ b/python/click/click.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for click
+# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220512 46and2: Updated version, new maintainer.
+# - Removed python2 support
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=click
-VERSION=${VERSION:-7.1.2}
+VERSION=${VERSION:-8.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,12 +83,7 @@ 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
+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