git: 75cf1a445a87 - main - www/py-django22: Deprecate and set to expire

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Tue, 18 Jan 2022 17:35:00 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=75cf1a445a87cbb9c8e7cecd8e1cb58699bf3b22

commit 75cf1a445a87cbb9c8e7cecd8e1cb58699bf3b22
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-01-18 17:29:41 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-01-18 17:34:01 +0000

    www/py-django22: Deprecate and set to expire
    
    Set a deprecation note and let it expire to the end of June to give
    enough time to switch all affected ports over to Django 3.2 which is the
    next LTS release.
    
    PR:             261313
    Reviewed by:    koobs
    Approved by:    dbaio, sunpoet (python, maintainer)
    Differential Revision:  https://reviews.freebsd.org/D33793
---
 www/py-django22/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/py-django22/Makefile b/www/py-django22/Makefile
index a3b1e1898b73..c0566a83e0ba 100644
--- a/www/py-django22/Makefile
+++ b/www/py-django22/Makefile
@@ -16,6 +16,9 @@ COMMENT=	High-level Python Web Framework
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+DEPRECATED=	Django 2.2 is now in Extended Support, receives security fixes only and will reach End-Of-Life on 2022-04-01. Upgrade to a later Django version. See https://www.djangoproject.com/download/
+EXPIRATION_DATE=	2022-06-30
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}