From 24d74bccff96e1334483e6c9b70972f4a3c78438 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 11 May 2019 22:48:18 +0700 Subject: python/python-requests: Support newer python-urllib3. Signed-off-by: Willy Sudiarto Raharjo --- python/python-requests/python-requests.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/python-requests/python-requests.SlackBuild') diff --git a/python/python-requests/python-requests.SlackBuild b/python/python-requests/python-requests.SlackBuild index e3f724fb23..ec176dbfdb 100644 --- a/python/python-requests/python-requests.SlackBuild +++ b/python/python-requests/python-requests.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=python-requests VERSION=${VERSION:-2.21.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=requests @@ -71,6 +71,8 @@ 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 {} \; +patch -p1 < $CWD/support-urllib3-1.26.patch + python setup.py install --root=$PKG # Python 3 support. -- cgit v1.2.3