import python-googleapis-common-protos-1.63.0-7.el10

i10ce changed/i10ce/python-googleapis-common-protos-1.63.0-7.el10
Arkady L. Shane 1 month ago
commit 3f00e870c2
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/python-api-common-protos-1.63.0.tar.gz

@ -0,0 +1 @@
5c4d7e336c86173963d965208e98963f2cdf69da SOURCES/python-api-common-protos-1.63.0.tar.gz

@ -0,0 +1,22 @@
From eed0a44aa3ac6b7bd88d7091ffe815876e558d27 Mon Sep 17 00:00:00 2001
From: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
Date: Tue, 26 Mar 2024 09:24:03 +0100
Subject: [PATCH] build: increase upper limit for protobuf 5.X versions
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 772e26b..ec17bb4 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,7 @@
version = "1.63.0"
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
- "protobuf>=3.19.5,<5.0.0.dev0,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
+ "protobuf>=3.19.5,<6.0.0.dev0,!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
]
extras_require = {"grpc": ["grpcio >= 1.44.0, <2.0.0.dev0"]}

@ -0,0 +1,125 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 7;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
%bcond tests 1
# When bootstrapping, we do not include the “grpc” extra in the BRs. That adds
# a BR on python3dist(grpcio), but this package is required by
# python3dist(grpcio-status), which creates a circular dependency with grpc.
%bcond_with bootstrap
Name: python-googleapis-common-protos
Version: 1.63.0
Release: %autorelease
Summary: Common protobufs used in Google APIs
License: Apache-2.0
URL: https://github.com/googleapis/python-api-common-protos
Source: %{url}/archive/v%{version}/python-api-common-protos-%{version}.tar.gz
# fix: increase upper limit for protobuf 5.X versions
# https://github.com/googleapis/python-api-common-protos/pull/212
Patch: %{url}/pull/212.patch
BuildArch: noarch
BuildRequires: python3-devel
%if %{with tests}
BuildRequires: python3dist(pytest)
%endif
%global common_description %{expand:
%{summary}.}
%description %{common_description}
%package -n python3-googleapis-common-protos
Summary: %{summary}
%description -n python3-googleapis-common-protos %{common_description}
%pyproject_extras_subpkg -n python3-googleapis-common-protos grpc
%prep
%autosetup -n python-api-common-protos-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires %{?!with_bootstrap:-x grpc}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l google
%check
%if %{with tests}
# NOTE(mhayden): Setting PYTHONUSERBASE as a hack for PEP 420 namespaces.
# Thanks to churchyard for the fix.
PYTHONUSERBASE=%{buildroot}%{_prefix} \
%pytest tests/unit
%endif
%files -n python3-googleapis-common-protos -f %{pyproject_files}
%doc CHANGELOG.md
%doc README.rst
%changelog
* Thu Dec 26 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.63.0-7
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Mon Sep 09 2024 Jonathan Wright <jonathan@almalinux.org> - 1.63.0-7
- update bootstrap macro
* Thu Jul 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.53.0-4
- Drop version conditional; maintain the existing practice of cherry-picking
updates to stable branches rather than merging
* Thu Jul 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.53.0-3
- Tweak how the description macro is written
- Drop obsolete python_provide macro
- Switch to pyproject-rpm-macros
- Add the metapackage for the “grpc” extra
- Add a check section that “smoke-tests” imports
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.53.0-2
- Rebuilt for Python 3.10
* Sun Mar 21 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.53.0-1
- Update to 1.53.0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.52.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.52.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jun 18 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.52.0-1
- Update to 1.52.0
* Sun May 31 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.51.0-2
- Rebuild for Python 3.9
* Fri May 29 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 1.51.0-1
- Initial RPM release
## END: Generated by rpmautospec
Loading…
Cancel
Save