git: 07e8fbac7420 - 2025Q3 - www/py-dj52-social-auth-app-django: Update to 5.5.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 20 Jul 2025 08:27:58 UTC
The branch 2025Q3 has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=07e8fbac7420d75e1b7d790a5d21ecd2e1d0acd6

commit 07e8fbac7420d75e1b7d790a5d21ecd2e1d0acd6
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-07-19 13:41:40 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-07-20 08:24:46 +0000

    www/py-dj52-social-auth-app-django: Update to 5.5.1
    
    Changelog since 5.4.3:
    
    https://github.com/python-social-auth/social-app-django/blob/5.5.1/CHANGELOG.md
    
    MFH:            2025Q3
    (cherry picked from commit 6ceb64f3df69ed205314aa6f3eea956eb9cb9282)
---
 www/py-dj52-social-auth-app-django/Makefile        |  4 ++--
 www/py-dj52-social-auth-app-django/distinfo        |  6 +++---
 .../files/patch-pyproject.toml                     | 23 ++++++++++++++++++++++
 3 files changed, 28 insertions(+), 5 deletions(-)

diff --git a/www/py-dj52-social-auth-app-django/Makefile b/www/py-dj52-social-auth-app-django/Makefile
index db3778e0f22b..70b3f933c0be 100644
--- a/www/py-dj52-social-auth-app-django/Makefile
+++ b/www/py-dj52-social-auth-app-django/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	social-auth-app-django
-DISTVERSION=	5.4.3
+DISTVERSION=	5.5.1
 CATEGORIES=	www security python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj52-
 
@@ -12,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django52>=3.2:www/py-django52@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django52>=5.1:www/py-django52@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}social-auth-core>=4.4<5:security/py-social-auth-core@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
 
diff --git a/www/py-dj52-social-auth-app-django/distinfo b/www/py-dj52-social-auth-app-django/distinfo
index 68863aa8bae5..b1382004a3fd 100644
--- a/www/py-dj52-social-auth-app-django/distinfo
+++ b/www/py-dj52-social-auth-app-django/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740213116
-SHA256 (python-social-auth-social-app-django-5.4.3_GH0.tar.gz) = 4dd02d76ffa390e6a2d7fe319869384c81d32c73b826eb09a10023cf66738389
-SIZE (python-social-auth-social-app-django-5.4.3_GH0.tar.gz) = 25327
+TIMESTAMP = 1752836935
+SHA256 (python-social-auth-social-app-django-5.5.1_GH0.tar.gz) = aa37072a8ad9f688ba20d53949060828868825d256b70a42062b71fe8ff190f9
+SIZE (python-social-auth-social-app-django-5.5.1_GH0.tar.gz) = 27080
diff --git a/www/py-dj52-social-auth-app-django/files/patch-pyproject.toml b/www/py-dj52-social-auth-app-django/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f868181c8ecd
--- /dev/null
+++ b/www/py-dj52-social-auth-app-django/files/patch-pyproject.toml
@@ -0,0 +1,23 @@
+* Relax version requirements for py-setuptools and enable build for
+  older versions of it
+
+--- pyproject.toml.orig	2025-07-18 11:13:36 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"]
+ 
+ [dependency-groups]
+ dev = [
+@@ -36,8 +36,7 @@ keywords = ["django", "oauth", "openid", "saml", "soci
+ ]
+ description = "Python Social Authentication, Django integration."
+ keywords = ["django", "oauth", "openid", "saml", "social auth"]
+-license = "BSD-3-Clause"
+-license-files = ["LICENSE"]
++license = { text="BSD-3-Clause" }
+ name = "social-auth-app-django"
+ readme = "README.md"
+ requires-python = ">=3.10"