git: 0edf8bc36f23 - main - */*dj40*: Deprecate/Set to expire

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Wed, 22 Feb 2023 07:15:14 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0edf8bc36f23ae2c2d391b612fea815cee3bbb4e

commit 0edf8bc36f23ae2c2d391b612fea815cee3bbb4e
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-02-22 07:10:22 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-02-22 07:10:22 +0000

    */*dj40*: Deprecate/Set to expire
    
    * Django 4.0 will reach its End-of-Life in April 2023.  Deprecate its
      consumers and set the expiration date accordingly.
    
    Reviewed by:    sunpoet, wen (python, via e-mail)
    Approved by:    sunpoet, wen (python, via e-mail)
    Differential Revision:  https://reviews.freebsd.org/D38651
---
 devel/py-dj40-django-rq/Makefile                   | 3 +++
 devel/py-dj40-graphene-django/Makefile             | 3 +++
 www/py-dj40-django-auth-ldap/Makefile              | 3 +++
 www/py-dj40-django-cors-headers/Makefile           | 3 +++
 www/py-dj40-django-debug-toolbar/Makefile          | 3 +++
 www/py-dj40-django-filter/Makefile                 | 3 +++
 www/py-dj40-django-graphiql-debug-toolbar/Makefile | 3 +++
 www/py-dj40-django-js-asset/Makefile               | 3 +++
 www/py-dj40-django-mptt/Makefile                   | 3 +++
 www/py-dj40-django-prometheus/Makefile             | 3 +++
 www/py-dj40-django-redis/Makefile                  | 3 +++
 www/py-dj40-django-rich/Makefile                   | 3 +++
 www/py-dj40-django-tables2/Makefile                | 3 +++
 www/py-dj40-django-taggit/Makefile                 | 3 +++
 www/py-dj40-django-timezone-field/Makefile         | 3 +++
 www/py-dj40-djangorestframework/Makefile           | 3 +++
 www/py-dj40-drf-yasg/Makefile                      | 3 +++
 17 files changed, 51 insertions(+)

diff --git a/devel/py-dj40-django-rq/Makefile b/devel/py-dj40-django-rq/Makefile
index 1dbfda474a57..e05853096bca 100644
--- a/devel/py-dj40-django-rq/Makefile
+++ b/devel/py-dj40-django-rq/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/rq/django-rq
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.0:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}redis>=3:databases/py-redis@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rq>=1.2:devel/py-rq@${PY_FLAVOR}
diff --git a/devel/py-dj40-graphene-django/Makefile b/devel/py-dj40-graphene-django/Makefile
index 6123ef250d72..98a4b293e893 100644
--- a/devel/py-dj40-graphene-django/Makefile
+++ b/devel/py-dj40-graphene-django/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/graphql-python/graphene-django
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=1.11:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}graphene2>=2.1.7<3:devel/py-graphene2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}graphql-core2>=2.1.0<3:devel/py-graphql-core2@${PY_FLAVOR} \
diff --git a/www/py-dj40-django-auth-ldap/Makefile b/www/py-dj40-django-auth-ldap/Makefile
index 79d839331f93..649cfbdab1e7 100644
--- a/www/py-dj40-django-auth-ldap/Makefile
+++ b/www/py-dj40-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 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 BUILD_DEPENDS=	${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}django40>=2.2:www/py-django40@${PY_FLAVOR} \
diff --git a/www/py-dj40-django-cors-headers/Makefile b/www/py-dj40-django-cors-headers/Makefile
index 7d178b28ec05..bfa515c3e3d9 100644
--- a/www/py-dj40-django-cors-headers/Makefile
+++ b/www/py-dj40-django-cors-headers/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/adamchainz/django-cors-headers
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR}
 
 USES=		python:3.7+
diff --git a/www/py-dj40-django-debug-toolbar/Makefile b/www/py-dj40-django-debug-toolbar/Makefile
index 5ee94bff4d6b..e82d62e7baa6 100644
--- a/www/py-dj40-django-debug-toolbar/Makefile
+++ b/www/py-dj40-django-debug-toolbar/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/jazzband/django-debug-toolbar
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=3.2.4:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlparse>=0.2.0:databases/py-sqlparse@${PY_FLAVOR}
 
diff --git a/www/py-dj40-django-filter/Makefile b/www/py-dj40-django-filter/Makefile
index c5712b072280..9508f327fcfb 100644
--- a/www/py-dj40-django-filter/Makefile
+++ b/www/py-dj40-django-filter/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/carltongibson/django-filter
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR}
 
 USES=		python:3.7+
diff --git a/www/py-dj40-django-graphiql-debug-toolbar/Makefile b/www/py-dj40-django-graphiql-debug-toolbar/Makefile
index 18e2f5cafc28..c0271b3da566 100644
--- a/www/py-dj40-django-graphiql-debug-toolbar/Makefile
+++ b/www/py-dj40-django-graphiql-debug-toolbar/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/flavors/django-graphiql-debug-toolbar
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj40-graphene-django>=2.0.0:devel/py-dj40-graphene-django@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj40-django-debug-toolbar>=3.1:www/py-dj40-django-debug-toolbar@${PY_FLAVOR}
diff --git a/www/py-dj40-django-js-asset/Makefile b/www/py-dj40-django-js-asset/Makefile
index b14a26dd7148..c424b89603c2 100644
--- a/www/py-dj40-django-js-asset/Makefile
+++ b/www/py-dj40-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 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR}
 
 USES=		python:3.6+
diff --git a/www/py-dj40-django-mptt/Makefile b/www/py-dj40-django-mptt/Makefile
index 402b3f098b89..4407fc3aa624 100644
--- a/www/py-dj40-django-mptt/Makefile
+++ b/www/py-dj40-django-mptt/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/django-mptt/django-mptt
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR}\
 		${PYTHON_PKGNAMEPREFIX}dj40-django-js-asset>0:www/py-dj40-django-js-asset@${PY_FLAVOR}
 
diff --git a/www/py-dj40-django-prometheus/Makefile b/www/py-dj40-django-prometheus/Makefile
index b1e9018a4fd8..97293e65fb51 100644
--- a/www/py-dj40-django-prometheus/Makefile
+++ b/www/py-dj40-django-prometheus/Makefile
@@ -10,6 +10,9 @@ WWW=		https://github.com/korfuri/django-prometheus
 
 LICENSE=	APACHE20
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
diff --git a/www/py-dj40-django-redis/Makefile b/www/py-dj40-django-redis/Makefile
index b10d83f08e8f..7a094f736b1a 100644
--- a/www/py-dj40-django-redis/Makefile
+++ b/www/py-dj40-django-redis/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/jazzband/django-redis
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}redis>=3<4:databases/py-redis@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=0:databases/py-hiredis@${PY_FLAVOR} \
diff --git a/www/py-dj40-django-rich/Makefile b/www/py-dj40-django-rich/Makefile
index 5ff7e6de29c5..6e15fb064a63 100644
--- a/www/py-dj40-django-rich/Makefile
+++ b/www/py-dj40-django-rich/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/adamchainz/django-rich
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=10.0.0:textproc/py-rich@${PY_FLAVOR}
 
diff --git a/www/py-dj40-django-tables2/Makefile b/www/py-dj40-django-tables2/Makefile
index f056ebb2dcbd..c53346822691 100644
--- a/www/py-dj40-django-tables2/Makefile
+++ b/www/py-dj40-django-tables2/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/jieter/django-tables2
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=1.11:www/py-django40@${PY_FLAVOR}
 
 USES=		python:3.7+
diff --git a/www/py-dj40-django-taggit/Makefile b/www/py-dj40-django-taggit/Makefile
index ee7e44b4ae15..ad47bf087e09 100644
--- a/www/py-dj40-django-taggit/Makefile
+++ b/www/py-dj40-django-taggit/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/jazzband/django-taggit
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=3.2:www/py-django40@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>0:www/py-dj40-djangorestframework@${PY_FLAVOR}
 
diff --git a/www/py-dj40-django-timezone-field/Makefile b/www/py-dj40-django-timezone-field/Makefile
index fbf690bfa80d..3a84a458d89c 100644
--- a/www/py-dj40-django-timezone-field/Makefile
+++ b/www/py-dj40-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 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR}
 
diff --git a/www/py-dj40-djangorestframework/Makefile b/www/py-dj40-djangorestframework/Makefile
index 82aeea03989f..4dabab85873d 100644
--- a/www/py-dj40-djangorestframework/Makefile
+++ b/www/py-dj40-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 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=3.0:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR}
 
diff --git a/www/py-dj40-drf-yasg/Makefile b/www/py-dj40-drf-yasg/Makefile
index 94743c155cac..2fe574debfed 100644
--- a/www/py-dj40-drf-yasg/Makefile
+++ b/www/py-dj40-drf-yasg/Makefile
@@ -11,6 +11,9 @@ WWW=		https://github.com/axnsan12/drf-yasg
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
+DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to the Django 4.1+ version of this port. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2023-05-20
+
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django40>=2.2.16:www/py-django40@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj40-djangorestframework>=3.10.3:www/py-dj40-djangorestframework@${PY_FLAVOR} \