git: 5966bd160173 - main - devel/py-pydantic: update 1.10.13 → 2.5.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 30 Dec 2023 10:07:43 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5966bd160173d6bbf105a003cc074653d9ddfe3c

commit 5966bd160173d6bbf105a003cc074653d9ddfe3c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-30 10:07:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-30 10:07:35 +0000

    devel/py-pydantic: update 1.10.13 → 2.5.3
---
 devel/py-pydantic/Makefile | 13 ++++++++-----
 devel/py-pydantic/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/devel/py-pydantic/Makefile b/devel/py-pydantic/Makefile
index 7157a7f5c29d..358d889cc36e 100644
--- a/devel/py-pydantic/Makefile
+++ b/devel/py-pydantic/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pydantic
-DISTVERSION=	1.10.13
+DISTVERSION=	2.5.3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,15 +11,18 @@ WWW=		https://github.com/samuelcolvin/pydantic
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}annotated-types>=0.4.0:devel/py-annotated-types@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.14.6:devel/py-pydantic-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.1:devel/py-typing-extensions@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		cpe python
-USE_PYTHON=	distutils cython autoplist pytest # tests fail to run, see https://github.com/pydantic/pydantic/issues/4535, https://github.com/HypothesisWorks/hypothesis/issues/3703
+USE_PYTHON=	pep517 autoplist pytest # tests fail to run, see https://github.com/pydantic/pydantic/issues/4535, https://github.com/HypothesisWorks/hypothesis/issues/3703
 
 CPE_VENDOR=	pydantic_project
 
-post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pydantic/*${PYTHON_EXT_SUFFIX}.so
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/py-pydantic/distinfo b/devel/py-pydantic/distinfo
index e91a6e5be6c8..00ef1bc871fb 100644
--- a/devel/py-pydantic/distinfo
+++ b/devel/py-pydantic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703294152
-SHA256 (pydantic-1.10.13.tar.gz) = 32c8b48dcd3b2ac4e78b0ba4af3a2c2eb6048cb75202f0ea7b34feb740efc340
-SIZE (pydantic-1.10.13.tar.gz) = 348297
+TIMESTAMP = 1703928173
+SHA256 (pydantic-2.5.3.tar.gz) = b3ef57c62535b0941697cce638c08900d87fcb67e29cfa99e8a68f747f393f7a
+SIZE (pydantic-2.5.3.tar.gz) = 651797