Hello community,

here is the log from the commit of package python-oauth2client for 
openSUSE:Factory checked in at 2017-07-11 08:25:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oauth2client (Old)
 and      /work/SRC/openSUSE:Factory/.python-oauth2client.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oauth2client"

Tue Jul 11 08:25:07 2017 rev:7 rq:508329 version:4.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oauth2client/python-oauth2client.changes  
2017-02-07 12:09:33.349938019 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-oauth2client.new/python-oauth2client.changes 
    2017-07-11 08:25:07.309570801 +0200
@@ -1,0 +2,19 @@
+Sat Jul  1 12:31:26 UTC 2017 - [email protected]
+
+- update to version 4.1.2
+  * New features:
+    * Allow passing prompt='consent' via the flow_from_clientsecrets. (#717)
+    * Allow customizing the GCE metadata service address via an env var. (#704)
+    * Store original encoded and signed identity JWT in OAuth2Credentials. 
(#680)
+    * Use jsonpickle in django contrib, if available. (#676)
+  * Bug fixes:
+    * Fix packaging issue had erroneously installed the test package. (#688)
+    * Typo fixes. (#668, #697)
+    * Remove b64 padding from PKCE values, per RFC7636. (#683)
+    * Include LICENSE in Manifest.in. (#694)
+    * Fix tests and CI. (#705, #712, #713)
+    * Escape callback error code in flask_util. (#710)
+- package python3 in singlespec
+- remove o2c_hide-deprecation-warning.patch (upstream)
+
+-------------------------------------------------------------------
@@ -5,0 +25,35 @@
+
+-------------------------------------------------------------------
+Fri Oct 21 04:32:30 UTC 2016 - [email protected]
+
+- update to version 4.0.0:
+  * New features:
+    + New Django samples. (#636)
+    + Add support for RFC7636 PKCE. (#588)
+    + Release as a universal wheel. (#665)
+  * Bug fixes:
+    + Fix django authorization redirect by correctly checking validity
+      of credentials. (#651)
+    + Correct query loss when using parse_qsl to dict. (#622)
+    + Switch django models from pickle to jsonpickle. (#614)
+    + Support new MIDDLEWARE Django 1.10 aetting. (#623)
+    + Remove usage of os.environ.setdefault. (#621)
+    + Handle missing storage files correctly. (#576)
+    + Try to revoke token with POST when getting a 405. (#662)
+  * Internal changes:
+    + Use transport module for GCE environment check. (#612)
+    + Remove author lines and add contributors.md. (#627)
+    + Clean up imports. (#625)
+    + Use transport.request in tests. (#607)
+    + Drop unittest2 dependency (#610)
+    + Remove backslash line continuations. (#608)
+    + Use transport helpers in system tests. (#606)
+    + Clean up usage of HTTP mocks in tests. (#605)
+    + Remove all uses of MagicMock. (#598)
+    + Migrate test runner to pytest. (#569)
+    + Merge util.py and _helpers.py. (#579)
+    + Remove httplib2 imports from non-transport modules. (#577)
+  * Breaking changes:
+    + Drop Python 3.3 support. (#603)
+    + Drop Python 2.6 support. (#590)
+    + Remove multistore_file. (#589)

Old:
----
  o2c_hide-deprecation-warning.patch
  oauth2client-3.0.0.tar.gz

New:
----
  oauth2client-4.1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-oauth2client.spec ++++++
--- /var/tmp/diff_new_pack.n5U7jZ/_old  2017-07-11 08:25:07.829497469 +0200
+++ /var/tmp/diff_new_pack.n5U7jZ/_new  2017-07-11 08:25:07.833496905 +0200
@@ -16,8 +16,9 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-oauth2client
-Version:        3.0.0
+Version:        4.1.2
 Release:        0
 Summary:        Pythob OAuth2 Client
 License:        Apache-2.0
@@ -26,7 +27,6 @@
 Source0:        oauth2client-%{version}.tar.gz
 Patch1:         oauth2client-init-django-settings.patch
 Patch2:         o2c_reauth.patch
-Patch3:         o2c_hide-deprecation-warning.patch
 Requires:       python
 Requires:       python-fasteners
 Requires:       python-httplib2        >= 0.9.1
@@ -36,38 +36,32 @@
 Requires:       python-pycrypto
 Requires:       python-rsa             >= 3.1.4
 Requires:       python-six             >= 1.6.1
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
-BuildRequires:  python-Django   >= 1.8
-%endif
-BuildRequires:  python-SQLAlchemy
-BuildRequires:  python-fasteners
-BuildRequires:  python-flask
-BuildRequires:  python-httplib2        >= 0.9.1
-BuildRequires:  python-keyring
-BuildRequires:  python-mock
-BuildRequires:  python-nose
-BuildRequires:  python-pyOpenSSL
-BuildRequires:  python-pyasn1-modules  >= 0.0.5
-BuildRequires:  python-pycrypto
-BuildRequires:  python-rsa             >= 3.1.4
-BuildRequires:  python-setuptools
-BuildRequires:  python-six             >= 1.6.1
-BuildRequires:  python-tox
-BuildRequires:  python-unittest2
+BuildRequires:  %{python_module Django >= 1.8}
+BuildRequires:  %{python_module Flask}
+BuildRequires:  %{python_module SQLAlchemy}
+BuildRequires:  %{python_module fasteners}
+BuildRequires:  %{python_module httplib2 >= 0.9.1}
+BuildRequires:  %{python_module keyring}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module pyOpenSSL}
+BuildRequires:  %{python_module pyasn1-modules >= 0.0.5}
+BuildRequires:  %{python_module pycrypto}
+BuildRequires:  %{python_module rsa >= 3.1.4}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six >= 1.6.1}
+BuildRequires:  %{python_module tox}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Conflicts:      google-api-python-client  < 1.3.0
 # Don't ask, we obviously have problems working together
 Conflicts:      python-google-api-python-client  < 1.3.0
 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()")}
-%else
 BuildArch:      noarch
-%endif
 
 %description
 This is a Python library for accessing resources protected by OAuth 2.0.
 
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
 %package django
 Summary:        Django extension
 Group:          Development/Libraries/Python
@@ -79,13 +73,12 @@
 
 Utilities for using OAuth 2.0 in conjunction with
 the Django datastore.
-%endif
 
 %package flask
 Summary:        Flask extension
 Group:          Development/Libraries/Python
 PreReq:         python-oauth2client = %version
-Requires:       python-flask
+Requires:       python-Flask
 
 %description flask
 Provides a Flask extension that makes using OAuth2 web server flow easier.
@@ -103,92 +96,63 @@
 
 Utilities for making it easier to use OAuth 2.0 on Google Compute Engine.
 
-%package test
-Summary:        Tests for python-oauth2client
-Group:          Development/Libraries/Python
-PreReq:         python-oauth2client = %version
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
-PreReq:         python-oauth2client-django = %version
-%endif
-PreReq:         python-oauth2client-flask = %version
-PreReq:         python-oauth2client-gce = %version
-Requires:       python-coverage
-Requires:       python-httplib2     >= 0.9.1
-Requires:       python-mock
-Requires:       python-nose
-Requires:       python-pyasn1       >= 0.1.7
-Requires:       python-pyasn1-modules >= 0.0.5
-Requires:       python-rsa          >= 3.1.4
-Requires:       python-six          >= 1.6.1
-Requires:       python-unittest2
-
-%description test
-Package provides the unit tests for python-oauth2client
-
+%python_subpackages
 
 %prep
 %setup -q -n oauth2client-%{version}
 # remove extensions currently not packaged
 rm -rf oauth2client/contrib/*appengine*
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-rm -rf oauth2client/contrib/*django*
-%endif
+rm -f oauth2client/contrib/__pycache__/*appengine*
 %patch1
 %patch2
-%patch3
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-mkdir -p %{buildroot}%{python_sitelib}/tests/oauth2client
+%python_install
 # remove tests for extensions we do not build at the moment
-rm tests/contrib/*appengine*
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-rm tests/contrib/*django*
-%endif
-mv %{buildroot}%{python_sitelib}/tests/*.py* 
%{buildroot}%{python_sitelib}/tests/oauth2client
-mv %{buildroot}%{python_sitelib}/tests/contrib 
%{buildroot}%{python_sitelib}/tests/oauth2client
+rm -rf tests/contrib/appengine
 
-# Even with tests/contrib/django_util removed there is still one test I could
-# not find that loads django_util which then fails. Disable tests for now and
-# hope for the best
-#%check
-#nosetests
-#tox
+%fdupes %{buildroot}%{_prefix}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.md
 %dir %{python_sitelib}/oauth2client
 %dir %{python_sitelib}/oauth2client-%{version}-py%{py_ver}.egg-info
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
 %exclude %{python_sitelib}/oauth2client/contrib/django*
-%endif
 %exclude %{python_sitelib}/oauth2client/contrib/flask*
+%exclude %{python_sitelib}/oauth2client/contrib/__pycache__/flask*
 %exclude %{python_sitelib}/oauth2client/contrib/gce*
+%exclude %{python_sitelib}/oauth2client/contrib/__pycache__/gce*
 %{python_sitelib}/oauth2client/*
 %{python_sitelib}/oauth2client-%{version}-py%{py_ver}.egg-info/*
 
-%files flask
+%files %{python_files flask}
 %defattr(-,root,root,-)
 %{python_sitelib}/oauth2client/contrib/flask*
+%ifpython3
+%{python_sitelib}/oauth2client/contrib/__pycache__/flask*
+%endif
 
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
-%files django
+%files %{python_files django}
 %defattr(-,root,root,-)
 %{python_sitelib}/oauth2client/contrib/django*
-%endif
 
-%files gce
+%files %{python_files gce}
 %defattr(-,root,root,-)
 %{python_sitelib}/oauth2client/contrib/gce*
+%ifpython3
+%{python_sitelib}/oauth2client/contrib/__pycache__/gce*
+%endif
 
-%files test
+%if 0
+%files %{python_files test}
 %defattr(-,root,root,-)
 %dir %{python_sitelib}/tests
 %dir %{python_sitelib}/tests/oauth2client
 %{python_sitelib}/tests/oauth2client/*
+%endif
 
 %changelog

++++++ oauth2client-3.0.0.tar.gz -> oauth2client-4.1.2.tar.gz ++++++
++++ 13808 lines of diff (skipped)


Reply via email to