git: 3cde448d89dd - main - www/py-django40: Remove expired port:

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sat, 20 May 2023 10:36:18 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3cde448d89dde702f5d771a97fb99d71516f79d9

commit 3cde448d89dde702f5d771a97fb99d71516f79d9
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2023-05-20 10:36:04 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2023-05-20 10:36:04 +0000

    www/py-django40: Remove expired port:
    
    2023-05-20 www/py-django40: Extended support of Django 4.0 ends April 2023, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
---
 MOVED                     |  1 +
 www/Makefile              |  1 -
 www/py-django40/Makefile  | 73 -----------------------------------------------
 www/py-django40/distinfo  |  3 --
 www/py-django40/pkg-descr |  8 ------
 5 files changed, 1 insertion(+), 85 deletions(-)

diff --git a/MOVED b/MOVED
index fd6ece029ea1..60f209ee3b07 100644
--- a/MOVED
+++ b/MOVED
@@ -7557,3 +7557,4 @@ www/py-dj40-django-js-asset|www/py-dj41-django-js-asset|2023-05-20|Has expired:
 www/py-dj40-django-prometheus|www/py-dj41-django-prometheus|2023-05-20|Has expired: 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/
 www/py-dj40-django-timezone-field|www/py-dj41-django-timezone-field|2023-05-20|Has expired: 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/
 www/py-dj40-djangorestframework|www/py-dj41-djangorestframework|2023-05-20|Has expired: 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/
+www/py-django40|www/py-django41|2023-05-20|Has expired: Extended support of Django 4.0 ends April 2023, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index 35716677ecc5..77cf2f457cd8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1580,7 +1580,6 @@
     SUBDIR += py-django-webpack-loader
     SUBDIR += py-django-widget-tweaks
     SUBDIR += py-django32
-    SUBDIR += py-django40
     SUBDIR += py-django41
     SUBDIR += py-django42
     SUBDIR += py-django_compressor
diff --git a/www/py-django40/Makefile b/www/py-django40/Makefile
deleted file mode 100644
index 6341d6f732eb..000000000000
--- a/www/py-django40/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-PORTNAME=	django
-PORTVERSION=	4.0.10
-CATEGORIES=	www python
-MASTER_SITES=	PYPI \
-		https://media.djangoproject.com/releases/${PORTVERSION:R}/
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	40
-DISTNAME=	Django-${PORTVERSION}
-DIST_SUBDIR=	python
-
-MAINTAINER=	python@FreeBSD.org
-COMMENT=	High-level Python Web Framework
-WWW=		https://www.djangoproject.com/
-
-LICENSE=	BSD3CLAUSE
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-DEPRECATED=	Extended support of Django 4.0 ends April 2023, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
-EXPIRATION_DATE=	2023-05-20
-
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>0:devel/py-backports.zoneinfo@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}asgiref>0:www/py-asgiref@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}
-
-USES=		cpe python:3.8+ shebangfix
-USE_PYTHON=	autoplist distutils
-
-NO_ARCH=	yes
-
-DOCSDIR=	${PREFIX}/share/doc/py-django
-PLIST_FILES=	man/man1/django-admin.1.gz
-PORTDOCS=	*
-
-SHEBANG_FILES=	django/conf/project_template/manage.py-tpl
-
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}django[0-9][0-9]
-
-CPE_VENDOR=	djangoproject
-
-# Upstream archive contains files with UTF-8 names
-EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
-
-OPTIONS_DEFINE=	DOCS HTMLDOCS
-OPTIONS_GROUP=	DATABASE
-OPTIONS_GROUP_DATABASE=	PGSQL MYSQL SQLITE
-OPTIONS_DEFAULT=SQLITE
-HTMLDOCS_DESC=	Install HTML documentation (requires Sphinx)
-
-HTMLDOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=4.5.0,1:textproc/py-sphinx@${PY_FLAVOR}
-HTMLDOCS_IMPLIES=	DOCS
-HTMLDOCS_USES=		gmake
-PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR}
-MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.13:databases/py-mysqlclient@${PY_FLAVOR}
-SQLITE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
-
-post-build-HTMLDOCS-on:
-	cd ${WRKSRC}/docs && ${GMAKE} html SPHINXBUILD=sphinx-build-${PYTHON_VER}
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${MAN1PREFIX}/man/man1
-	@${ECHO_MSG}	""
-	@${ECHO_MSG}	"	* See http://docs.djangoproject.com/ for complete documentation"
-	@${ECHO_MSG}	""
-
-post-install-HTMLDOCS-on:
-	${MKDIR} ${STAGEDIR}/${DOCSDIR}
-	${CP} -R ${WRKSRC}/docs/_build/html ${STAGEDIR}/${DOCSDIR}
-
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} tests/runtests.py --settings=test_sqlite
-
-.include <bsd.port.mk>
diff --git a/www/py-django40/distinfo b/www/py-django40/distinfo
deleted file mode 100644
index 67761262fa78..000000000000
--- a/www/py-django40/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1676371176
-SHA256 (python/Django-4.0.10.tar.gz) = 2c2f73c16b11cb272c6d5e3b063f0d1be06f378d8dc6005fbe8542565db659cc
-SIZE (python/Django-4.0.10.tar.gz) = 10430363
diff --git a/www/py-django40/pkg-descr b/www/py-django40/pkg-descr
deleted file mode 100644
index 1f0e73eddef2..000000000000
--- a/www/py-django40/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-Django is a high-level Python Web framework that encourages rapid development
-and clean, pragmatic design.
-
-Developed and used over the past two years by a fast-moving online-news
-operation, Django was designed from scratch to handle two challenges: the
-intensive deadlines of a newsroom and the stringent requirements of experienced
-Web developers. It has convenient niceties for developing content-management
-systems, but it's an excellent tool for building any Web site.