1
0

Accepting request 612992 from devel:languages:python

- update to 1.2.0:
  * Add close method to grpc Channel (#5333)
  * Fix tests after grpcio update (#5333)
  * Add Test runs for Python 3.7 and remove 3.4 (#5295)
- use %license

OBS-URL: https://build.opensuse.org/request/show/612992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-05-30 10:24:17 +00:00 committed by Git OBS Bridge
commit a3c2ed6222
4 changed files with 33 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2000963305e95410a66e6ef6cfcc9f4627a4a95cb1c10abc98268814f2a6cd80
size 53253

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:370d5dc108ac5dfea2eee8ef32b77693444bf957d4657820d12596ca5082e8ae
size 53282

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue May 29 15:45:49 UTC 2018 - tbechtold@suse.com
- update to 1.2.0:
* Add close method to grpc Channel (#5333)
* Fix tests after grpcio update (#5333)
* Add Test runs for Python 3.7 and remove 3.4 (#5295)
- use %license
-------------------------------------------------------------------
Fri May 18 04:44:09 UTC 2018 - tbechtold@suse.com

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-google-api-core
Version: 1.1.2
Version: 1.2.0
Release: 0
Summary: Google API client core library
License: Apache-2.0
@ -26,9 +26,21 @@ Group: Development/Languages/Python
Url: https://github.com/GoogleCloudPlatform/google-cloud-python
Source: https://files.pythonhosted.org/packages/source/g/google-api-core/google-api-core-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module google-auth}
BuildRequires: %{python_module googleapis-common-protos}
BuildRequires: %{python_module grpcio}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module protobuf}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%ifpython2
BuildRequires: python2-enum34
BuildRequires: python2-futures
%endif
Requires: python-google-auth >= 0.4.0
Requires: python-googleapis-common-protos >= 1.5.3
Requires: python-protobuf >= 3.0.0
@ -37,9 +49,10 @@ Requires: python-requests >= 2.18.0
Requires: python-setuptools >= 34.0.0
Requires: python-six >= 1.10.0
%ifpython2
Suggests: python-futures >= 3.2.0
Requires: python-enum34
Requires: python-futures >= 3.2.0
%endif
Suggests: python-grpcio >= 1.8.2
Requires: python-grpcio >= 1.8.2
BuildArch: noarch
%python_subpackages
@ -57,8 +70,12 @@ Core Library for Google Client Libraries
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check
#%%python_expand PYTHONPATH=. py.test-%{$python_version} tests/unit
%files %{python_files}
%doc LICENSE README.rst
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog