git: a6c054108791 - main - devel/py-pydantic2: Update to 2.7.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Jun 2024 04:08:27 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6c054108791bb9ef8c50e94a223b8849d1a0b7f commit a6c054108791bb9ef8c50e94a223b8849d1a0b7f Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-06-18 04:00:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-06-18 04:00:07 +0000 devel/py-pydantic2: Update to 2.7.4 - Allow build with py-pydantic-core 2.19.0 [1] Changes: https://github.com/pydantic/pydantic/releases https://docs.pydantic.dev/latest/changelog/ Obtained from: https://github.com/pydantic/pydantic/commit/b95472dc92018023c4f70de319dc70e691125895 [1] --- devel/py-pydantic2/Makefile | 4 ++-- devel/py-pydantic2/distinfo | 6 +++--- devel/py-pydantic2/files/patch-pyproject.toml | 13 +++++++++++++ 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/devel/py-pydantic2/Makefile b/devel/py-pydantic2/Makefile index a4ab3d443e70..48beb9b1c631 100644 --- a/devel/py-pydantic2/Makefile +++ b/devel/py-pydantic2/Makefile @@ -1,5 +1,5 @@ PORTNAME= pydantic -PORTVERSION= 2.7.3 +PORTVERSION= 2.7.4 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE 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.18.4<2.18.4_99:devel/py-pydantic-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.19.0<2.19.0_99:devel/py-pydantic-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.1:devel/py-typing-extensions@${PY_FLAVOR} USES= python diff --git a/devel/py-pydantic2/distinfo b/devel/py-pydantic2/distinfo index 1f5b0d502e86..bdac22230369 100644 --- a/devel/py-pydantic2/distinfo +++ b/devel/py-pydantic2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1717568442 -SHA256 (pydantic-2.7.3.tar.gz) = c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e -SIZE (pydantic-2.7.3.tar.gz) = 714386 +TIMESTAMP = 1718580116 +SHA256 (pydantic-2.7.4.tar.gz) = 0c84efd9548d545f63ac0060c1e4d39bb9b14db8b3c0652338aecc07b5adec52 +SIZE (pydantic-2.7.4.tar.gz) = 714127 diff --git a/devel/py-pydantic2/files/patch-pyproject.toml b/devel/py-pydantic2/files/patch-pyproject.toml new file mode 100644 index 000000000000..51d1ebf268a4 --- /dev/null +++ b/devel/py-pydantic2/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +Obtained from: https://github.com/pydantic/pydantic/commit/b95472dc92018023c4f70de319dc70e691125895 + +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -48,7 +48,7 @@ dependencies = [ + dependencies = [ + 'typing-extensions>=4.6.1', + 'annotated-types>=0.4.0', +- "pydantic-core==2.18.4", ++ "pydantic-core==2.19.0", + ] + dynamic = ['version', 'readme'] +