summaryrefslogtreecommitdiffstats
path: root/source/l
diff options
context:
space:
mode:
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 27b8365a2..b80fc33d8 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 000000000..48407b4a7
--- /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'
+
+ ]