public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-google-auth] epel10: Add missing extras metapackages
Date: Wed, 29 Jul 2026 22:46:55 GMT [thread overview]
Message-ID: <178536521558.1.15983295778274527881.rpms-python-google-auth-07061825381b@fedoraproject.org> (raw)
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)
reply other threads:[~2026-07-29 22:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178536521558.1.15983295778274527881.rpms-python-google-auth-07061825381b@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox