aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 c30441dca901..a1b1b2735026 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 6e22edab0314..b3987b6c50f4 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=""