aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-09-19 07:11:21 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-09-19 07:11:21 +0000
commite4f5c37688a52c5c8f0b2f0292753db1c030405a (patch)
treed60146c0d4610d5549c353d3a904c84213dcbe9f
parent04ad8bfe6c69df3fb827e1c0b09debf87eaee71c (diff)
downloadports-e4f5c37688a52c5c8f0b2f0292753db1c030405a.tar.gz
ports-e4f5c37688a52c5c8f0b2f0292753db1c030405a.zip
devel/py-pydantic: Update 1.9.1 -> 1.10.2; Add tests
Reported by: portscout
-rw-r--r--devel/py-pydantic/Makefile7
-rw-r--r--devel/py-pydantic/distinfo6
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