git: e4f5c37688a5 - main - devel/py-pydantic: Update 1.9.1 -> 1.10.2; Add tests

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 19 Sep 2022 07:12:17 UTC
The branch main has been updated by yuri:

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

commit e4f5c37688a52c5c8f0b2f0292753db1c030405a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-19 07:11:21 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-19 07:11:21 +0000

    devel/py-pydantic: Update 1.9.1 -> 1.10.2; Add tests
    
    Reported by:    portscout
---
 devel/py-pydantic/Makefile | 7 +++++--
 devel/py-pydantic/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/devel/py-pydantic/Makefile b/devel/py-pydantic/Makefile
index ec00378b359d..d08d8bbb6128 100644
--- a/devel/py-pydantic/Makefile
+++ b/devel/py-pydantic/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pydantic
-DISTVERSION=	1.9.1
+DISTVERSION=	1.10.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +14,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		cpe python:3.7+
-USE_PYTHON=	distutils cython autoplist
+USE_PYTHON=	distutils cython autoplist pytest # tests fail to run, see https://github.com/pydantic/pydantic/issues/4535
 
 CPE_VENDOR=	pydantic_project
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pydantic/*${PYTHON_EXT_SUFFIX}.so
+
 .include <bsd.port.mk>
diff --git a/devel/py-pydantic/distinfo b/devel/py-pydantic/distinfo
index 8a7ba3384d98..8a94ac514ca9 100644
--- a/devel/py-pydantic/distinfo
+++ b/devel/py-pydantic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653076512
-SHA256 (pydantic-1.9.1.tar.gz) = 1ed987c3ff29fff7fd8c3ea3a3ea877ad310aae2ef9889a119e22d3f2db0691a
-SIZE (pydantic-1.9.1.tar.gz) = 306846
+TIMESTAMP = 1663570559
+SHA256 (pydantic-1.10.2.tar.gz) = 91b8e218852ef6007c2b98cd861601c6a09f1aa32bbbb74fab5b1c33d4a1e410
+SIZE (pydantic-1.10.2.tar.gz) = 335713