diff options
author | Kai Knoblich <kai@FreeBSD.org> | 2023-06-27 12:39:22 +0000 |
---|---|---|
committer | Kai Knoblich <kai@FreeBSD.org> | 2023-06-27 12:39:22 +0000 |
commit | 80312c91e511a86647599732fbc6facea1178c02 (patch) | |
tree | 53a22da23dbd73c4f34c24ed2a21d7fa25a89cb6 | |
parent | 86e0e433f2a11a381a2b837dbee4f2354a4b5414 (diff) | |
download | ports-80312c91e511a86647599732fbc6facea1178c02.tar.gz ports-80312c91e511a86647599732fbc6facea1178c02.zip |
www/py-drf-yasg: Update to 1.21.6
* Introduce COREAPI option to reflect the current state lined out in
setup.py and keep it non-default because CoreAPI is considered legacy
in contrast to OpenAPI.
Changelog:
https://github.com/axnsan12/drf-yasg/blob/1.21.6/docs/changelog.rst
-rw-r--r-- | www/py-drf-yasg/Makefile | 14 | ||||
-rw-r--r-- | www/py-drf-yasg/distinfo | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/www/py-drf-yasg/Makefile b/www/py-drf-yasg/Makefile index 2fbcc73a0bb7..145620c1c6ff 100644 --- a/www/py-drf-yasg/Makefile +++ b/www/py-drf-yasg/Makefile @@ -1,5 +1,5 @@ PORTNAME= drf-yasg -DISTVERSION= 1.21.5 +DISTVERSION= 1.21.6 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,13 +14,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.rst BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.0.6:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2.16:www/py-django32@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.10.3:www/py-djangorestframework@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1:devel/py-inflection@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.16.13:devel/py-ruamel.yaml@${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}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=5.1:devel/py-yaml@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= distutils autoplist @@ -29,10 +27,14 @@ CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} NO_ARCH= yes -OPTIONS_DEFINE= VALIDATION +OPTIONS_DEFINE= COREAPI VALIDATION OPTIONS_DEFAULT= VALIDATION +COREAPI_DESC= Enable CoreAPI validation mechanisms VALIDATION_DESC= Enable built-in OpenAPI validation mechanisms + +COREAPI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coreapi>=2.3.3:devel/py-coreapi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coreschema>=0.0.4:devel/py-coreschema@${PY_FLAVOR} VALIDATION_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}swagger-spec-validator>=2.1.0:devel/py-swagger-spec-validator@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/www/py-drf-yasg/distinfo b/www/py-drf-yasg/distinfo index 716ea56fadb1..092a2d6cb6c8 100644 --- a/www/py-drf-yasg/distinfo +++ b/www/py-drf-yasg/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677410357 -SHA256 (drf-yasg-1.21.5.tar.gz) = ceef0c3b5dc4389781afd786e6dc3697af2a2fe0d8724ee1f637c23d75bbc5b2 -SIZE (drf-yasg-1.21.5.tar.gz) = 6677133 +TIMESTAMP = 1687855225 +SHA256 (drf-yasg-1.21.6.tar.gz) = d65387ed657d6bc157baf9de62e8d9b444857f06ed5486cf8915a9174b6be53c +SIZE (drf-yasg-1.21.6.tar.gz) = 4510299 |