Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Nov 2023 02:16:29 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: 437b75db2379 - main - devel/py-pydantic2: Allow build with py-pydantic-core 2.11.0
Message-ID:  <202311010216.3A12GTTt069140@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=437b75db2379a58b1863c38f1870b88c6fc04367

commit 437b75db2379a58b1863c38f1870b88c6fc04367
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 01:49:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 02:08:23 +0000

    devel/py-pydantic2: Allow build with py-pydantic-core 2.11.0
    
    - Bump PORTREVISION for package change
    
    Obtained from:  https://github.com/pydantic/pydantic/commit/0660024d616c7559e194847b5e79eee688db9dd8
---
 devel/py-pydantic2/Makefile                   |  3 ++-
 devel/py-pydantic2/files/patch-pyproject.toml | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/devel/py-pydantic2/Makefile b/devel/py-pydantic2/Makefile
index 6494e77a9ebe..e5a9b59f1b2f 100644
--- a/devel/py-pydantic2/Makefile
+++ b/devel/py-pydantic2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pydantic
 PORTVERSION=	2.4.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.10.1<2.10.1_99:devel/py-pydantic-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pydantic-core>=2.11.0<2.11.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-pyproject.toml b/devel/py-pydantic2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..12d6cb25cc47
--- /dev/null
+++ b/devel/py-pydantic2/files/patch-pyproject.toml
@@ -0,0 +1,13 @@
+Obtained from:	https://github.com/pydantic/pydantic/commit/0660024d616c7559e194847b5e79eee688db9dd8
+
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -61,7 +61,7 @@ requires-python = '>=3.7'
+ dependencies = [
+     'typing-extensions>=4.6.1',
+     'annotated-types>=0.4.0',
+-    "pydantic-core==2.10.1",
++    "pydantic-core==2.11.0",
+ ]
+ dynamic = ['version', 'readme']
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202311010216.3A12GTTt069140>