git: 9dbe8b5e139f - main - security/py-social-auth-core: Relax version requirements for py-google-auth

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 15:00:07 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9dbe8b5e139fc4d3012088771139c1b243b91fba

commit 9dbe8b5e139fc4d3012088771139c1b243b91fba
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-09 14:43:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-09 14:49:54 +0000

    security/py-social-auth-core: Relax version requirements for py-google-auth
    
    Taken from security/py-social-auth-core4
    
    PR:             297095
---
 security/py-social-auth-core/Makefile                   |  7 ++-----
 security/py-social-auth-core/distinfo                   |  2 --
 security/py-social-auth-core/files/patch-pyproject.toml | 15 +++++++++++++--
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/security/py-social-auth-core/Makefile b/security/py-social-auth-core/Makefile
index 9284e087aa32..8562762c11ab 100644
--- a/security/py-social-auth-core/Makefile
+++ b/security/py-social-auth-core/Makefile
@@ -1,14 +1,11 @@
 PORTNAME=	social-auth-core
 DISTVERSION=	5.0.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	social_auth_core-${DISTVERSION}
 
-PATCH_SITES=	https://github.com/python-social-auth/social-core/commit/
-PATCHFILES=	f84ddbe18d997d12f000027d3825472b85a14da2.patch:-p1
-
 MAINTAINER=	ultima@FreeBSD.org
 COMMENT=	Social authentication/registration mechanism for several frameworks
 WWW=		https://github.com/python-social-auth/social-core
@@ -44,7 +41,7 @@ OPTIONS_DEFAULT=	SAML
 GOOGLE-ONETAP_DESC=	Google One Tap support
 SAML_DESC?=	SAML Support
 
-GOOGLE-ONETAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-auth>=2.40.0<2.57:security/py-google-auth@${PY_FLAVOR}
+GOOGLE-ONETAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-auth>=2.40.0<3:security/py-google-auth@${PY_FLAVOR}
 SAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python3-saml>=1.16.0:security/py-python3-saml@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/security/py-social-auth-core/distinfo b/security/py-social-auth-core/distinfo
index ded4e726217c..ba55a3e0756e 100644
--- a/security/py-social-auth-core/distinfo
+++ b/security/py-social-auth-core/distinfo
@@ -1,5 +1,3 @@
 TIMESTAMP = 1784005404
 SHA256 (social_auth_core-5.0.2.tar.gz) = f53930c9b2a86ee0fc8e8fb0eac79221cfc2f017d9efb578691e5a3e2cf36784
 SIZE (social_auth_core-5.0.2.tar.gz) = 260859
-SHA256 (f84ddbe18d997d12f000027d3825472b85a14da2.patch) = a6e79fc1eaa1dcb99e840f3b05985c079bf7cae201ab2eaa0473cc335b577a81
-SIZE (f84ddbe18d997d12f000027d3825472b85a14da2.patch) = 729
diff --git a/security/py-social-auth-core/files/patch-pyproject.toml b/security/py-social-auth-core/files/patch-pyproject.toml
index 0dfbaff7251a..4e45451fe26e 100644
--- a/security/py-social-auth-core/files/patch-pyproject.toml
+++ b/security/py-social-auth-core/files/patch-pyproject.toml
@@ -1,7 +1,9 @@
 * Relax version requirements for py-setuptools and enable build for
   older versions of it
 
---- pyproject.toml.orig	2025-12-18 18:44:21 UTC
+* Also relax version requirements for py-google-auth.
+
+--- pyproject.toml.orig	2026-06-26 07:24:37 UTC
 +++ pyproject.toml
 @@ -1,6 +1,6 @@ build-backend = "setuptools.build_meta"
  [build-system]
@@ -11,7 +13,7 @@
  
  [dependency-groups]
  dev = [
-@@ -50,8 +50,7 @@ keywords = ["oauth", "openid", "saml", "social auth"]
+@@ -54,8 +54,7 @@ keywords = ["oauth", "openid", "saml", "social auth"]
  ]
  description = "Python social authentication made simple."
  keywords = ["oauth", "openid", "saml", "social auth"]
@@ -21,3 +23,12 @@
  name = "social-auth-core"
  readme = "README.md"
  requires-python = ">=3.10"
+@@ -92,7 +91,7 @@ google-onetap = [
+   "types-requests==2.33.0.20260518"
+ ]
+ google-onetap = [
+-  "google-auth>=2.40.0,<2.56"
++  "google-auth>=2.40.0,<3"
+ ]
+ saml = [
+   "python3-saml>=1.16.0"