Hello community, here is the log from the commit of package python-httplib2 for openSUSE:Factory checked in at 2013-03-30 15:00:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-httplib2 (Old) and /work/SRC/openSUSE:Factory/.python-httplib2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-httplib2", Maintainer is "CStender@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/python-httplib2/python-httplib2.changes 2013-02-25 20:40:49.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-httplib2.new/python-httplib2.changes 2013-03-30 15:00:07.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Mar 22 13:30:17 UTC 2013 - speilicke@suse.com + +- Update to version 0.8: + + Improved App Engine behavior + +------------------------------------------------------------------- Old: ---- httplib2-0.7.7.tar.gz New: ---- httplib2-0.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-httplib2.spec ++++++ --- /var/tmp/diff_new_pack.oLX1U7/_old 2013-03-30 15:00:08.000000000 +0100 +++ /var/tmp/diff_new_pack.oLX1U7/_new 2013-03-30 15:00:08.000000000 +0100 @@ -15,20 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define mod_name httplib2 Name: python-httplib2 -Version: 0.7.7 +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 -Source0: %{mod_name}-%{version}.tar.gz +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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +# Test requirements (for ssl module): +#BuildRequires: python %if 0%{?sles_version} Requires: openssl-certs %else @@ -45,7 +46,7 @@ left out of other HTTP libraries. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n httplib2-%{version} %patch0 -p1 %build ++++++ python3-httplib2.spec ++++++ --- /var/tmp/diff_new_pack.oLX1U7/_old 2013-03-30 15:00:08.000000000 +0100 +++ /var/tmp/diff_new_pack.oLX1U7/_new 2013-03-30 15:00:08.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package python-httplib2 +# spec file for package python3-httplib2 # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,37 +15,34 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define mod_name httplib2 Name: python3-httplib2 -Version: 0.7.7 +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 -Source0: %{mod_name}-%{version}.tar.gz +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 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 -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python3_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif %description A comprehensive HTTP client library that supports many features left out of other HTTP libraries. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n httplib2-%{version} %patch0 -p1 %build @@ -55,7 +52,7 @@ python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} #%%check -#python python2/httplib2test.py +#python3 python3/httplib2test.py %files %defattr(-,root,root) ++++++ httplib2-0.7.7.tar.gz -> httplib2-0.8.tar.gz ++++++ ++++ 2789 lines of diff (skipped) ++++++ httplib2-use-system-certs.patch ++++++ --- /var/tmp/diff_new_pack.oLX1U7/_old 2013-03-30 15:00:08.000000000 +0100 +++ /var/tmp/diff_new_pack.oLX1U7/_new 2013-03-30 15:00:08.000000000 +0100 @@ -1,41 +1,42 @@ -Only in a/python2/httplib2: cacerts.txt -diff -ru a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py ---- a/python2/httplib2/__init__.py 2012-03-02 21:12:34.000000000 +0100 -+++ b/python2/httplib2/__init__.py 2012-06-20 13:30:39.524140796 +0200 -@@ -180,9 +180,8 @@ +diff -ruN a/python2/httplib2/__init__.py b/python2/httplib2/__init__.py +--- a/python2/httplib2/__init__.py 2013-03-06 21:45:31.000000000 +0100 ++++ b/python2/httplib2/__init__.py 2013-03-22 14:02:09.458410128 +0100 +@@ -184,15 +184,8 @@ # requesting that URI again. DEFAULT_MAX_REDIRECTS = 5 --# Default CA certificates file bundled with httplib2. --CA_CERTS = os.path.join( +-try: +- # Users can optionally provide a module that tells us where the CA_CERTS +- # are located. +- import ca_certs_locater +- CA_CERTS = ca_certs_locater.get() +-except ImportError: +- # Default CA certificates file bundled with httplib2. +- CA_CERTS = os.path.join( - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") -+# Use system-wide CA certificates: ++# Default CA certificates file bundled with httplib2. +CA_CERTS = '/etc/ssl/ca-bundle.pem' # Which headers are hop-by-hop headers by default HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] -Only in b/python2/httplib2: .__init__.py.swp -Only in a/python3/httplib2: cacerts.txt -diff -ru a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py ---- a/python3/httplib2/__init__.py 2012-03-02 21:12:34.000000000 +0100 -+++ b/python3/httplib2/__init__.py 2012-06-20 13:30:22.156140376 +0200 -@@ -119,9 +119,8 @@ - # Which headers are hop-by-hop headers by default +diff -ruN a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py +--- a/python3/httplib2/__init__.py 2013-03-06 21:45:31.000000000 +0100 ++++ b/python3/httplib2/__init__.py 2013-03-22 14:01:51.270409717 +0100 +@@ -124,8 +124,8 @@ HOP_BY_HOP = ['connection', 'keep-alive', 'proxy-authenticate', 'proxy-authorization', 'te', 'trailers', 'transfer-encoding', 'upgrade'] --# Default CA certificates file bundled with httplib2. + # Default CA certificates file bundled with httplib2. -CA_CERTS = os.path.join( - os.path.dirname(os.path.abspath(__file__ )), "cacerts.txt") -+# Use system-wide CA certificates: +CA_CERTS = '/etc/ssl/ca-bundle.pem' ++ def _get_end2end_headers(response): hopbyhop = list(HOP_BY_HOP) -Only in b/python3/httplib2: .__init__.py.swp -diff -ru a/setup.py b/setup.py ---- a/setup.py 2012-03-02 21:12:34.000000000 +0100 -+++ b/setup.py 2012-06-20 13:28:26.560137617 +0200 -@@ -63,7 +63,6 @@ +diff -ruN a/setup.py b/setup.py +--- a/setup.py 2013-03-06 21:45:31.000000000 +0100 ++++ b/setup.py 2013-03-22 14:02:33.031410660 +0100 +@@ -62,7 +62,6 @@ """, package_dir=pkgdir, packages=['httplib2'], -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org