Date: Thu, 15 Aug 2024 11:55:21 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4a7cd07e547f - main - devel/py-pydantic2: Allow build with py-pydantic-core 2.21.0 Message-ID: <202408151155.47FBtLCY058551@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4a7cd07e547f15a9e1ef1418d5c5fe1f779ca634 commit 4a7cd07e547f15a9e1ef1418d5c5fe1f779ca634 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-15 09:45:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-15 10:55:38 +0000 devel/py-pydantic2: Allow build with py-pydantic-core 2.21.0 - Bump PORTREVISION for package change Reference: https://github.com/pydantic/pydantic/commit/05de07df29a788e861d7391a8d114124a52979e2 --- 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 e6a74ee2031f..81eaccb36e72 100644 --- a/devel/py-pydantic2/Makefile +++ b/devel/py-pydantic2/Makefile @@ -4,6 +4,7 @@ CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 2 +PORTREVISION= 1 MAINTAINER= sunpoet@FreeBSD.org COMMENT= Data validation using Python type hints @@ -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.20.1<2.20.1_99:devel/py-pydantic-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.21.0<2.21.0_99:devel/py-pydantic-core@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.12.2: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..5a7be4c546dc --- /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 +@@ -50,7 +50,7 @@ dependencies = [ + 'typing-extensions>=4.6.1; python_version < "3.13"', + 'typing-extensions>=4.12.2; python_version >= "3.13"', + 'annotated-types>=0.4.0', +- "pydantic-core==2.20.1", ++ "pydantic-core==2.21.0", + ] + dynamic = ['version', 'readme'] +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408151155.47FBtLCY058551>