diff --git a/programming/language/python/python-requests/files/certs.patch b/programming/language/python/python-requests/files/certs.patch new file mode 100644 index 0000000000..47a32f3802 --- /dev/null +++ b/programming/language/python/python-requests/files/certs.patch @@ -0,0 +1,14 @@ +diff --git a/requests/certs.py b/requests/certs.py +index d1a378d7..4e0bffd4 100644 +--- a/requests/certs.py ++++ b/requests/certs.py +@@ -12,7 +12,8 @@ If you are packaging Requests, e.g., for a Linux distribution or a managed + environment, you can change the definition of where() to return a separately + packaged CA bundle. + """ +-from certifi import where ++def where(): ++ return "/etc/ssl/certs/ca-certificates.crt" + + if __name__ == '__main__': + print(where()) diff --git a/programming/language/python/python-requests/pspec.xml b/programming/language/python/python-requests/pspec.xml index afc5d99338..2514f0d8c4 100644 --- a/programming/language/python/python-requests/pspec.xml +++ b/programming/language/python/python-requests/pspec.xml @@ -2,7 +2,7 @@ - python-requests + python3-requests http://www.python-requests.org/ Ergün Salman @@ -11,22 +11,24 @@ Requests is an Apache2 Licensed HTTP library, written in Python, for human beings. Python’s standard urllib2 module provides most of the HTTP capabilities you need MIT - https://files.pythonhosted.org/packages/54/1f/782a5734931ddf2e1494e4cd615a51ff98e1879cbe9eecbdfeaf09aa75e9/requests-2.19.1.tar.gz + https://files.pythonhosted.org/packages/01/62/ddcf76d1d19885e8579acb1b1df26a852b03472c0e46d2b959a714c90608/requests-2.22.0.tar.gz - python-devel - python-setuptools + python3-devel + python3-setuptools - dont-import-OrderedDict-from-urllib3.patch - patch-requests-certs.py-to-use-the-system-CA-bundle.patch + certs.patch - python-requests - + python3-requests + + python3 + python3-idna + python3-urllib3 + python3-chardet + /usr/lib /usr/share/doc @@ -35,30 +37,30 @@ - 2018-09-21 - 2.19.1 - Rebuild certifi. + 2019-07-11 + 2.22.0 + Version Bump. Pisi Linux Community admin@pisilinux.org - 2018-08-15 + 2018-05-21 2.19.1 Version Bump. Pisi Linux Community admin@pisilinux.org - 2017-09-04 - 2.13.0 - remove unneeded runtime dep. - Ertuğrul Erata - ertugrulerata@gmail.com + 2018-05-21 + 2.18.4 + Version Bump. + Pisi Linux Community + admin@pisilinux.org - 2017-01-25 + 2017-03-19 2.13.0 - Version Bump + Release Bump. Pisi Linux Community admin@pisilinux.org @@ -72,7 +74,7 @@ 2016-06-06 2.9.1 - Rebuild + First release Ayhan Yalçınsoy ayhanyalcinsoy@pisilinux.org