mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
www/py-django50: Remove expired port
2025-05-31 www/py-django50: Extended support of Django 5.0 ends April 2024, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
This commit is contained in:
@@ -4452,3 +4452,4 @@ www/py-dj50-django-redis|www/py-dj51-django-redis|2025-06-01|Has expired: Extend
|
||||
devel/eventxx||2025-06-01|Has expired: Upstream is gone, unmaintained for 10+ years in tree
|
||||
devel/cmunge||2025-06-01|Has expired: Upstream is gone
|
||||
www/py-dj50-django-htmx|www/py-dj51-django-htmx|2025-06-01|Has expired: Extended support of Django 5.0 ends April 2025, upgrade to the Django 5.1+ version of this port. See https://www.djangoproject.com/download/
|
||||
www/py-django50|www/py-django51|2025-06-01|Has expired: Extended support of Django 5.0 ends April 2024, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
|
||||
|
||||
@@ -1659,7 +1659,6 @@
|
||||
SUBDIR += py-django-webpack-loader
|
||||
SUBDIR += py-django-widget-tweaks
|
||||
SUBDIR += py-django42
|
||||
SUBDIR += py-django50
|
||||
SUBDIR += py-django51
|
||||
SUBDIR += py-django52
|
||||
SUBDIR += py-django_compressor
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
PORTNAME= django
|
||||
PORTVERSION= 5.0.14
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI \
|
||||
https://media.djangoproject.com/releases/${PORTVERSION:R}/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
PKGNAMESUFFIX= 50
|
||||
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 5.0 ends April 2024, upgrade to a newer version of Django. See https://www.djangoproject.com/download/
|
||||
EXPIRATION_DATE=2025-05-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.7.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 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>
|
||||
|
||||
.if ${PYTHON_REL} < 31000
|
||||
IGNORE= requires Python 3.10 or later
|
||||
.endif
|
||||
|
||||
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>
|
||||
@@ -1,3 +0,0 @@
|
||||
TIMESTAMP = 1743690725
|
||||
SHA256 (python/Django-5.0.14.tar.gz) = 29019a5763dbd48da1720d687c3522ef40d1c61be6fb2fad27ed79e9f655bc11
|
||||
SIZE (python/Django-5.0.14.tar.gz) = 10644306
|
||||
@@ -1,9 +0,0 @@
|
||||
--- setup.cfg.orig 2024-05-08 00:14:53 UTC
|
||||
+++ setup.cfg
|
||||
@@ -1,5 +1,5 @@
|
||||
[metadata]
|
||||
-name = Django
|
||||
+name = django
|
||||
version = attr: django.__version__
|
||||
url = https://www.djangoproject.com/
|
||||
author = Django Software Foundation
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user