diff --git a/www/py-drf-yasg/Makefile b/www/py-drf-yasg/Makefile index 0e363bb41d6a..8a6187dcfcd7 100644 --- a/www/py-drf-yasg/Makefile +++ b/www/py-drf-yasg/Makefile @@ -1,40 +1,40 @@ PORTNAME= drf-yasg -DISTVERSION= 1.21.10 -PORTREVISION= 1 +DISTVERSION= 1.21.11 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= drf_yasg-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Yet Another Swagger Generator WWW= https://github.com/axnsan12/drf-yasg LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.0.6:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2.16:www/py-django42@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.10.3:www/py-djangorestframework@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.0:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.13.0:www/py-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytz>=2021.1:devel/py-pytz@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1:devel/py-pyyaml@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes OPTIONS_DEFINE= VALIDATION OPTIONS_DEFAULT= VALIDATION VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR} .include diff --git a/www/py-drf-yasg/distinfo b/www/py-drf-yasg/distinfo index 0befe53f7380..05c4cd4b672e 100644 --- a/www/py-drf-yasg/distinfo +++ b/www/py-drf-yasg/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1743677357 -SHA256 (drf-yasg-1.21.10.tar.gz) = f86d50faee3c31fcec4545985a871f832366c7fb5b77b62c48089d56ecf4f8d4 -SIZE (drf-yasg-1.21.10.tar.gz) = 4596566 +TIMESTAMP = 1761586881 +SHA256 (drf_yasg-1.21.11.tar.gz) = 0190b3de884aa593a39c75e6daba2ae69f285f0691de1eb0e3f4c6307faa1817 +SIZE (drf_yasg-1.21.11.tar.gz) = 4599786 diff --git a/www/py-drf-yasg/files/patch-pyproject.toml b/www/py-drf-yasg/files/patch-pyproject.toml index c60b2ad1b63d..19f4d497a4cc 100644 --- a/www/py-drf-yasg/files/patch-pyproject.toml +++ b/www/py-drf-yasg/files/patch-pyproject.toml @@ -1,9 +1,21 @@ -Relax version requirements for py-setuptools. +Relax version requirements and enable build for older versions of py-setuptools. ---- pyproject.toml.orig 2025-06-23 15:36:27 UTC +--- pyproject.toml.orig 2025-09-26 22:17:55 UTC +++ pyproject.toml -@@ -1,3 +1,3 @@ +@@ -1,5 +1,5 @@ [build-system] --requires = ["setuptools >= 68.0.0", "wheel", "setuptools-scm >= 3.0.3"] -+requires = ["setuptools", "wheel", "setuptools-scm >= 3.0.3"] +-requires = ["setuptools >= 77.0.3", "setuptools-scm ~= 7.0"] ++requires = ["setuptools", "setuptools-scm"] build-backend = "setuptools.build_meta" + + [project] +@@ -9,8 +9,7 @@ dynamic = ["version"] + requires-python = ">= 3.9" + dynamic = ["version"] + +-license = "BSD-3-Clause" +-license-files = ["LICENSE.rst"] ++license = { text="BSD-3-Clause" } + readme = "README.rst" + + dependencies = [