git: 08edb39ade85 - main - */*dj51*: Deprecate/Set to expire

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 30 Sep 2025 09:31:58 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08edb39ade85c99cb74bbf2439bca0f98a0aeb30

commit 08edb39ade85c99cb74bbf2439bca0f98a0aeb30
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-09-30 09:24:08 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-09-30 09:31:17 +0000

    */*dj51*: Deprecate/Set to expire
    
    * Django 5.1 will reach its End-of-Life in December 2025.  Deprecate its
      consumers and set the expiration date accordingly.
    
    * Note: py-dj51-django-netfields does not currently have a corresponding
      Django 5.2 clone, yet, which will probably be added soon when
      net-mgmt/peering-manager is switched to Django 5.2.
    
    Reviewed by:    sunpoet
    With hat:       python
    Differential Revision:  https://reviews.freebsd.org/D52511
---
 devel/py-dj51-django-rq/Makefile                   | 3 +++
 devel/py-dj51-strawberry-graphql/Makefile          | 3 +++
 www/py-dj51-channels-redis/Makefile                | 3 +++
 www/py-dj51-channels/Makefile                      | 3 +++
 www/py-dj51-django-allauth/Makefile                | 3 +++
 www/py-dj51-django-auditlog/Makefile               | 3 +++
 www/py-dj51-django-auth-ldap/Makefile              | 3 +++
 www/py-dj51-django-celery-results/Makefile         | 3 +++
 www/py-dj51-django-choices-field/Makefile          | 3 +++
 www/py-dj51-django-compression-middleware/Makefile | 3 +++
 www/py-dj51-django-cors-headers/Makefile           | 3 +++
 www/py-dj51-django-debug-toolbar/Makefile          | 3 +++
 www/py-dj51-django-extensions/Makefile             | 3 +++
 www/py-dj51-django-filter/Makefile                 | 3 +++
 www/py-dj51-django-guardian/Makefile               | 3 +++
 www/py-dj51-django-htmx/Makefile                   | 3 +++
 www/py-dj51-django-js-asset/Makefile               | 3 +++
 www/py-dj51-django-mptt/Makefile                   | 3 +++
 www/py-dj51-django-multiselectfield/Makefile       | 3 +++
 www/py-dj51-django-netfields/Makefile              | 3 +++
 www/py-dj51-django-prometheus/Makefile             | 3 +++
 www/py-dj51-django-redis/Makefile                  | 3 +++
 www/py-dj51-django-rich/Makefile                   | 3 +++
 www/py-dj51-django-soft-delete/Makefile            | 3 +++
 www/py-dj51-django-tables2/Makefile                | 3 +++
 www/py-dj51-django-taggit/Makefile                 | 3 +++
 www/py-dj51-django-timezone-field/Makefile         | 3 +++
 www/py-dj51-djangorestframework-guardian/Makefile  | 3 +++
 www/py-dj51-djangorestframework/Makefile           | 3 +++
 www/py-dj51-drf-spectacular-sidecar/Makefile       | 3 +++
 www/py-dj51-drf-spectacular/Makefile               | 3 +++
 www/py-dj51-drf-writable-nested/Makefile           | 3 +++
 www/py-dj51-social-auth-app-django/Makefile        | 3 +++
 www/py-dj51-strawberry-graphql-django/Makefile     | 3 +++
 34 files changed, 102 insertions(+)

diff --git a/devel/py-dj51-django-rq/Makefile b/devel/py-dj51-django-rq/Makefile
index 1b0bb2134740..c29277aa7a83 100644
--- a/devel/py-dj51-django-rq/Makefile
+++ b/devel/py-dj51-django-rq/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/rq/django-rq
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR} \
diff --git a/devel/py-dj51-strawberry-graphql/Makefile b/devel/py-dj51-strawberry-graphql/Makefile
index 6b7c2f19bff3..491ba453b413 100644
--- a/devel/py-dj51-strawberry-graphql/Makefile
+++ b/devel/py-dj51-strawberry-graphql/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/strawberry-graphql/strawberry
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.0<3.4.0:devel/py-graphql-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lia-web>=0.2.1:www/py-lia-web@${PY_FLAVOR} \
diff --git a/www/py-dj51-channels-redis/Makefile b/www/py-dj51-channels-redis/Makefile
index f7c61b3e9ebc..f4e5b2f5bb80 100644
--- a/www/py-dj51-channels-redis/Makefile
+++ b/www/py-dj51-channels-redis/Makefile
@@ -12,6 +12,9 @@ WWW=		http://github.com/django/channels_redis/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}redis>=5.0.1:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}msgpack>=1:devel/py-msgpack@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}asgiref>=3.7.2:www/py-asgiref@${PY_FLAVOR} \
diff --git a/www/py-dj51-channels/Makefile b/www/py-dj51-channels/Makefile
index 92518e10eedb..36fb378856ce 100644
--- a/www/py-dj51-channels/Makefile
+++ b/www/py-dj51-channels/Makefile
@@ -12,6 +12,9 @@ WWW=		https://channels.readthedocs.io/en/latest/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgiref>=3.9.0<4:www/py-asgiref@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-allauth/Makefile b/www/py-dj51-django-allauth/Makefile
index 90c6626512c3..b887f81fd400 100644
--- a/www/py-dj51-django-allauth/Makefile
+++ b/www/py-dj51-django-allauth/Makefile
@@ -14,6 +14,9 @@ WWW=		https://allauth.org/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63.0.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fido2>=0:security/py-fido2@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-auditlog/Makefile b/www/py-dj51-django-auditlog/Makefile
index 7328d095d30a..81b2bafc3976 100644
--- a/www/py-dj51-django-auditlog/Makefile
+++ b/www/py-dj51-django-auditlog/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/jazzband/django-auditlog
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
diff --git a/www/py-dj51-django-auth-ldap/Makefile b/www/py-dj51-django-auth-ldap/Makefile
index b71226b9f650..935e776d92af 100644
--- a/www/py-dj51-django-auth-ldap/Makefile
+++ b/www/py-dj51-django-auth-ldap/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/django-auth-ldap/django-auth-ldap
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
diff --git a/www/py-dj51-django-celery-results/Makefile b/www/py-dj51-django-celery-results/Makefile
index 250b0a9013e8..fc9ba59f0822 100644
--- a/www/py-dj51-django-celery-results/Makefile
+++ b/www/py-dj51-django-celery-results/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/celery/django-celery-results
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}celery>=5.3.6:devel/py-celery@${PY_FLAVOR}
 
diff --git a/www/py-dj51-django-choices-field/Makefile b/www/py-dj51-django-choices-field/Makefile
index 738a07fce073..e40d00410ac1 100644
--- a/www/py-dj51-django-choices-field/Makefile
+++ b/www/py-dj51-django-choices-field/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/bellini666/django-choices-field
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0.0:devel/py-typing-extensions@${PY_FLAVOR}
diff --git a/www/py-dj51-django-compression-middleware/Makefile b/www/py-dj51-django-compression-middleware/Makefile
index afe7212e3147..b6a8921adddf 100644
--- a/www/py-dj51-django-compression-middleware/Makefile
+++ b/www/py-dj51-django-compression-middleware/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/friedelwolff/django-compression-middleware
 LICENSE=	MPL20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}zstandard>=0.22.0:archivers/py-zstandard@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}brotli>=1.1.0:archivers/py-brotli@${PY_FLAVOR}
diff --git a/www/py-dj51-django-cors-headers/Makefile b/www/py-dj51-django-cors-headers/Makefile
index 64af3309ba4d..67bc512cb892 100644
--- a/www/py-dj51-django-cors-headers/Makefile
+++ b/www/py-dj51-django-cors-headers/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/adamchainz/django-cors-headers
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-debug-toolbar/Makefile b/www/py-dj51-django-debug-toolbar/Makefile
index 843201befa49..fe3940c64d7e 100644
--- a/www/py-dj51-django-debug-toolbar/Makefile
+++ b/www/py-dj51-django-debug-toolbar/Makefile
@@ -13,6 +13,9 @@ WWW=		https://django-debug-toolbar.readthedocs.io/en/latest/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2.9:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR}
diff --git a/www/py-dj51-django-extensions/Makefile b/www/py-dj51-django-extensions/Makefile
index 80f3e4411018..d8df0689b45b 100644
--- a/www/py-dj51-django-extensions/Makefile
+++ b/www/py-dj51-django-extensions/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/django-extensions/django-extensions
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR}
 
 USES=		python
diff --git a/www/py-dj51-django-filter/Makefile b/www/py-dj51-django-filter/Makefile
index 59ce890dccd4..1319263f1f1d 100644
--- a/www/py-dj51-django-filter/Makefile
+++ b/www/py-dj51-django-filter/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/carltongibson/django-filter
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR}
 
diff --git a/www/py-dj51-django-guardian/Makefile b/www/py-dj51-django-guardian/Makefile
index b5281df43e30..0edb6a6a0703 100644
--- a/www/py-dj51-django-guardian/Makefile
+++ b/www/py-dj51-django-guardian/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/django-guardian/django-guardian
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR}
 
 USES=		python
diff --git a/www/py-dj51-django-htmx/Makefile b/www/py-dj51-django-htmx/Makefile
index 42eaa3f727df..5ac3d9006eb9 100644
--- a/www/py-dj51-django-htmx/Makefile
+++ b/www/py-dj51-django-htmx/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/adamchainz/django-htmx
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-js-asset/Makefile b/www/py-dj51-django-js-asset/Makefile
index 5a46333e8bb0..5ddf81106b9f 100644
--- a/www/py-dj51-django-js-asset/Makefile
+++ b/www/py-dj51-django-js-asset/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/matthiask/django-js-asset
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR}
 
diff --git a/www/py-dj51-django-mptt/Makefile b/www/py-dj51-django-mptt/Makefile
index 73a2edc7034a..74b0eb0451b1 100644
--- a/www/py-dj51-django-mptt/Makefile
+++ b/www/py-dj51-django-mptt/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/django-mptt/django-mptt
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj51-django-js-asset>0:www/py-dj51-django-js-asset@${PY_FLAVOR}
diff --git a/www/py-dj51-django-multiselectfield/Makefile b/www/py-dj51-django-multiselectfield/Makefile
index de1b638fba4b..5a72861489c8 100644
--- a/www/py-dj51-django-multiselectfield/Makefile
+++ b/www/py-dj51-django-multiselectfield/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/goinnn/django-multiselectfield
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/COPYING.LGPLv3
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR}
 
 USES=		python
diff --git a/www/py-dj51-django-netfields/Makefile b/www/py-dj51-django-netfields/Makefile
index f7e60444aea1..de74f328de02 100644
--- a/www/py-dj51-django-netfields/Makefile
+++ b/www/py-dj51-django-netfields/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/jimfunk/django-postgresql-netfields
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-prometheus/Makefile b/www/py-dj51-django-prometheus/Makefile
index 84eacd06047c..6872ecf0c4ce 100644
--- a/www/py-dj51-django-prometheus/Makefile
+++ b/www/py-dj51-django-prometheus/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/django-commons/django-prometheus
 
 LICENSE=	APACHE20
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2<6.0:www/py-django51@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-redis/Makefile b/www/py-dj51-django-redis/Makefile
index c493680f3db4..f05960f77eb5 100644
--- a/www/py-dj51-django-redis/Makefile
+++ b/www/py-dj51-django-redis/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/jazzband/django-redis
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-rich/Makefile b/www/py-dj51-django-rich/Makefile
index 2849670ba8e1..20fb22b464f4 100644
--- a/www/py-dj51-django-rich/Makefile
+++ b/www/py-dj51-django-rich/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/adamchainz/django-rich
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \
diff --git a/www/py-dj51-django-soft-delete/Makefile b/www/py-dj51-django-soft-delete/Makefile
index 547c18b49d1d..bfc70b6234af 100644
--- a/www/py-dj51-django-soft-delete/Makefile
+++ b/www/py-dj51-django-soft-delete/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/san4ezy/django_softdelete
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
diff --git a/www/py-dj51-django-tables2/Makefile b/www/py-dj51-django-tables2/Makefile
index 9ae2479987fd..69a6700e4d86 100644
--- a/www/py-dj51-django-tables2/Makefile
+++ b/www/py-dj51-django-tables2/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/jieter/django-tables2
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR}
 
diff --git a/www/py-dj51-django-taggit/Makefile b/www/py-dj51-django-taggit/Makefile
index 1b81b8087386..7e3a1cc881b6 100644
--- a/www/py-dj51-django-taggit/Makefile
+++ b/www/py-dj51-django-taggit/Makefile
@@ -13,6 +13,9 @@ WWW=		https://github.com/jazzband/django-taggit
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.1:www/py-django51@${PY_FLAVOR}
diff --git a/www/py-dj51-django-timezone-field/Makefile b/www/py-dj51-django-timezone-field/Makefile
index 9a0eb35822d0..dba817df91c4 100644
--- a/www/py-dj51-django-timezone-field/Makefile
+++ b/www/py-dj51-django-timezone-field/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/mfogel/django-timezone-field
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=3.2:www/py-django51@${PY_FLAVOR}
 
diff --git a/www/py-dj51-djangorestframework-guardian/Makefile b/www/py-dj51-djangorestframework-guardian/Makefile
index a5c71426cc36..1b10d02259b2 100644
--- a/www/py-dj51-djangorestframework-guardian/Makefile
+++ b/www/py-dj51-djangorestframework-guardian/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/rpkilby/django-rest-framework-guardian
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.16.0:www/py-dj51-djangorestframework@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj51-django-guardian>=2.4.0:www/py-dj51-django-guardian@${PY_FLAVOR}
diff --git a/www/py-dj51-djangorestframework/Makefile b/www/py-dj51-djangorestframework/Makefile
index 95812c589f16..8cbde1a4e71e 100644
--- a/www/py-dj51-djangorestframework/Makefile
+++ b/www/py-dj51-djangorestframework/Makefile
@@ -11,6 +11,9 @@ WWW=		https://www.django-rest-framework.org/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR}
diff --git a/www/py-dj51-drf-spectacular-sidecar/Makefile b/www/py-dj51-drf-spectacular-sidecar/Makefile
index 2767560c1be0..7626895d2e23 100644
--- a/www/py-dj51-drf-spectacular-sidecar/Makefile
+++ b/www/py-dj51-drf-spectacular-sidecar/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/tfranzel/drf-spectacular
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR}
diff --git a/www/py-dj51-drf-spectacular/Makefile b/www/py-dj51-drf-spectacular/Makefile
index 7ec72b7cadc6..e934aae841c8 100644
--- a/www/py-dj51-drf-spectacular/Makefile
+++ b/www/py-dj51-drf-spectacular/Makefile
@@ -13,6 +13,9 @@ WWW=		https://github.com/tfranzel/drf-spectacular
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.10.3:www/py-dj51-djangorestframework@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \
diff --git a/www/py-dj51-drf-writable-nested/Makefile b/www/py-dj51-drf-writable-nested/Makefile
index 0a08d4599ef0..7c3032bb34c0 100644
--- a/www/py-dj51-drf-writable-nested/Makefile
+++ b/www/py-dj51-drf-writable-nested/Makefile
@@ -10,6 +10,9 @@ WWW=		https://github.com/beda-software/drf-writable-nested
 
 LICENSE=	BSD2CLAUSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>0:www/py-dj51-djangorestframework@${PY_FLAVOR}
 
diff --git a/www/py-dj51-social-auth-app-django/Makefile b/www/py-dj51-social-auth-app-django/Makefile
index 58075b19fbb0..5d739c9ee9b3 100644
--- a/www/py-dj51-social-auth-app-django/Makefile
+++ b/www/py-dj51-social-auth-app-django/Makefile
@@ -10,6 +10,9 @@ WWW=		https://github.com/python-social-auth/social-app-django
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
diff --git a/www/py-dj51-strawberry-graphql-django/Makefile b/www/py-dj51-strawberry-graphql-django/Makefile
index 54f3c03ec8f2..848ca0fea326 100644
--- a/www/py-dj51-strawberry-graphql-django/Makefile
+++ b/www/py-dj51-strawberry-graphql-django/Makefile
@@ -12,6 +12,9 @@ WWW=		https://github.com/strawberry-graphql/strawberry-django
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=2025-12-31
+
 BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2:www/py-django51@${PY_FLAVOR} \