Accepting request 981318 from home:pgajdos:python

- version update to 2.11.2
  * lot of changes, see
    https://github.com/googleapis/python-kms/blob/main/CHANGELOG.md
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/981318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-cloud-kms?expand=0&rev=12
This commit is contained in:
John Vandenberg 2022-06-08 13:18:31 +00:00 committed by Git OBS Bridge
parent 91682be149
commit f71e34cc1f
4 changed files with 27 additions and 7 deletions

View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5fde710ff2f5f1d5cf63109bbf120f8da3a894c483afbbe9c909f36f9a0c1444
size 117635

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Jun 8 12:43:21 UTC 2022 - pgajdos@suse.com
- version update to 2.11.2
* lot of changes, see
https://github.com/googleapis/python-kms/blob/main/CHANGELOG.md
- python-mock is not required for build
-------------------------------------------------------------------
Mon Apr 20 11:49:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-google-cloud-kms
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-google-cloud-kms
Version: 1.3.0
Version: 2.11.2
Release: 0
Summary: Cloud Key Management Service (KMS) API API client library
License: Apache-2.0
@ -28,13 +28,17 @@ URL: https://github.com/GoogleCloudPlatform/google-cloud-python
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-kms/google-cloud-kms-%{version}.tar.gz
BuildRequires: %{python_module google-api-core >= 1.14.0}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.3}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module proto-plus}
BuildRequires: %{python_module protobuf >= 3.19}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-google-api-core >= 1.14.0
Requires: python-grpc-google-iam-v1 >= 0.12.3
Requires(post): update-alternatives
Requires(preun):update-alternatives
BuildArch: noarch
%if %{with python2}
BuildRequires: python-enum34
@ -56,13 +60,21 @@ Cloud Key Management Service (KMS) API API client library
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/fixup_kms_v1_keywords.py
%post
%python_install_alternative fixup_kms_v1_keywords.py
%postun
%python_uninstall_alternative fixup_kms_v1_keywords.py
%check
%pytest
%pytest -k 'not test_list_global_key_rings'
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%python_alternative %{_bindir}/fixup_kms_v1_keywords.py
%changelog