diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-11 22:48:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-11 22:50:29 +0700 |
commit | 24d74bccff96e1334483e6c9b70972f4a3c78438 (patch) | |
tree | 8b0934ec4f4d5d2da84e9356e9da25231148eb3a /python/python-requests/python-requests.SlackBuild | |
parent | 07504628fe140b8dad128a5d62bbb057cfad9d96 (diff) |
python/python-requests: Support newer python-urllib3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-requests/python-requests.SlackBuild')
-rw-r--r-- | python/python-requests/python-requests.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/python/python-requests/python-requests.SlackBuild b/python/python-requests/python-requests.SlackBuild index e3f724fb23965..ec176dbfdbc16 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. |