[packages/python3-googleapis-common-protos] - new
qboosh
qboosh at pld-linux.org
Fri Mar 6 18:43:03 CET 2026
commit 669390fc3737715d6a2ff765929917bc099b8930
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 6 18:42:57 2026 +0100
- new
python3-googleapis-common-protos.spec | 67 +++++++++++++++++++++++++++++++++++
1 file changed, 67 insertions(+)
---
diff --git a/python3-googleapis-common-protos.spec b/python3-googleapis-common-protos.spec
new file mode 100644
index 0000000..2492c4f
--- /dev/null
+++ b/python3-googleapis-common-protos.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_without tests # unit tests
+
+Summary: Common protobufs used in Google APIs
+Summary(pl.UTF-8): Wspólne protobufy używane przez API Google
+Name: python3-googleapis-common-protos
+Version: 1.72.0
+Release: 1
+License: Apache v2.0
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/googleapis-common-protos/
+Source0: https://files.pythonhosted.org/packages/source/g/googleapis-common-protos/googleapis_common_protos-%{version}.tar.gz
+# Source0-md5: 58ddbf8920c529b542af9be18101fe61
+URL: https://pypi.org/project/googleapis-common-protos/
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-setuptools
+%if %{with tests}
+BuildRequires: python3-grpcio >= 1.44.0
+BuildRequires: python3-grpcio < 2
+BuildRequires: python3-protobuf >= 3.20.2
+BuildRequires: python3-protobuf < 7
+BuildRequires: python3-pytest
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python Client for Google APIs Common Protos.
+
+%description -l pl.UTF-8
+Klient Pythona do wspólnych protokołów API Google'a.
+
+%prep
+%setup -q -n googleapis_common_protos-%{version}
+
+%build
+%py3_build
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+%{__python3} -m pytest tests
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%dir %{py3_sitescriptdir}/google
+%{py3_sitescriptdir}/google/api
+%{py3_sitescriptdir}/google/cloud
+%{py3_sitescriptdir}/google/gapic
+%{py3_sitescriptdir}/google/logging
+%{py3_sitescriptdir}/google/longrunning
+%{py3_sitescriptdir}/google/rpc
+%{py3_sitescriptdir}/google/type
+%{py3_sitescriptdir}/googleapis_common_protos-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-googleapis-common-protos.git/commitdiff/669390fc3737715d6a2ff765929917bc099b8930
More information about the pld-cvs-commit
mailing list