git: a94b3e4f2e42 - 2026Q3 - www/py-dj60-drf-spectacular: Update to 0.30.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Wed, 15 Jul 2026 10:27:52 UTC
The branch 2026Q3 has been updated by kai:

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

commit a94b3e4f2e42f5e643739a329fb35c7c3d9b7c71
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2026-07-15 09:29:30 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2026-07-15 10:26:53 +0000

    www/py-dj60-drf-spectacular: Update to 0.30.0
    
    Changelog:
    
    https://github.com/tfranzel/drf-spectacular/releases/tag/0.30.0
    
    MFH:            2026Q3
    (cherry picked from commit 9b109d2f8db5138b8886bcdeb2b70a1a9ea8b40c)
---
 www/py-dj60-drf-spectacular/Makefile               |  4 ++--
 www/py-dj60-drf-spectacular/distinfo               |  6 +++---
 .../files/patch-pyproject.toml                     | 22 +++++++---------------
 3 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/www/py-dj60-drf-spectacular/Makefile b/www/py-dj60-drf-spectacular/Makefile
index 5b0ab373d5bf..d8041416872e 100644
--- a/www/py-dj60-drf-spectacular/Makefile
+++ b/www/py-dj60-drf-spectacular/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	drf-spectacular
-DISTVERSION=	0.29.0
+DISTVERSION=	0.30.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj60-
@@ -12,7 +12,7 @@ WWW=		https://github.com/tfranzel/drf-spectacular
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django60>=2.2:www/py-django60@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dj60-djangorestframework>=3.10.3:www/py-dj60-djangorestframework@${PY_FLAVOR} \
diff --git a/www/py-dj60-drf-spectacular/distinfo b/www/py-dj60-drf-spectacular/distinfo
index f7f3bb44d0fc..0e6e429d55bc 100644
--- a/www/py-dj60-drf-spectacular/distinfo
+++ b/www/py-dj60-drf-spectacular/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762158117
-SHA256 (drf_spectacular-0.29.0.tar.gz) = 0a069339ea390ce7f14a75e8b5af4a0860a46e833fd4af027411a3e94fc1a0cc
-SIZE (drf_spectacular-0.29.0.tar.gz) = 241722
+TIMESTAMP = 1783883294
+SHA256 (drf_spectacular-0.30.0.tar.gz) = 53e79e7ba00e240441b63c32273754a5368e4c2ab44a19f2595277cc1cd559c9
+SIZE (drf_spectacular-0.30.0.tar.gz) = 252311
diff --git a/www/py-dj60-drf-spectacular/files/patch-pyproject.toml b/www/py-dj60-drf-spectacular/files/patch-pyproject.toml
index 8314ea492d9f..117ca3939881 100644
--- a/www/py-dj60-drf-spectacular/files/patch-pyproject.toml
+++ b/www/py-dj60-drf-spectacular/files/patch-pyproject.toml
@@ -1,30 +1,22 @@
-Relax version requirements of py-setuptools and enable build for older versions
-of it.
+Enable build for older versions of py-setuptools.
 
---- pyproject.toml.orig	2025-11-03 11:21:39 UTC
+--- pyproject.toml.orig	2026-07-06 11:29:33 UTC
 +++ pyproject.toml
-@@ -4,7 +4,6 @@ requires-python = ">=3.7"
+@@ -4,7 +4,6 @@ requires-python = ">=3.8"
  description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework"
  readme = "README.rst"
- requires-python = ">=3.7"
+ requires-python = ">=3.8"
 -license = "BSD-3-Clause"
  authors = [
      {name = "T. Franzel", email = "tfranzel@gmail.com"}
  ]
 @@ -57,6 +56,9 @@ Documentation = "https://drf-spectacular.readthedocs.i
+ Homepage = "https://github.com/tfranzel/drf-spectacular"
  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"