Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2023 12:42: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: 80312c91e511 - main - www/py-drf-yasg: Update to 1.21.6
Message-ID:  <202306271242.35RCgsiP054089@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

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

commit 80312c91e511a86647599732fbc6facea1178c02
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-06-27 12:39:22 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-06-27 12:39:22 +0000

    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
---
 www/py-drf-yasg/Makefile | 14 ++++++++------
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306271242.35RCgsiP054089>