git: 90373df5692b - main - www/py-django51: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Wed, 31 Dec 2025 12:43:29 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=90373df5692b64ea28e8d32b32ea33ee2603c2bc

commit 90373df5692b64ea28e8d32b32ea33ee2603c2bc
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-12-31 12:43:22 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-12-31 12:43:22 +0000

    www/py-django51: Remove expired port
    
    2025-12-31 www/py-django51: Extended support of Django 5.1 ends December 2025, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
---
 MOVED                                      |  1 +
 www/Makefile                               |  1 -
 www/py-django51/Makefile                   | 79 ------------------------------
 www/py-django51/distinfo                   |  5 --
 www/py-django51/files/patch-pyproject.toml | 25 ----------
 www/py-django51/pkg-descr                  |  8 ---
 6 files changed, 1 insertion(+), 118 deletions(-)

diff --git a/MOVED b/MOVED
index 50fb7f230408..9de9403e8bff 100644
--- a/MOVED
+++ b/MOVED
@@ -4984,3 +4984,4 @@ devel/fastcrc||2025-12-31|Has expired: dead upstream
 graphics/osgearth||2025-12-31|Has expired: fails to build
 security/nextcloud-passman||2025-12-31|Has expired: Upstream unmaintained
 net-mgmt/hastmon||2025-12-31|Has expired: broken, dead upstream
+www/py-django51||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index 4e3308cba7c8..cecbb91d0bdd 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1697,7 +1697,6 @@
     SUBDIR += py-django-webpack-loader
     SUBDIR += py-django-widget-tweaks
     SUBDIR += py-django42
-    SUBDIR += py-django51
     SUBDIR += py-django52
     SUBDIR += py-django60
     SUBDIR += py-django_compressor
diff --git a/www/py-django51/Makefile b/www/py-django51/Makefile
deleted file mode 100644
index dbdd41cf02b8..000000000000
--- a/www/py-django51/Makefile
+++ /dev/null
@@ -1,79 +0,0 @@
-PORTNAME=	django
-PORTVERSION=	5.1.15
-CATEGORIES=	www python
-MASTER_SITES=	PYPI \
-		https://media.djangoproject.com/releases/${PORTVERSION:R}/
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	51
-#DISTNAME=	Django-${PORTVERSION}
-DIST_SUBDIR=	python
-
-PATCH_SITES=	https://github.com/django/django/commit/
-PATCHFILES+=	8b9a2bf34e132ccf0ab0a074440dc55f90c76598.patch:-p1
-
-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 5.1 ends December 2025, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
-EXPIRATION_DATE=2025-12-31
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}asgiref>=3.8.1:www/py-asgiref@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.1:databases/py-sqlparse@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR}
-
-USES=		cpe python shebangfix
-USE_PYTHON=	autoplist concurrent pep517
-
-NO_ARCH=	yes
-
-DOCSDIR=	${PREFIX}/share/doc/py-django
-PLIST_FILES=	share/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>=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}
-
-.include <bsd.port.pre.mk>
-
-post-build-HTMLDOCS-on:
-	cd ${WRKSRC}/docs && ${MAKE_CMD} html SPHINXBUILD=sphinx-build-${PYTHON_VER}
-
-post-install:
-	${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}/${PREFIX}/share/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.post.mk>
diff --git a/www/py-django51/distinfo b/www/py-django51/distinfo
deleted file mode 100644
index fe2ca5a8e776..000000000000
--- a/www/py-django51/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-TIMESTAMP = 1764719961
-SHA256 (python/django-5.1.15.tar.gz) = 46a356b5ff867bece73fc6365e081f21c569973403ee7e9b9a0316f27d0eb947
-SIZE (python/django-5.1.15.tar.gz) = 10719662
-SHA256 (python/8b9a2bf34e132ccf0ab0a074440dc55f90c76598.patch) = cb9cde01b6ba13ceaba6de3d9315832b7a4ee4d3bf3d38028ef9169e99310495
-SIZE (python/8b9a2bf34e132ccf0ab0a074440dc55f90c76598.patch) = 1803
diff --git a/www/py-django51/files/patch-pyproject.toml b/www/py-django51/files/patch-pyproject.toml
deleted file mode 100644
index fb9645f1691a..000000000000
--- a/www/py-django51/files/patch-pyproject.toml
+++ /dev/null
@@ -1,25 +0,0 @@
---- pyproject.toml.orig	2025-11-06 06:12:12 UTC
-+++ pyproject.toml
-@@ -1,9 +1,9 @@
- [build-system]
--requires = ["setuptools>=77.0.3"]
-+requires = ["setuptools>=63"]
- build-backend = "setuptools.build_meta"
- 
- [project]
--name = "Django"
-+name = "django"
- dynamic = ["version"]
- requires-python = ">= 3.10"
- dependencies = [
-@@ -16,8 +16,8 @@ readme = "README.rst"
- ]
- description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design."
- readme = "README.rst"
--license = "BSD-3-Clause"
--license-files = ["LICENSE", "LICENSE.python"]
-+license = {text="BSD-3-Clause"}
-+#license-files = ["LICENSE", "LICENSE.python"]
- classifiers = [
-     "Development Status :: 5 - Production/Stable",
-     "Environment :: Web Environment",
diff --git a/www/py-django51/pkg-descr b/www/py-django51/pkg-descr
deleted file mode 100644
index 1f0e73eddef2..000000000000
--- a/www/py-django51/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.