Accepting request 981440 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/981440 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-kms?expand=0&rev=6
This commit is contained in:
commit
958e7be01e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ef62aba9f91d590755815e3e701aa5b09f507ee9b7a0acce087f5c427fe1649e
|
|
||||||
size 63204
|
|
3
google-cloud-kms-2.11.2.tar.gz
Normal file
3
google-cloud-kms-2.11.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5fde710ff2f5f1d5cf63109bbf120f8da3a894c483afbbe9c909f36f9a0c1444
|
||||||
|
size 117635
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 9 05:22:57 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- run just unit tests
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Apr 20 11:49:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-google-cloud-kms
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
Name: python-google-cloud-kms
|
Name: python-google-cloud-kms
|
||||||
Version: 1.3.0
|
Version: 2.11.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Cloud Key Management Service (KMS) API API client library
|
Summary: Cloud Key Management Service (KMS) API API client library
|
||||||
License: Apache-2.0
|
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
|
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 google-api-core >= 1.14.0}
|
||||||
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.3}
|
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 pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-google-api-core >= 1.14.0
|
Requires: python-google-api-core >= 1.14.0
|
||||||
Requires: python-grpc-google-iam-v1 >= 0.12.3
|
Requires: python-grpc-google-iam-v1 >= 0.12.3
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
BuildRequires: python-enum34
|
BuildRequires: python-enum34
|
||||||
@ -56,13 +60,21 @@ Cloud Key Management Service (KMS) API API client library
|
|||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%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
|
%check
|
||||||
%pytest
|
%pytest tests/unit
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
%python_alternative %{_bindir}/fixup_kms_v1_keywords.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user