1
0
python-googleapis-common-pr.../python-googleapis-common-protos.spec

75 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-googleapis-common-protos
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
2022-04-30 00:00:45 +02:00
%define modname googleapis-common-protos
%define pkgname %{lua:pname,_ = string.gsub(rpm.expand('%modname'), '-' , '_');print(pname)}
%{?sle15_python_module_pythons}
Name: python-googleapis-common-protos
Version: 1.62.0
Release: 0
Summary: Common protobufs used in Google APIs
License: Apache-2.0
Group: Development/Languages/Python
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
2022-04-30 00:00:45 +02:00
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
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
2022-04-30 00:00:45 +02:00
Source1: test_google_api_error_reason.py
BuildRequires: %{python_module pip}
BuildRequires: %{python_module protobuf >= 3.19.5}
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
2022-04-30 00:00:45 +02:00
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-protobuf >= 3.19.5
Recommends: python-grpcio >= 1.0.0
BuildArch: noarch
%python_subpackages
%description
googleapis-common-protos contains the python classes generated from the common
protos in the googleapis_ repository.
%prep
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
2022-04-30 00:00:45 +02:00
%autosetup -p1 -n %{modname}-%{version}
install -p -D -t tests/unit %{SOURCE1}
%build
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
2022-04-30 00:00:45 +02:00
%pyproject_wheel
%install
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
2022-04-30 00:00:45 +02:00
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
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
2022-04-30 00:00:45 +02:00
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%dir %{python_sitelib}/google
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
2022-04-30 00:00:45 +02:00
%{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
%changelog