forked from pool/python-httplib2
Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httplib2?expand=0&rev=36
This commit is contained in:
parent
bfa6628a9f
commit
5808412e1a
@ -1,126 +0,0 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu May 2 10:23:36 UTC 2013 - speilicke@suse.com
|
|
||||||
|
|
||||||
- Add httplib2-bnc-818100.patch (bnc#818100): Fix for subsequent
|
|
||||||
request SSL certificate validation
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 11 19:51:38 UTC 2013 - p.drouand@gmail.com
|
|
||||||
|
|
||||||
- Drop unneeded python-pyOpenSSL Requires
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 11 19:39:31 UTC 2013 - p.drouand@gmail.com
|
|
||||||
|
|
||||||
- Initial python3 support
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 11 19:38:07 UTC 2013 - p.drouand@gmail.com
|
|
||||||
|
|
||||||
- Update to 0.7.7 version:
|
|
||||||
* More fixes for App Engine, now less likely to swallow important exceptions.
|
|
||||||
* Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
|
|
||||||
* Added GeoTrust cert
|
|
||||||
* Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/
|
|
||||||
* The following issues have been fixed:
|
|
||||||
- 229 python3 httplib2 clobbers multiple headers of same key
|
|
||||||
- 230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
|
|
||||||
- 231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Oct 6 22:26:47 UTC 2012 - os-dev@jacraig.com
|
|
||||||
|
|
||||||
- Update to 0.7.6:
|
|
||||||
* Fix app engine
|
|
||||||
* On Python App Engine 2.7 a body can be passed in that is actually a
|
|
||||||
stream. Do a full read of the contents of that stream before proceeding.
|
|
||||||
- Update URL to one given in setup.py; also where the old one redirects to.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Sep 9 16:29:51 UTC 2012 - os-dev@jacraig.com
|
|
||||||
|
|
||||||
- Update to 0.7.5, no changelog provided.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 23 14:56:00 UTC 2012 - saschpe@suse.de
|
|
||||||
|
|
||||||
- Require openssl-certs on SLE instead of ca-certificates
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jul 17 08:24:44 UTC 2012 - saschpe@suse.de
|
|
||||||
|
|
||||||
- Add missing runtime requirement on python-pyOpenSSL to gain
|
|
||||||
access to 'ssl' module
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 9 08:47:20 UTC 2012 - cfarrell@suse.com
|
|
||||||
|
|
||||||
- license update: MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+)
|
|
||||||
__init__.py contains code derived from a Google owned Apache project.
|
|
||||||
cacerts.txt is Mozilla triple-licensed.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Jun 20 11:41:56 UTC 2012 - saschpe@suse.de
|
|
||||||
|
|
||||||
- Don't ship private copy of Mozilla NSS certs, use system certs
|
|
||||||
instead (bnc#761162)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jun 5 09:56:01 UTC 2012 - cstender@opensuse.org
|
|
||||||
|
|
||||||
- update to version 0.7.4
|
|
||||||
* See CHANGELOG for all changes and fixes
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Dec 22 12:52:35 UTC 2011 - cstender@suse.com
|
|
||||||
|
|
||||||
- updated to version 0.7.2
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Jul 11 14:06:42 CEST 2011 - cstender@suse.de
|
|
||||||
|
|
||||||
- updated to version 0.7.1
|
|
||||||
* See CHANGELOG for all changes and fixes
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Apr 19 13:47:15 CEST 2010 - dmueller@suse.de
|
|
||||||
|
|
||||||
- update to version 0.6.0:
|
|
||||||
* include python 3 support/compatibility
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Aug 13 10:55:40 UTC 2009 - cstender@novell.com
|
|
||||||
|
|
||||||
- build as noarch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 4 10:51:26 UTC 2009 - cstender@novell.com
|
|
||||||
|
|
||||||
- updated to version 0.5.0
|
|
||||||
* Fixed the following bugs:
|
|
||||||
#12 - Cache-Control: only-if-cached incorrectly does request if
|
|
||||||
item not in cache
|
|
||||||
#39 - Deprecation warnings in Python 2.6
|
|
||||||
#54 - Http.request fails accesing Google account via http proxy
|
|
||||||
#56 - Block on response.read() for HEAD requests.
|
|
||||||
#57 - Timeout ignore for Python 2.6
|
|
||||||
#58 - Fixed parsing of Cache-Control: header to make it more
|
|
||||||
robust
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 9 12:41:28 CEST 2008 - cstender@suse.de
|
|
||||||
|
|
||||||
- updated package to version 0.4.0
|
|
||||||
o added support for proxies if the Socksipy module is installed
|
|
||||||
o fixed bug with some HEAD responses having content-length set to
|
|
||||||
zero incorrectly
|
|
||||||
o fixed most except's to catch a specific exception
|
|
||||||
o added 'connection_type' parameter to Http.request()
|
|
||||||
o the default for 'force_exception_to_status_code' was changed to
|
|
||||||
False
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Oct 21 22:37:29 CEST 2006 - dgollub@suse.de
|
|
||||||
|
|
||||||
- initial version of python-httplib2 (0.2.0)
|
|
||||||
|
|
@ -1,65 +0,0 @@
|
|||||||
#
|
|
||||||
# spec file for package python3-httplib2
|
|
||||||
#
|
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
||||||
#
|
|
||||||
# All modifications and additions to the file contributed by third parties
|
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
|
||||||
# upon. The license for this file, and modifications and additions to the
|
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
|
||||||
# license for the pristine package is not an Open Source License, in which
|
|
||||||
# case the license is the MIT License). An "Open Source License" is a
|
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
|
||||||
# published by the Open Source Initiative.
|
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
Name: python3-httplib2
|
|
||||||
Version: 0.8
|
|
||||||
Release: 0
|
|
||||||
Url: http://code.google.com/p/httplib2/
|
|
||||||
Summary: A Python HTTP client library
|
|
||||||
License: MIT and Apache-2.0 and (MPL-1.1 or GPL-2.0+ or LGPL-2.1+)
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
Source: http://pypi.python.org/packages/source/h/httplib2/httplib2-%{version}.tar.gz
|
|
||||||
# PATCH-FIX-OPENSUSE: Don't ship private copy of Mozilla NSS certs, use system certs instead (bnc#761162)
|
|
||||||
Patch0: httplib2-use-system-certs.patch
|
|
||||||
# PATCH-FIX-UPSTREAM: speilicke@suse.com -- SSL certificate hostname mismatch is checked only once
|
|
||||||
Patch1: httplib2-bnc-818100.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: python3-devel
|
|
||||||
# Test requirements (for ssl module):
|
|
||||||
#BuildRequires: python3
|
|
||||||
%if 0%{?sles_version}
|
|
||||||
Requires: openssl-certs
|
|
||||||
%else
|
|
||||||
Requires: ca-certificates
|
|
||||||
%endif
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description
|
|
||||||
A comprehensive HTTP client library that supports many features
|
|
||||||
left out of other HTTP libraries.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -q -n httplib2-%{version}
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
|
||||||
python3 setup.py build
|
|
||||||
|
|
||||||
%install
|
|
||||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
||||||
|
|
||||||
#%%check
|
|
||||||
#python3 python3/httplib2test.py
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README
|
|
||||||
%{python3_sitelib}/*
|
|
||||||
|
|
||||||
%changelog
|
|
Loading…
Reference in New Issue
Block a user