forked from pool/python-googleapis-common-protos
Accepting request 973992 from home:mcepl:branches:devel:languages:python
- Upgrade to 1.56.0: - add google/api/error_reason.proto (62c04b8) - add google/api/visibility.proto (62c04b8) - add google/type/decimal.proto (62c04b8) - add google/type/interval.proto (62c04b8) - add google/type/localized_text.proto (62c04b8) - add google/type/phone_number.proto (62c04b8) - update all protos and pb2 files (62c04b8) - expose all names in longrunning _pb2's (#90) (09e9ccd) - re-generate pb2 files (#87) (6260547) - re-generate pb2 files using grpcio-tools<1.44.0 (#93) (76bb9f6) - remove deprecated fields aliases and features from google/api/endpoint.proto (62c04b8) - Upgrade to 1.55.0: - add location proto files. (#84) (9a33e56) - Upgrade to 1.54.0: - add extended_operations.proto (#77) (bc85849) - add google/api/routing.proto (#75) (1ae0bbc) - Upgrade to 1.53.0: - add google.api.ResourceDescriptor.Style (4ce679c) - add API method signatures to longrunning operations (8de7ae2) - add gapic_metadata_pb2 (#38) (8de7ae2) - add UNORDERED_LIST to field options (8de7ae2) - add WaitOperation method to longrunning operations (8de7ae2) - add google.api.ResourceDescriptor.Style (4ce679c) - require python >=3.6 and (#31) (4ce679c) - add create_key to FieldDescriptors (4ce679c) - Generate gRPC files for long-running operations (#13) (a9ce288) - add link to PyPI (#10) (3f79402) - add create_key to FieldDescriptors (4ce679c) - Generate gRPC files for long-running operations (#13) (a9ce288) - add link to PyPI (#10) (3f79402) OBS-URL: https://build.opensuse.org/request/show/973992 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-googleapis-common-protos?expand=0&rev=16
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-googleapis-common-protos
|
||||
#
|
||||
# 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
|
||||
@@ -17,23 +17,27 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname googleapis-common-protos
|
||||
%define pkgname %{lua:pname,_ = string.gsub(rpm.expand('%modname'), '-' , '_');print(pname)}
|
||||
Name: python-googleapis-common-protos
|
||||
Version: 1.52.0
|
||||
Version: 1.56.0
|
||||
Release: 0
|
||||
Summary: Common protobufs used in Google APIs
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/googleapis/googleapis
|
||||
URL: https://github.com/googleapis/python-api-common-protos
|
||||
Source: https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis-common-protos-%{version}.tar.gz
|
||||
# https://github.com/googleapis/python-api-common-protos/issues/21
|
||||
Source1: LICENSE
|
||||
Source1: test_google_api_error_reason.py
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module protobuf >= 3.6.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-protobuf >= 3.6.0
|
||||
Recommends: python-grpcio >= 1.0.0
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module protobuf >= 3.6.0}
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -41,21 +45,31 @@ googleapis-common-protos contains the python classes generated from the common
|
||||
protos in the googleapis_ repository.
|
||||
|
||||
%prep
|
||||
%setup -q -n googleapis-common-protos-%{version}
|
||||
%autosetup -p1 -n %{modname}-%{version}
|
||||
|
||||
install -p -D -t tests/unit %{SOURCE1}
|
||||
|
||||
%build
|
||||
cp %{SOURCE1} .
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# no tests
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/google/type
|
||||
%{python_sitelib}/google/longrunning
|
||||
%{python_sitelib}/google/rpc
|
||||
%{python_sitelib}/google/logging
|
||||
%{python_sitelib}/google/api
|
||||
%{python_sitelib}/google/gapic
|
||||
%{python_sitelib}/google/cloud
|
||||
%{python_sitelib}/%{pkgname}-%{version}*-info
|
||||
%{python_sitelib}/%{pkgname}-%{version}*-nspkg.pth
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user