summaryrefslogtreecommitdiff
path: root/source/l
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-04-27 20:04:59 +0000
committerEric Hameleers <alien@slackware.com>2019-04-28 08:59:45 +0200
commit495148272d8fc1529a1d066c8b0e30dc4230832e (patch)
tree8c8cfb5aee445e06f7b1d5c01b643b20180a17b5 /source/l
parentbfbeefa9c9825dde624e544beb29c62b4e467602 (diff)
downloadcurrent-495148272d8fc1529a1d066c8b0e30dc4230832e.tar.gz
Sat Apr 27 20:04:59 UTC 201920190427200459
a/kernel-generic-4.19.37-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.37-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.37-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.37-x86-1.txz: Upgraded. k/kernel-source-4.19.37-noarch-1.txz: Upgraded. l/python-requests-2.21.0-x86_64-3.txz: Rebuilt. Increase maximum allowed version of urllib3. Thanks to Lockywolf. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l')
-rwxr-xr-xsource/l/python-requests/python-requests.SlackBuild5
-rw-r--r--source/l/python-requests/requests.urllib3.version.diff11
2 files changed, 15 insertions, 1 deletions
diff --git a/source/l/python-requests/python-requests.SlackBuild b/source/l/python-requests/python-requests.SlackBuild
index 27b8365a..b80fc33d 100755
--- a/source/l/python-requests/python-requests.SlackBuild
+++ b/source/l/python-requests/python-requests.SlackBuild
@@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=python-requests
VERSION=${VERSION:-$(echo requests-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
SRCNAM=requests
@@ -54,6 +54,9 @@ cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.?z || exit 1
cd $SRCNAM-$VERSION || exit 1
+
+zcat $CWD/requests.urllib3.version.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/source/l/python-requests/requests.urllib3.version.diff b/source/l/python-requests/requests.urllib3.version.diff
new file mode 100644
index 00000000..48407b4a
--- /dev/null
+++ b/source/l/python-requests/requests.urllib3.version.diff
@@ -0,0 +1,11 @@
+--- ./setup.py.orig 2018-12-10 00:13:32.000000000 -0600
++++ ./setup.py 2019-04-27 14:15:41.124000032 -0500
+@@ -44,7 +44,7 @@
+ requires = [
+ 'chardet>=3.0.2,<3.1.0',
+ 'idna>=2.5,<2.9',
+- 'urllib3>=1.21.1,<1.25',
++ 'urllib3>=1.21.1,<1.26',
+ 'certifi>=2017.4.17'
+
+ ]