Skip to content

Commit

Permalink
devel/py-pydantic: update 1.10.13 → 2.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Dec 30, 2023
1 parent 12d8f6e commit 5966bd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
13 changes: 8 additions & 5 deletions 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}
Expand All @@ -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>
6 changes: 3 additions & 3 deletions 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

0 comments on commit 5966bd1

Please sign in to comment.