summaryrefslogtreecommitdiff
path: root/python/w3lib
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
parent491199ca4948d7509516dedef5f965e10fc4d5e8 (diff)
downloadslackbuilds-2b3333c721db814fed56c01a6f2de0e7a03d1b85.tar.gz
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')
-rw-r--r--python/w3lib/w3lib.SlackBuild6
-rw-r--r--python/w3lib/w3lib.info6
2 files changed, 6 insertions, 6 deletions
diff --git a/python/w3lib/w3lib.SlackBuild b/python/w3lib/w3lib.SlackBuild
index c30441dca9..a1b1b27350 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
diff --git a/python/w3lib/w3lib.info b/python/w3lib/w3lib.info
index 6e22edab03..b3987b6c50 100644
--- a/python/w3lib/w3lib.info
+++ b/python/w3lib/w3lib.info
@@ -1,8 +1,8 @@
PRGNAM="w3lib"
-VERSION="1.19.0"
+VERSION="1.22.0"
HOMEPAGE="https://github.com/scrapy/w3lib"
-DOWNLOAD="https://pypi.python.org/packages/6e/b7/13ca0d5b680daa59812a7af5870ac97162033056b9e04f9a6aee0ea6f3ae/w3lib-1.19.0.tar.gz"
-MD5SUM="ae55abe6e39add1c1d945b584661fe4f"
+DOWNLOAD="https://files.pythonhosted.org/packages/5e/2f/76558d2712d93e9267a3160190f1bb005f97ef4aba35592728f63747da8b/w3lib-1.22.0.tar.gz"
+MD5SUM="2eceef8cc9e3be81ae3eb825c23449cb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""