git: ca3e9be1b4d4 - main - devel/py-pydantic2: Allow build with py-pydantic-core 2.14.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 09:09:26 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca3e9be1b4d401b6b7387e2b33433a49a4c9beb5 commit ca3e9be1b4d401b6b7387e2b33433a49a4c9beb5 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-25 09:00:23 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-25 09:00:23 +0000 devel/py-pydantic2: Allow build with py-pydantic-core 2.14.6 - Bump PORTREVISION for package change --- devel/py-pydantic2/Makefile | 3 ++- devel/py-pydantic2/files/patch-pyproject.toml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/devel/py-pydantic2/Makefile b/devel/py-pydantic2/Makefile index f0aaaa5a1b30..d5e002065502 100644 --- a/devel/py-pydantic2/Makefile +++ b/devel/py-pydantic2/Makefile @@ -1,5 +1,6 @@ PORTNAME= pydantic PORTVERSION= 2.5.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,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.14.5<2.14.5_99:devel/py-pydantic-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.14.5<2.14.6_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-pyproject.toml b/devel/py-pydantic2/files/patch-pyproject.toml new file mode 100644 index 000000000000..9abf3963f70b --- /dev/null +++ b/devel/py-pydantic2/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2020-02-02 00:00:00 UTC ++++ pyproject.toml +@@ -66,7 +66,7 @@ requires-python = '>=3.7' + dependencies = [ + 'typing-extensions>=4.6.1', + 'annotated-types>=0.4.0', +- "pydantic-core==2.14.5", ++ "pydantic-core>=2.14.5, <=2.14.6", + "importlib_metadata; python_version=='3.7'", + ] + dynamic = ['version', 'readme']