[packages/python-httplib2] - up to 0.11.3

arekm arekm at pld-linux.org
Wed Apr 11 13:40:41 CEST 2018


commit b43c14c90bde0b13c48371139df76c0b32ff1a1e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Apr 11 13:40:34 2018 +0200

    - up to 0.11.3

 python-httplib2-0.9-proxy-http.patch | 12 ++++++------
 python-httplib2.spec                 |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/python-httplib2.spec b/python-httplib2.spec
index 9f13d97..2292609 100644
--- a/python-httplib2.spec
+++ b/python-httplib2.spec
@@ -5,12 +5,12 @@
 Summary:	A comprehensive HTTP client library
 Summary(pl.UTF-8):	Obszerna biblioteka klienta HTTP
 Name:		python-httplib2
-Version:	0.10.3
+Version:	0.11.3
 Release:	1
 License:	MIT
 Group:		Development/Languages/Python
 Source0:	https://github.com/httplib2/httplib2/archive/v%{version}.tar.gz
-# Source0-md5:	1be116cd19035de6de0de0f3027c643d
+# Source0-md5:	b5dba454b541087cc5f674fed74916b4
 Patch0:		%{name}.certfile.patch
 Patch1:		%{name}.getCertHost.patch
 Patch2:		%{name}.rfc2459.patch
diff --git a/python-httplib2-0.9-proxy-http.patch b/python-httplib2-0.9-proxy-http.patch
index 0d55002..7b4af06 100644
--- a/python-httplib2-0.9-proxy-http.patch
+++ b/python-httplib2-0.9-proxy-http.patch
@@ -1,16 +1,16 @@
 diff -Nur httplib2-0.9.orig/python2/httplib2/__init__.py httplib2-0.9/python2/httplib2/__init__.py
 --- httplib2-0.9.orig/python2/httplib2/__init__.py	2015-04-03 12:56:04.834370332 -0600
 +++ httplib2-0.9/python2/httplib2/__init__.py	2015-04-03 12:58:16.441925454 -0600
-@@ -838,7 +838,11 @@
+@@ -896,7 +896,10 @@ def proxy_info_from_url(url, method='htt
      else:
          port = dict(https=443, http=80)[method]
  
--    proxy_type = 3 # socks.PROXY_TYPE_HTTP
+-    proxy_type = 3  # socks.PROXY_TYPE_HTTP
 +    if method == 'http':
-+       proxy_type = 4 # socks.PROXY_TYPE_HTTP_NO_TUNNEL
++        proxy_type = 4 # socks.PROXY_TYPE_HTTP_NO_TUNNEL
 +    else:
-+       proxy_type = 3 # socks.PROXY_TYPE_HTTP
-+
-     return ProxyInfo(
++        proxy_type = 3  # socks.PROXY_TYPE_HTTP
+     pi = ProxyInfo(
          proxy_type = proxy_type,
          proxy_host = host,
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-httplib2.git/commitdiff/b43c14c90bde0b13c48371139df76c0b32ff1a1e



More information about the pld-cvs-commit mailing list