aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-08-31 10:46:39 +0000
committerRene Ladan <rene@FreeBSD.org>2026-08-31 10:46:39 +0000
commit81001aaf3473d704b0c442efbad17b13106f5729 (patch)
treec1ecceaa6e994feb4210454b272c6b05ebac98b9
parent7f2ea36041ef5b263896d8ea376c57d7b056d5b2 (diff)
www/py-django42: Remove expired port
2026-08-31 www/py-django42: Django 4.2 is now in Extended Support, receives security fixes only and will reach End-Of-Life in April 2026. Upgrade to a later Django version. See https://www.djangoproject.com/download/
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/py-django42/Makefile70
-rw-r--r--www/py-django42/distinfo3
-rw-r--r--www/py-django42/files/patch-pyproject.toml17
-rw-r--r--www/py-django42/pkg-descr8
6 files changed, 1 insertions, 99 deletions
diff --git a/MOVED b/MOVED
index 68009ebf0fe9..be9b73687f22 100644
--- a/MOVED
+++ b/MOVED
@@ -5587,3 +5587,4 @@ www/py-dj42-django-simple-captcha||2026-08-31|Has expired: Serves as a transitio
www/py-dj42-django-picklefield||2026-08-31|Has expired: Serves as a transition only for www/seahub and requires Django 4.2, which has been end-of-life since April
www/py-dj42-djangosaml2||2026-08-31|Has expired: Serves as a transition only for www/seahub and requires Django 4.2, which has been end-of-life since April
www/py-dj42-django-ranged-response||2026-08-31|Has expired: Serves as a transition only for www/seahub and requires Django 4.2, which has been end-of-life since April
+www/py-django42||2026-08-31|Has expired: Django 4.2 is now in Extended Support, receives security fixes only and will reach End-Of-Life in April 2026. Upgrade to a later Django version. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index 0ce071141661..a2c85df4f898 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1703,7 +1703,6 @@
SUBDIR += py-django-voting
SUBDIR += py-django-webpack-loader
SUBDIR += py-django-widget-tweaks
- SUBDIR += py-django42
SUBDIR += py-django52
SUBDIR += py-django60
SUBDIR += py-django61
diff --git a/www/py-django42/Makefile b/www/py-django42/Makefile
deleted file mode 100644
index 3285ca85cf4d..000000000000
--- a/www/py-django42/Makefile
+++ /dev/null
@@ -1,70 +0,0 @@
-PORTNAME= django
-PORTVERSION= 4.2.30
-CATEGORIES= www python
-MASTER_SITES= PYPI \
- https://media.djangoproject.com/releases/${PORTVERSION:R}/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX= 42
-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= Django 4.2 is now in Extended Support, receives security fixes only and will reach End-Of-Life in April 2026. Upgrade to a later Django version. See https://www.djangoproject.com/download/
-EXPIRATION_DATE=2026-08-31
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.8.0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.6.0: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
-
-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}
-
-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.mk>
diff --git a/www/py-django42/distinfo b/www/py-django42/distinfo
deleted file mode 100644
index e4eb2c59d6ce..000000000000
--- a/www/py-django42/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1775609347
-SHA256 (python/django-4.2.30.tar.gz) = 4ebc7a434e3819db6cf4b399fb5b3f536310a30e8486f08b66886840be84b37c
-SIZE (python/django-4.2.30.tar.gz) = 10468707
diff --git a/www/py-django42/files/patch-pyproject.toml b/www/py-django42/files/patch-pyproject.toml
deleted file mode 100644
index 9d523c72c390..000000000000
--- a/www/py-django42/files/patch-pyproject.toml
+++ /dev/null
@@ -1,17 +0,0 @@
---- pyproject.toml.orig 2025-05-09 00:23:23 UTC
-+++ pyproject.toml
-@@ -1,12 +1,12 @@ requires = [
- [build-system]
- requires = [
-- "setuptools>=75.8.1; python_version >= '3.9'",
-+ "setuptools>=63; python_version >= '3.9'",
- "setuptools<75.4.0; python_version < '3.9'",
- ]
- build-backend = "setuptools.build_meta"
-
- [project]
--name = "Django"
-+name = "django"
- dynamic = ["version"]
- requires-python = ">= 3.8"
- dependencies = [
diff --git a/www/py-django42/pkg-descr b/www/py-django42/pkg-descr
deleted file mode 100644
index 1f0e73eddef2..000000000000
--- a/www/py-django42/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.