python-requests python3-requests:ver. bump

This commit is contained in:
Rmys
2019-07-12 00:11:40 +03:00
parent 26602d7dd2
commit c1009a2283
2 changed files with 38 additions and 22 deletions
@@ -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())
@@ -2,7 +2,7 @@
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python-requests</Name>
<Name>python3-requests</Name>
<Homepage>http://www.python-requests.org/</Homepage>
<Packager>
<Name>Ergün Salman</Name>
@@ -11,22 +11,24 @@
<Summary>Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.</Summary>
<Description>Pythons standard urllib2 module provides most of the HTTP capabilities you need</Description>
<License>MIT</License>
<Archive sha1sum="b6e6ed992c86835aa1a7d7a81fec2aee0d385416" type="targz">https://files.pythonhosted.org/packages/54/1f/782a5734931ddf2e1494e4cd615a51ff98e1879cbe9eecbdfeaf09aa75e9/requests-2.19.1.tar.gz</Archive>
<Archive sha1sum="c22ed0a553f8dc37e5c2a965048d81a5ccfaff95" type="targz">https://files.pythonhosted.org/packages/01/62/ddcf76d1d19885e8579acb1b1df26a852b03472c0e46d2b959a714c90608/requests-2.22.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>python-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-setuptools</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">dont-import-OrderedDict-from-urllib3.patch</Patch>
<Patch level="1">patch-requests-certs.py-to-use-the-system-CA-bundle.patch</Patch>
<Patch>certs.patch</Patch>
</Patches>
</Source>
<Package>
<Name>python-requests</Name>
<!--RuntimeDependencies>
<Dependency>python-devel</Dependency>
</RuntimeDependencies-->
<Name>python3-requests</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency>python3-idna</Dependency>
<Dependency>python3-urllib3</Dependency>
<Dependency>python3-chardet</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
@@ -35,30 +37,30 @@
<History>
<Update release="7">
<Date>2018-09-21</Date>
<Version>2.19.1</Version>
<Comment>Rebuild certifi.</Comment>
<Date>2019-07-11</Date>
<Version>2.22.0</Version>
<Comment>Version Bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2018-08-15</Date>
<Date>2018-05-21</Date>
<Version>2.19.1</Version>
<Comment>Version Bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2017-09-04</Date>
<Version>2.13.0</Version>
<Comment>remove unneeded runtime dep.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
<Date>2018-05-21</Date>
<Version>2.18.4</Version>
<Comment>Version Bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2017-01-25</Date>
<Date>2017-03-19</Date>
<Version>2.13.0</Version>
<Comment>Version Bump</Comment>
<Comment>Release Bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
@@ -72,7 +74,7 @@
<Update release="2">
<Date>2016-06-06</Date>
<Version>2.9.1</Version>
<Comment>Rebuild</Comment>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>