Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2026 05:29:26 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1da6069b1afd - main - security/py-social-auth-core: Allow build with py-google-auth 2.48.0+
Message-ID:  <698187b6.1ce25.c344ca1@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1da6069b1afd5bd9600de5afcfb4fb123f556df5

commit 1da6069b1afd5bd9600de5afcfb4fb123f556df5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-02-03 04:54:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-02-03 05:13:43 +0000

    security/py-social-auth-core: Allow build with py-google-auth 2.48.0+
    
    - While I'm here, move google-auth related changed to a separate patch file
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/python-social-auth/social-core/commit/b6703f487259794871d914541b716dd14a3bcba3
    Approved by:    portmgr (blanket)
---
 security/py-social-auth-core/Makefile                   |  4 ++--
 security/py-social-auth-core/files/patch-google-auth    | 15 +++++++++++++++
 security/py-social-auth-core/files/patch-pyproject.toml |  9 ---------
 3 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/security/py-social-auth-core/Makefile b/security/py-social-auth-core/Makefile
index fdd3ad2cbfb9..e885e597e315 100644
--- a/security/py-social-auth-core/Makefile
+++ b/security/py-social-auth-core/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	social-auth-core
 DISTVERSION=	4.8.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -39,7 +39,7 @@ OPTIONS_DEFAULT=	GOOGLE-ONETAP SAML
 GOOGLE-ONETAP_DESC=	Google One Tap support
 SAML_DESC?=	SAML Support
 
-GOOGLE-ONETAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-auth>=2.40.0<2.48:security/py-google-auth@${PY_FLAVOR}
+GOOGLE-ONETAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-auth>=2.40.0<2.49: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/files/patch-google-auth b/security/py-social-auth-core/files/patch-google-auth
new file mode 100644
index 000000000000..149eb419eee3
--- /dev/null
+++ b/security/py-social-auth-core/files/patch-google-auth
@@ -0,0 +1,15 @@
+Obtained from:	https://github.com/python-social-auth/social-core/commit/58f5eafc5758dea40945b1c4ef71b4986dd3b6f1
+		https://github.com/python-social-auth/social-core/commit/283cadd057cfca463358c2c81b9cef484ca74de9
+		https://github.com/python-social-auth/social-core/commit/b6703f487259794871d914541b716dd14a3bcba3
+
+--- pyproject.toml.orig	2025-12-18 18:44:21 UTC
++++ pyproject.toml
+@@ -91,7 +90,7 @@ google-onetap = [
+   "types-requests==2.32.4.20250913"
+ ]
+ google-onetap = [
+-  "google-auth>=2.40.0,<2.46"
++  "google-auth>=2.40.0,<2.49"
+ ]
+ saml = [
+   "python3-saml>=1.16.0"
diff --git a/security/py-social-auth-core/files/patch-pyproject.toml b/security/py-social-auth-core/files/patch-pyproject.toml
index 1f386aca0c34..0dfbaff7251a 100644
--- a/security/py-social-auth-core/files/patch-pyproject.toml
+++ b/security/py-social-auth-core/files/patch-pyproject.toml
@@ -21,12 +21,3 @@
  name = "social-auth-core"
  readme = "README.md"
  requires-python = ">=3.10"
-@@ -91,7 +90,7 @@ google-onetap = [
-   "types-requests==2.32.4.20250913"
- ]
- google-onetap = [
--  "google-auth>=2.40.0,<2.46"
-+  "google-auth>=2.40.0,<2.48"
- ]
- saml = [
-   "python3-saml>=1.16.0"


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698187b6.1ce25.c344ca1>