Accepting request 810641 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/810641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-python-client?expand=0&rev=14
This commit is contained in:
commit
75c87be2ed
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf482c13fb41a6d01770f9d62be6b33fdcd41d68c97f2beb9be02297bdd9e725
|
||||
size 141138
|
3
google-api-python-client-1.8.4.tar.gz
Normal file
3
google-api-python-client-1.8.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bbe212611fdc05364f3d20271cae53971bf4d485056e6c0d40748eddeeda9a19
|
||||
size 141206
|
143
python-google-api-python-client-no-unittest2.patch
Normal file
143
python-google-api-python-client-no-unittest2.patch
Normal file
@ -0,0 +1,143 @@
|
||||
Index: google-api-python-client-1.8.4/tests/test__auth.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test__auth.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test__auth.py 2020-06-01 15:48:23.340280191 +0200
|
||||
@@ -18,7 +18,7 @@ import google.auth.credentials
|
||||
import google_auth_httplib2
|
||||
import httplib2
|
||||
import oauth2client.client
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
|
||||
from googleapiclient import _auth
|
||||
|
||||
Index: google-api-python-client-1.8.4/tests/test_channel.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_channel.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_channel.py 2020-06-01 15:48:45.200411976 +0200
|
||||
@@ -3,7 +3,7 @@ from __future__ import absolute_import
|
||||
|
||||
__author__ = "jcgregorio@google.com (Joe Gregorio)"
|
||||
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
import datetime
|
||||
|
||||
from googleapiclient import channel
|
||||
Index: google-api-python-client-1.8.4/tests/test_discovery.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_discovery.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_discovery.py 2020-06-01 15:49:06.480540264 +0200
|
||||
@@ -37,7 +37,7 @@ import os
|
||||
import pickle
|
||||
import re
|
||||
import sys
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
|
||||
import mock
|
||||
|
||||
Index: google-api-python-client-1.8.4/tests/test_discovery_cache.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_discovery_cache.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_discovery_cache.py 2020-06-01 15:49:21.664631801 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
"""Discovery document cache tests."""
|
||||
|
||||
import datetime
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
|
||||
import mock
|
||||
|
||||
Index: google-api-python-client-1.8.4/tests/test_errors.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_errors.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_errors.py 2020-06-01 15:49:32.728698502 +0200
|
||||
@@ -21,7 +21,7 @@ from __future__ import absolute_import
|
||||
__author__ = "afshar@google.com (Ali Afshar)"
|
||||
|
||||
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
import httplib2
|
||||
|
||||
|
||||
Index: google-api-python-client-1.8.4/tests/test_http.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_http.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_http.py 2020-06-01 15:49:53.456823460 +0200
|
||||
@@ -35,7 +35,7 @@ import io
|
||||
import logging
|
||||
import mock
|
||||
import os
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
import random
|
||||
import socket
|
||||
import ssl
|
||||
Index: google-api-python-client-1.8.4/tests/test_json_model.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_json_model.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_json_model.py 2020-06-01 15:50:08.064911523 +0200
|
||||
@@ -28,7 +28,7 @@ import json
|
||||
import os
|
||||
import pkg_resources
|
||||
import platform
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
import httplib2
|
||||
import googleapiclient.model
|
||||
|
||||
Index: google-api-python-client-1.8.4/tests/test_mocks.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_mocks.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_mocks.py 2020-06-01 15:50:21.572991364 +0200
|
||||
@@ -24,7 +24,7 @@ __author__ = "jcgregorio@google.com (Joe
|
||||
|
||||
import httplib2
|
||||
import os
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
|
||||
from googleapiclient.errors import HttpError
|
||||
from googleapiclient.errors import UnexpectedBodyError
|
||||
Index: google-api-python-client-1.8.4/tests/test_model.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_model.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_model.py 2020-06-01 15:50:35.321072029 +0200
|
||||
@@ -23,7 +23,7 @@ from __future__ import absolute_import
|
||||
|
||||
__author__ = "jcgregorio@google.com (Joe Gregorio)"
|
||||
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
|
||||
from googleapiclient.model import BaseModel
|
||||
from googleapiclient.model import makepatch
|
||||
Index: google-api-python-client-1.8.4/tests/test_protobuf_model.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_protobuf_model.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_protobuf_model.py 2020-06-01 15:50:53.605179328 +0200
|
||||
@@ -22,7 +22,7 @@ from __future__ import absolute_import
|
||||
|
||||
__author__ = "mmcdonald@google.com (Matt McDonald)"
|
||||
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
import httplib2
|
||||
import googleapiclient.model
|
||||
|
||||
Index: google-api-python-client-1.8.4/tests/test_schema.py
|
||||
===================================================================
|
||||
--- google-api-python-client-1.8.4.orig/tests/test_schema.py 2020-05-26 22:17:53.000000000 +0200
|
||||
+++ google-api-python-client-1.8.4/tests/test_schema.py 2020-06-01 15:51:08.885268956 +0200
|
||||
@@ -19,7 +19,7 @@ __author__ = "jcgregorio@google.com (Joe
|
||||
|
||||
import json
|
||||
import os
|
||||
-import unittest2 as unittest
|
||||
+import unittest
|
||||
|
||||
from googleapiclient.schema import Schemas
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 1 13:53:40 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
- version update to 1.8.4
|
||||
* don't try to import GAE API in other environments (#903) (09e6447)
|
||||
* the turn down date for global batch uri (#901) (6ddadd7)
|
||||
* downgrade repetitive logging calls to debug (#885) (3bf2781), closes #781
|
||||
- added patches
|
||||
fix unittest2 seems to be fake dependency
|
||||
+ python-google-api-python-client-no-unittest2.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 11 06:28:41 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -18,13 +18,15 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-google-api-python-client
|
||||
Version: 1.8.2
|
||||
Version: 1.8.4
|
||||
Release: 0
|
||||
Summary: Google APIs Python Client
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/google/google-api-python-client
|
||||
Source: https://files.pythonhosted.org/packages/source/g/google-api-python-client/google-api-python-client-%{version}.tar.gz
|
||||
# https://github.com/googleapis/google-api-python-client/pull/929
|
||||
Patch0: python-google-api-python-client-no-unittest2.patch
|
||||
BuildRequires: %{python_module google-api-core >= 1.13.0}
|
||||
BuildRequires: %{python_module google-auth >= 1.4.1}
|
||||
BuildRequires: %{python_module google-auth-httplib2 >= 0.0.3}
|
||||
@ -56,6 +58,7 @@ Google APIs Client Library for Python
|
||||
|
||||
%prep
|
||||
%setup -q -n google-api-python-client-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user