git: 1f19671dde60 - main - devel/py-pydantic2: Allow build with py-pydantic-core 2.8.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 22 Sep 2023 03:24:26 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f19671dde60078418973ec26f34a616f14c3f7d commit 1f19671dde60078418973ec26f34a616f14c3f7d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-09-22 03:18:08 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-09-22 03:18:08 +0000 devel/py-pydantic2: Allow build with py-pydantic-core 2.8.0 - Bump PORTREVISION for package change Obtained from: https://github.com/pydantic/pydantic/commit/70d3c3e00f960191b4cc488ddb252f723fce8020 --- devel/py-pydantic2/Makefile | 4 ++-- devel/py-pydantic2/files/patch-pydantic-core | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/devel/py-pydantic2/Makefile b/devel/py-pydantic2/Makefile index 8bf5552b697f..8f3a03d53447 100644 --- a/devel/py-pydantic2/Makefile +++ b/devel/py-pydantic2/Makefile @@ -1,6 +1,6 @@ PORTNAME= pydantic PORTVERSION= 2.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,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.7.0<2.7.0_99:devel/py-pydantic-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.8.0<2.8.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/files/patch-pydantic-core b/devel/py-pydantic2/files/patch-pydantic-core index 79f89fd3a010..6a6b96f25629 100644 --- a/devel/py-pydantic2/files/patch-pydantic-core +++ b/devel/py-pydantic2/files/patch-pydantic-core @@ -1,4 +1,5 @@ Obtained from: https://github.com/pydantic/pydantic/commit/2575e71894a32dc615f9fa7a94ff37bb604a48a8 + https://github.com/pydantic/pydantic/commit/70d3c3e00f960191b4cc488ddb252f723fce8020 --- pydantic/_internal/_core_utils.py.orig 2020-02-02 00:00:00 UTC +++ pydantic/_internal/_core_utils.py @@ -119,7 +120,7 @@ Obtained from: https://github.com/pydantic/pydantic/commit/2575e71894a32dc615f9f 'typing-extensions>=4.6.1', 'annotated-types>=0.4.0', - "pydantic-core==2.6.3", -+ "pydantic-core==2.7.0", ++ "pydantic-core==2.8.0", ] dynamic = ['version', 'readme']