diff --git a/www/py-django60/Makefile b/www/py-django60/Makefile index 1172e4cb3aad..0c65f52ed300 100644 --- a/www/py-django60/Makefile +++ b/www/py-django60/Makefile @@ -1,78 +1,78 @@ PORTNAME= django -PORTVERSION= 6.0.2 +PORTVERSION= 6.0.3 CATEGORIES= www python MASTER_SITES= PYPI \ https://media.djangoproject.com/releases/${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 60 DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= High-level Python Web Framework WWW= https://www.djangoproject.com/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE 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.9.1:www/py-asgiref@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.5.0:databases/py-sqlparse@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tblib>0:devel/py-tblib@${PY_FLAVOR} USES= cpe python:3.11-3.12 shebangfix USE_PYTHON= autoplist concurrent pep517 pytest 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 pre-everything:: @${ECHO_MSG} "" @${ECHO_MSG} " Django-6.0 upstream require python 3.12 and above." @${ECHO_MSG} " But currently we have to use python-3.11." @${ECHO_MSG} "" 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 diff --git a/www/py-django60/distinfo b/www/py-django60/distinfo index 724f68245054..55b6fa1208d2 100644 --- a/www/py-django60/distinfo +++ b/www/py-django60/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1770166245 -SHA256 (python/django-6.0.2.tar.gz) = 3046a53b0e40d4b676c3b774c73411d7184ae2745fe8ce5e45c0f33d3ddb71a7 -SIZE (python/django-6.0.2.tar.gz) = 10886874 +TIMESTAMP = 1772667295 +SHA256 (python/django-6.0.3.tar.gz) = 90be765ee756af8a6cbd6693e56452404b5ad15294f4d5e40c0a55a0f4870fe1 +SIZE (python/django-6.0.3.tar.gz) = 10872701 diff --git a/www/py-django60/files/patch-pyproject.toml b/www/py-django60/files/patch-pyproject.toml index fbd4cf16e6a1..b9691b844f7d 100644 --- a/www/py-django60/files/patch-pyproject.toml +++ b/www/py-django60/files/patch-pyproject.toml @@ -1,25 +1,28 @@ ---- pyproject.toml.orig 2025-12-03 16:20:32 UTC +--- pyproject.toml.orig 2026-03-05 00:01:01 UTC +++ pyproject.toml -@@ -1,9 +1,9 @@ +@@ -1,11 +1,11 @@ [build-system] -requires = ["setuptools>=77.0.3"] -+requires = ["setuptools>=63.0"] ++requires = ["setuptools>=63"] build-backend = "setuptools.build_meta" [project] -name = "Django" +name = "django" dynamic = ["version"] - requires-python = ">= 3.12" +-requires-python = ">= 3.12" ++requires-python = ">= 3.11" dependencies = [ + "asgiref>=3.9.1", + "sqlparse>=0.5.0", @@ -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-files = ["LICENSE", "LICENSE.python", "AUTHORS"] +license = {text="BSD-3-Clause"} -+#license-files = ["LICENSE", "LICENSE.python"] ++#license-files = ["LICENSE", "LICENSE.python", "AUTHORS"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment",