From ab8d7c2fff23f6f8b960525debe9226598bcf6d4bac09f6a484c84f748cf7e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Mar 2019 11:47:34 +0000 Subject: [PATCH] - Update to 0.36.3: * Add 'RecognitionConfig.audio_channel_count' field via synth. (#7240) * Protoc-generated serialization update. (#7106) * Bump minimum api_core version for all GAPIC libs to 1.4.1. (#6391) * Import iam.policy from google.api_core. (#6741) * Pick up fixes to GAIPC generator. (#6508) * Add result_end_time, docstring changes via synth. (#6462) * Assorted synth fixups / cleanups (#6400) * Fix client_info bug, update docstrings and timeouts. (#6421) * Re-generate library using speech/synth.py (#5979) - Really execute tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-cloud-speech?expand=0&rev=6 --- google-cloud-speech-0.36.0.tar.gz | 3 --- google-cloud-speech-0.36.3.tar.gz | 3 +++ python-google-cloud-speech.changes | 15 +++++++++++++++ python-google-cloud-speech.spec | 22 ++++++++++++---------- 4 files changed, 30 insertions(+), 13 deletions(-) delete mode 100644 google-cloud-speech-0.36.0.tar.gz create mode 100644 google-cloud-speech-0.36.3.tar.gz diff --git a/google-cloud-speech-0.36.0.tar.gz b/google-cloud-speech-0.36.0.tar.gz deleted file mode 100644 index 42b5160..0000000 --- a/google-cloud-speech-0.36.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6e756ad9e699545877d20bb536b9b8db4589b632177835275c11885cdc6651ca -size 48940 diff --git a/google-cloud-speech-0.36.3.tar.gz b/google-cloud-speech-0.36.3.tar.gz new file mode 100644 index 0000000..d3abb8d --- /dev/null +++ b/google-cloud-speech-0.36.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d77da6086c01375908c8b800808ff83748a34b98313f885bd86df95448304fc +size 69190 diff --git a/python-google-cloud-speech.changes b/python-google-cloud-speech.changes index a280bed..5718229 100644 --- a/python-google-cloud-speech.changes +++ b/python-google-cloud-speech.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Mar 15 11:23:51 UTC 2019 - Tomáš Chvátal + +- Update to 0.36.3: + * Add 'RecognitionConfig.audio_channel_count' field via synth. (#7240) + * Protoc-generated serialization update. (#7106) + * Bump minimum api_core version for all GAPIC libs to 1.4.1. (#6391) + * Import iam.policy from google.api_core. (#6741) + * Pick up fixes to GAIPC generator. (#6508) + * Add result_end_time, docstring changes via synth. (#6462) + * Assorted synth fixups / cleanups (#6400) + * Fix client_info bug, update docstrings and timeouts. (#6421) + * Re-generate library using speech/synth.py (#5979) +- Really execute tests + ------------------------------------------------------------------- Tue Dec 4 12:48:37 UTC 2018 - Matej Cepl diff --git a/python-google-cloud-speech.spec b/python-google-cloud-speech.spec index a400334..4ae0f5b 100644 --- a/python-google-cloud-speech.spec +++ b/python-google-cloud-speech.spec @@ -1,7 +1,7 @@ # # spec file for package python-google-cloud-speech # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -18,22 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-google-cloud-speech -Version: 0.36.0 +Version: 0.36.3 Release: 0 Summary: Google Cloud Speech API client library License: Apache-2.0 Group: Development/Languages/Python -Url: https://github.com/GoogleCloudPlatform/google-cloud-python +URL: https://github.com/GoogleCloudPlatform/google-cloud-python Source: https://files.pythonhosted.org/packages/source/g/google-cloud-speech/google-cloud-speech-%{version}.tar.gz +BuildRequires: %{python_module google-api-core >= 1.4.1} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module google-api-core >= 0.1.4} -# /SECTION BuildRequires: fdupes -Requires: python-google-api-core >= 0.1.4 +BuildRequires: python-rpm-macros +Requires: python-google-api-core >= 1.4.1 BuildArch: noarch - %python_subpackages %description @@ -41,6 +40,9 @@ Cloud Speech API converts audio to text by applying neural network models. %prep %setup -q -n google-cloud-speech-%{version} +# remove tests needing credentials to google services +rm tests/system/gapic/v1/test_system_speech_v1.py +rm tests/system/gapic/v1p1beta1/test_system_speech_v1p1beta1.py %build %python_build @@ -50,7 +52,7 @@ Cloud Speech API converts audio to text by applying neural network models. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license LICENSE