public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-google-auth] epel10: Add missing extras metapackages
@ 2026-07-29 22:46 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-07-29 22:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-google-auth
Branch : epel10
Commit : 07061825381b9c91895d26c6829c459fa4b58276
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2025-10-19T12:21:42+01:00
Stats : +48/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-google-auth/c/07061825381b9c91895d26c6829c459fa4b58276?branch=epel10
Log:
Add missing extras metapackages
---
diff --git a/python-google-auth.spec b/python-google-auth.spec
index f0ea677..60d8cb1 100644
--- a/python-google-auth.spec
+++ b/python-google-auth.spec
@@ -1,3 +1,11 @@
+# Not packaged: python-pyjwt
+%bcond pyjwt 0
+# Not packaged: python-pyu2f
+%bcond reauth 0
+# Since grpc is a challenging package, it’s helpful to maintain the ability to
+# break this dependency.
+%bcond grpcio 1
+
Name: python-google-auth
Version: 2.41.1
Release: 2%{?dist}
@@ -12,6 +20,12 @@ BuildArch: noarch
BuildRequires: python3-devel
+%if %{with grpcio}
+# For google.auth.transport.grpc; see also
+# https://github.com/googleapis/google-auth-library-python/issues/1735.
+BuildRequires: %{py3_dist grpcio}
+%endif
+
%global common_description %{expand:
This library simplifies using Google’s various server-to-server authentication
mechanisms to access Google APIs.}
@@ -25,12 +39,39 @@ Summary: %{summary}
%description -n python3-google-auth %{common_description}
+%pyproject_extras_subpkg -n python3-google-auth aiohttp
+%pyproject_extras_subpkg -n python3-google-auth enterprise_cert
+%pyproject_extras_subpkg -n python3-google-auth pyopenssl
+%if %{with pyjwt}
+%pyproject_extras_subpkg -n python3-google-auth pyjwt
+%endif
+%if %{with reauth}
+%pyproject_extras_subpkg -n python3-google-auth reauth
+%endif
+%pyproject_extras_subpkg -n python3-google-auth requests
+%pyproject_extras_subpkg -n python3-google-auth urllib3
+
+
%prep
%autosetup -n google-auth-library-python-%{version}
%generate_buildrequires
-%pyproject_builrequires
+%{pyproject_buildrequires \
+ -x aiohttp \
+ -x enterprise_cert \
+ -x pyopenssl \
+%if %{with pyjwt}
+ -x pyjwt \
+%endif
+%if %{with reauth}
+ -x reauth \
+%endif
+ -x requests \
+%if 0
+ -x testing \
+%endif
+ -x urllib3}
%build
@@ -43,7 +84,12 @@ Summary: %{summary}
%check
+%if %{with grpcio}
%pyproject_check_import
+%else
+%pyproject_check_import -e google.auth.transport.grpc
+%endif
+# TODO: Try to run some tests.
%files -n python3-google-auth -f %{pyproject_files}
@@ -52,6 +98,7 @@ Summary: %{summary}
%changelog
* Sun Oct 19 2025 Benjamin A. Beasley <code@musicinmybrain.net> - 1:2.41.1-2
- Migrate to pyproject-rpm-macros (fix RHBZ#2377753)
+- Add missing extras metapackages
* Wed Oct 01 2025 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 1:2.41.1-1
- Update to 2.41.1 (#2400572)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 22:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 22:46 [rpms/python-google-auth] epel10: Add missing extras metapackages Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox