git: 8306d00d1dde - main - www/py-dj60-django-auth-ldap: Update to 5.4.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 27 Oct 2026 08:01:44 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8306d00d1ddee8d5c0b5cd51c18e7ff6bf4f9a41

commit 8306d00d1ddee8d5c0b5cd51c18e7ff6bf4f9a41
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-10-27 07:58:50 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-10-27 08:00:38 +0000

    www/py-dj60-django-auth-ldap: Update to 5.4.0
    
    Changelog:
    
    https://github.com/django-auth-ldap/django-auth-ldap/releases/tag/5.4.0
---
 www/py-dj60-django-auth-ldap/Makefile                   |  4 ++--
 www/py-dj60-django-auth-ldap/distinfo                   |  6 +++---
 www/py-dj60-django-auth-ldap/files/patch-pyproject.toml | 13 +++++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/www/py-dj60-django-auth-ldap/Makefile b/www/py-dj60-django-auth-ldap/Makefile
index 2e6ceface552..3686df39fece 100644
--- a/www/py-dj60-django-auth-ldap/Makefile
+++ b/www/py-dj60-django-auth-ldap/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-auth-ldap
-PORTVERSION=	5.3.0
+PORTVERSION=	5.4.0
 CATEGORIES=	www security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj60-
@@ -15,7 +15,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=4.2:www/py-django60@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=5.2:www/py-django60@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}python-ldap>=3.1:net/py-python-ldap@${PY_FLAVOR}
 
 USES=		python:3.12+
diff --git a/www/py-dj60-django-auth-ldap/distinfo b/www/py-dj60-django-auth-ldap/distinfo
index 4da03f1f0906..5d0c7bcdb3c7 100644
--- a/www/py-dj60-django-auth-ldap/distinfo
+++ b/www/py-dj60-django-auth-ldap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1766946942
-SHA256 (django_auth_ldap-5.3.0.tar.gz) = 743d8107b146240b46f7e97207dc06cb11facc0cd70dce490b7ca09dd5643d19
-SIZE (django_auth_ldap-5.3.0.tar.gz) = 55272
+TIMESTAMP = 1793020787
+SHA256 (django_auth_ldap-5.4.0.tar.gz) = 66740dbfba0f41ea6c030bc53974787cbc2f27ed1f3796ebf9fe0cbc9917605e
+SIZE (django_auth_ldap-5.4.0.tar.gz) = 56416
diff --git a/www/py-dj60-django-auth-ldap/files/patch-pyproject.toml b/www/py-dj60-django-auth-ldap/files/patch-pyproject.toml
new file mode 100644
index 000000000000..0794dd7c8f3d
--- /dev/null
+++ b/www/py-dj60-django-auth-ldap/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+Enable build with older versions of py-setuptools.
+
+--- pyproject.toml.orig	2026-10-26 16:19:19 UTC
++++ pyproject.toml
+@@ -9,7 +9,7 @@ maintainers = [
+ maintainers = [
+     { name="François Freitag", email="mail@franek.fr" },
+ ]
+-license = "BSD-3-Clause"
++license = { text="BSD" }
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+     "Environment :: Web Environment",