git: 5df1971570c1 - main - www/py-fastapi: Update dependency to use pydantic2 for pydantic 2.x

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 01 Jan 2024 23:46:32 UTC
The branch main has been updated by yuri:

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

commit 5df1971570c18897746995e21b2e98da8774faac
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-01 23:45:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-01 23:45:15 +0000

    www/py-fastapi: Update dependency to use pydantic2 for pydantic 2.x
    
    PR:             276065
    Approved by:    wen@ (maintainer)
---
 www/py-fastapi/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/py-fastapi/Makefile b/www/py-fastapi/Makefile
index 4145a52ec994..d7ef2cf50272 100644
--- a/www/py-fastapi/Makefile
+++ b/www/py-fastapi/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fastapi
 PORTVERSION=	0.108.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydantic>=1.6.2:devel/py-pydantic@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydantic2>=1.7.4:devel/py-pydantic2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}starlette>=0.26.1:www/py-starlette@${PY_FLAVOR}
 
 USES=		cpe python