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,45 +1,45 @@ PORTNAME= social-auth-core DISTVERSION= 4.8.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= social_auth_core-${DISTVERSION} MAINTAINER= ultima@FreeBSD.org COMMENT= Social authentication/registration mechanism for several frameworks WWW= https://github.com/python-social-auth/social-core LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1:devel/py-defusedxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python3-openid>=3.2.0:security/py-python3-openid@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyjwt>=2.10.1:www/py-pyjwt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}oauthlib>=3.3.1:security/py-oauthlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.32.5:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-oauthlib>=2.0.0:www/py-requests-oauthlib@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}responses>=0.25.0:devel/py-responses@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} USES= python USE_PYTHON= autoplist cryptography pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes # An SHOPIFY option would still be possible as well, but the ports tree does # not yet have all the required dependencies for this. OPTIONS_DEFINE= GOOGLE-ONETAP SAML 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 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 @@ -1,32 +1,23 @@ * Relax version requirements for py-setuptools and enable build for older versions of it --- pyproject.toml.orig 2025-12-18 18:44:21 UTC +++ pyproject.toml @@ -1,6 +1,6 @@ build-backend = "setuptools.build_meta" [build-system] build-backend = "setuptools.build_meta" -requires = ["setuptools>=78.0.2"] +requires = ["setuptools>=63.1.0"] [dependency-groups] dev = [ @@ -50,8 +50,7 @@ keywords = ["oauth", "openid", "saml", "social auth"] ] description = "Python social authentication made simple." keywords = ["oauth", "openid", "saml", "social auth"] -license = "BSD-3-Clause" -license-files = ["LICENSE"] +license = { text="BSD-3-Clause" } 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"