git: 4fa51b9239c9 - main - www/py-drf-spectacular: Update to 0.27.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 17 Dec 2023 12:59:43 UTC
The branch main has been updated by kai:

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

commit 4fa51b9239c94bf1650874113b7e2dbf47c42ac1
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-12-17 12:43:53 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-12-17 12:43:53 +0000

    www/py-drf-spectacular: Update to 0.27.0
    
    Changelog:
    
    https://github.com/tfranzel/drf-spectacular/releases/tag/0.27.0
---
 www/py-drf-spectacular/Makefile | 10 ++++++++--
 www/py-drf-spectacular/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/www/py-drf-spectacular/Makefile b/www/py-drf-spectacular/Makefile
index 9dfe475353ad..65f9ca6d2955 100644
--- a/www/py-drf-spectacular/Makefile
+++ b/www/py-drf-spectacular/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	drf-spectacular
-DISTVERSION=	0.26.5
+DISTVERSION=	0.27.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -31,4 +31,10 @@ OPTIONS_DEFAULT=	SIDECAR
 SIDECAR_DESC=	Enable self-contained Swagger/Redoc UI installation
 SIDECAR_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}drf-spectacular-sidecar>0:www/py-drf-spectacular-sidecar@${PY_FLAVOR}
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-drf-spectacular/distinfo b/www/py-drf-spectacular/distinfo
index e60ce90a88b7..f9de0def262d 100644
--- a/www/py-drf-spectacular/distinfo
+++ b/www/py-drf-spectacular/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696150239
-SHA256 (drf-spectacular-0.26.5.tar.gz) = aee55330a774ba8a9cbdb125714d1c9ee05a8aafd3ce3be8bfd26527649aeb44
-SIZE (drf-spectacular-0.26.5.tar.gz) = 220768
+TIMESTAMP = 1702732046
+SHA256 (drf-spectacular-0.27.0.tar.gz) = 18d7ae74b2b5d533fd31f1c591ebaa5cce1447e0976ced927401e3163040dea9
+SIZE (drf-spectacular-0.27.0.tar.gz) = 230289