aboutsummaryrefslogtreecommitdiff
path: root/python/w3lib/w3lib.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-02-25 23:12:29 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:49 +0700
commit2b3333c721db814fed56c01a6f2de0e7a03d1b85 (patch)
treef823a07592210359f3fc45e507cb40d759ca4393 /python/w3lib/w3lib.SlackBuild
parent491199ca4948d7509516dedef5f965e10fc4d5e8 (diff)
python/w3lib: Updated for version 1.22.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/w3lib/w3lib.SlackBuild')
-rw-r--r--python/w3lib/w3lib.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/w3lib/w3lib.SlackBuild b/python/w3lib/w3lib.SlackBuild
index c30441dca9017..a1b1b2735026f 100644
--- a/python/w3lib/w3lib.SlackBuild
+++ b/python/w3lib/w3lib.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for w3lib
-# Copyright 2016-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=w3lib
-VERSION=${VERSION:-1.19.0}
+VERSION=${VERSION:-1.22.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,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
+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