aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-01-01 23:45:15 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-01-01 23:45:15 +0000
commit5df1971570c18897746995e21b2e98da8774faac (patch)
treef75cfa91d5ef568c89fa8c53901c7b47e4db7651
parent6eb34fba30d7fca387089e0826a6fa3415005e5f (diff)
downloadports-5df1971570c18897746995e21b2e98da8774faac.tar.gz
ports-5df1971570c18897746995e21b2e98da8774faac.zip
www/py-fastapi: Update dependency to use pydantic2 for pydantic 2.x
PR: 276065 Approved by: wen@ (maintainer)
-rw-r--r--www/py-fastapi/Makefile3
1 files changed, 2 insertions, 1 deletions
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