Hello community, here is the log from the commit of package google-api-python-client for openSUSE:Factory checked in at 2015-12-09 19:48:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-api-python-client (Old) and /work/SRC/openSUSE:Factory/.google-api-python-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "google-api-python-client" Changes: -------- --- /work/SRC/openSUSE:Factory/google-api-python-client/google-api-python-client.changes 2014-03-11 06:46:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.google-api-python-client.new/google-api-python-client.changes 2015-12-09 19:49:02.000000000 +0100 @@ -1,0 +2,38 @@ +Thu Nov 12 20:39:10 UTC 2015 - rjschwei@suse.com + +- Upgrade to version 1.4.2 (bsc#954690) + + oauth2client is now a separate package python-oauth2client + + Need to update this version as the previous embedded version for + oauth2client lacks necessary features for google-cloud-sdk + + remove patch no_embed_uritempl_dep.patch + + add patch hidePythonDeps.patch + + Add automatic caching for the discovery docs. + - From 1.4.1 + + Add the googleapiclient.discovery.Resource.new_batch_http_request method. + - From 1.4.0 + + Python 3 support. + - From 1.3.2 + + Fix an infinite loop for downloading small files. + + Fix a unicode error in error encoding. + + Better handling of `content-length` in media requests. + + Add support for methodPath entries containing colon. + - From 1.3.1 + + Quick release for a fix around aliasing in v1.3. + - From 1.3.0 + + Add support for the Google Application Default Credentials. + + Require python 2.6 as a minimum version. + + Update several API samples. + + Finish splitting out oauth2client repo and update tests. + + Various doc cleanup and bugfixes. + + + Two important notes: + * We've added `googleapiclient` as the primary suggested import + name, and kept `apiclient` as an alias, in order to have a more + appropriate import name. At some point, we will remove `apiclient` + as an alias. + * Due to an issue around in-place upgrades for Python packages, + it's not possible to do an upgrade from version 1.2 to 1.3. Instead, + setup.py attempts to detect this and prevents it. Simply remove + the previous version and reinstall to fix this. + +------------------------------------------------------------------- Old: ---- google-api-python-client-1.2.tar.gz no_embed_uritempl_dep.patch New: ---- google-api-python-client-1.4.2.tar.gz hidePythonDeps.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-api-python-client.spec ++++++ --- /var/tmp/diff_new_pack.nMPlSf/_old 2015-12-09 19:49:04.000000000 +0100 +++ /var/tmp/diff_new_pack.nMPlSf/_new 2015-12-09 19:49:04.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package google-api-python-client # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,26 @@ Name: google-api-python-client -Version: 1.2 +Version: 1.4.2 Release: 0 Summary: Google APIs Python Client License: Apache-2.0 Group: Development/Languages/Python -Url: http://code.google.com/p/google-api-python-client/ +Url: https://github.com/google/google-api-python-client Source0: %{name}-%{version}.tar.gz -Patch0: no_embed_uritempl_dep.patch +Patch0: hidePythonDeps.patch +Requires: python +Requires: python-httplib2 >= 0.8 +Requires: python-oauth2client >= 1.4.6 +Requires: python-six >= 1.6.1 +Requires: python-uritemplate >= 0.6 BuildRequires: python-devel +BuildRequires: python-mock +BuildRequires: python-nose +BuildRequires: python-oauth2client BuildRequires: python-setuptools -BuildRequires: python-simplejson -Requires: python -Requires: python-simplejson -Requires: python-uritemplate +BuildRequires: python-unittest2 +BuildRequires: python-uritemplate BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -41,9 +47,18 @@ %description Google APIs Client Library for Python +%package test +Summary: Tests for google-api-python-client +Group: Development/Libraries/Python +PreReq: google-api-python-client = %version +Requires: python-nose + +%description test +Package provides the unit tests for google-api-python-client + %prep %setup -q -%patch0 -p1 +%patch0 %build python setup.py build @@ -51,12 +66,12 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf $RPM_BUILD_ROOT +%check +nosetests --with-coverage --cover-package=googleapiclient --nocapture --cover-erase --cover-tests --cover-branches --cover-min-percentage=85 %files %defattr(-,root,root,-) -%doc CHANGELOG FAQ LICENSE README +%doc CHANGELOG LICENSE README.md %{python_sitelib}/* %changelog ++++++ google-api-python-client-1.2.tar.gz -> google-api-python-client-1.4.2.tar.gz ++++++ ++++ 367033 lines of diff (skipped) ++++++ hidePythonDeps.patch ++++++ --- setup.py.orig +++ setup.py @@ -85,7 +85,7 @@ setup( long_description=long_desc, author="Google Inc.", url="http://github.com/google/google-api-python-client/", - install_requires=install_requires, +# install_requires=install_requires, packages=packages, package_data={}, license="Apache 2.0",