Date: Thu, 13 Nov 2025 06:41:54 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 32ef9e64072f - main - www/py-dj51-drf-spectacular: Update to 0.29.0 Message-ID: <202511130641.5AD6fs35058740@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=32ef9e64072f4506a2c6b78caf320d8058fa3d9d commit 32ef9e64072f4506a2c6b78caf320d8058fa3d9d Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2025-11-13 06:40:19 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2025-11-13 06:40:19 +0000 www/py-dj51-drf-spectacular: Update to 0.29.0 * Switch to the PEP517 build framework. Changelog: https://github.com/tfranzel/drf-spectacular/releases/tag/0.29.0 --- www/py-dj51-drf-spectacular/Makefile | 7 ++--- www/py-dj51-drf-spectacular/distinfo | 6 ++--- .../files/patch-pyproject.toml | 30 ++++++++++++++++++++++ 3 files changed, 37 insertions(+), 6 deletions(-) diff --git a/www/py-dj51-drf-spectacular/Makefile b/www/py-dj51-drf-spectacular/Makefile index 28976c0e702f..fc2bc984d4e4 100644 --- a/www/py-dj51-drf-spectacular/Makefile +++ b/www/py-dj51-drf-spectacular/Makefile @@ -1,6 +1,5 @@ PORTNAME= drf-spectacular -DISTVERSION= 0.28.0 -PORTREVISION= 1 +DISTVERSION= 0.29.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- @@ -16,6 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED=Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/ EXPIRATION_DATE=2025-12-31 +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dj51-djangorestframework>=3.10.3:www/py-dj51-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ @@ -24,7 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=2.2:www/py-django51@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} diff --git a/www/py-dj51-drf-spectacular/distinfo b/www/py-dj51-drf-spectacular/distinfo index 22f12c0442aa..f7f3bb44d0fc 100644 --- a/www/py-dj51-drf-spectacular/distinfo +++ b/www/py-dj51-drf-spectacular/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1733482018 -SHA256 (drf_spectacular-0.28.0.tar.gz) = 2c778a47a40ab2f5078a7c42e82baba07397bb35b074ae4680721b2805943061 -SIZE (drf_spectacular-0.28.0.tar.gz) = 237849 +TIMESTAMP = 1762158117 +SHA256 (drf_spectacular-0.29.0.tar.gz) = 0a069339ea390ce7f14a75e8b5af4a0860a46e833fd4af027411a3e94fc1a0cc +SIZE (drf_spectacular-0.29.0.tar.gz) = 241722 diff --git a/www/py-dj51-drf-spectacular/files/patch-pyproject.toml b/www/py-dj51-drf-spectacular/files/patch-pyproject.toml new file mode 100644 index 000000000000..8314ea492d9f --- /dev/null +++ b/www/py-dj51-drf-spectacular/files/patch-pyproject.toml @@ -0,0 +1,30 @@ +Relax version requirements of py-setuptools and enable build for older versions +of it. + +--- pyproject.toml.orig 2025-11-03 11:21:39 UTC ++++ pyproject.toml +@@ -4,7 +4,6 @@ requires-python = ">=3.7" + description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework" + readme = "README.rst" + requires-python = ">=3.7" +-license = "BSD-3-Clause" + authors = [ + {name = "T. Franzel", email = "tfranzel@gmail.com"} + ] +@@ -57,6 +56,9 @@ Documentation = "https://drf-spectacular.readthedocs.i + Source = "https://github.com/tfranzel/drf-spectacular" + Documentation = "https://drf-spectacular.readthedocs.io" + ++[project.license] ++text = "BSD-3-Clause" ++ + [tool.setuptools.dynamic] + version = {attr = "drf_spectacular.__version__"} + +@@ -72,5 +74,5 @@ drf_spectacular = [ + ] + + [build-system] +-requires = ["setuptools>=75.3.2", "wheel"] ++requires = ["setuptools", "wheel"] + build-backend = "setuptools.build_meta"home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511130641.5AD6fs35058740>
