From 52977d8be4863ef96189998e5ff01c0c9d29650c4ef3f13d06cf3fc3a2e5d8c4 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Tue, 29 May 2018 19:20:50 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-google-api-core?expand=0&rev=3 --- google-api-core-1.1.2.tar.gz | 3 --- google-api-core-1.2.0.tar.gz | 3 +++ python-google-api-core.changes | 9 +++++++++ python-google-api-core.spec | 25 +++++++++++++++++++++---- 4 files changed, 33 insertions(+), 7 deletions(-) delete mode 100644 google-api-core-1.1.2.tar.gz create mode 100644 google-api-core-1.2.0.tar.gz diff --git a/google-api-core-1.1.2.tar.gz b/google-api-core-1.1.2.tar.gz deleted file mode 100644 index e144e27..0000000 --- a/google-api-core-1.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2000963305e95410a66e6ef6cfcc9f4627a4a95cb1c10abc98268814f2a6cd80 -size 53253 diff --git a/google-api-core-1.2.0.tar.gz b/google-api-core-1.2.0.tar.gz new file mode 100644 index 0000000..d57fd71 --- /dev/null +++ b/google-api-core-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:370d5dc108ac5dfea2eee8ef32b77693444bf957d4657820d12596ca5082e8ae +size 53282 diff --git a/python-google-api-core.changes b/python-google-api-core.changes index 0e65af0..57f9589 100644 --- a/python-google-api-core.changes +++ b/python-google-api-core.changes @@ -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 diff --git a/python-google-api-core.spec b/python-google-api-core.spec index ce9bdb2..55c9396 100644 --- a/python-google-api-core.spec +++ b/python-google-api-core.spec @@ -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