diff --git a/programming/language/python3/python3-requests/files/certs.patch b/programming/language/python3/python3-requests/files/certs.patch new file mode 100644 index 0000000000..47a32f3802 --- /dev/null +++ b/programming/language/python3/python3-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/python3/python3-requests/pspec.xml b/programming/language/python3/python3-requests/pspec.xml index 45ced79ff5..63592a62b7 100644 --- a/programming/language/python3/python3-requests/pspec.xml +++ b/programming/language/python3/python3-requests/pspec.xml @@ -11,17 +11,23 @@ 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://pypi.python.org/packages/16/09/37b69de7c924d318e51ece1c4ceb679bf93be9d05973bb30c35babd596e2/requests-2.13.0.tar.gz + https://files.pythonhosted.org/packages/b0/e1/eab4fc3752e3d240468a8c0b284607899d2fbfb236a56b7377a329aa8d09/requests-2.18.4.tar.gz python3-devel python3-setuptools + + certs.patch + python3-requests python3 + python3-idna + python3-urllib3 + python3-chardet /usr/lib @@ -30,6 +36,13 @@ + + 2018-05-21 + 2.18.4 + Version Bump. + Pisi Linux Community + admin@pisilinux.org + 2017-03-19 2.13.0