git: 4127ce355a98 - main - devel/py-pydantic-core: Update to 2.1.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 21:38:56 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4127ce355a981d7ac6c89a4a266d3d876a5bad30

commit 4127ce355a981d7ac6c89a4a266d3d876a5bad30
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 21:24:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 21:34:36 +0000

    devel/py-pydantic-core: Update to 2.1.2
    
    Changes:        https://github.com/pydantic/pydantic-core/releases
---
 devel/py-pydantic-core/Makefile                   |  2 +-
 devel/py-pydantic-core/Makefile.crates            | 12 ++++-----
 devel/py-pydantic-core/distinfo                   | 30 +++++++++++------------
 devel/py-pydantic-core/files/patch-pyproject.toml |  6 ++---
 4 files changed, 25 insertions(+), 25 deletions(-)

diff --git a/devel/py-pydantic-core/Makefile b/devel/py-pydantic-core/Makefile
index 9ac3488dc470..b413ea0ffece 100644
--- a/devel/py-pydantic-core/Makefile
+++ b/devel/py-pydantic-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pydantic-core
-PORTVERSION=	2.0.1
+PORTVERSION=	2.1.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/py-pydantic-core/Makefile.crates b/devel/py-pydantic-core/Makefile.crates
index 06118e347a1f..ce742bbf8f16 100644
--- a/devel/py-pydantic-core/Makefile.crates
+++ b/devel/py-pydantic-core/Makefile.crates
@@ -28,12 +28,12 @@ CARGO_CRATES=	ahash-0.8.3 \
 		parking_lot_core-0.9.7 \
 		percent-encoding-2.2.0 \
 		proc-macro2-1.0.60 \
-		pyo3-0.19.0 \
-		pyo3-build-config-0.19.0 \
-		pyo3-ffi-0.19.0 \
-		pyo3-macros-0.19.0 \
-		pyo3-macros-backend-0.19.0 \
-		python3-dll-a-0.2.6 \
+		pyo3-0.19.1 \
+		pyo3-build-config-0.19.1 \
+		pyo3-ffi-0.19.1 \
+		pyo3-macros-0.19.1 \
+		pyo3-macros-backend-0.19.1 \
+		python3-dll-a-0.2.9 \
 		quote-1.0.28 \
 		redox_syscall-0.2.16 \
 		regex-1.7.3 \
diff --git a/devel/py-pydantic-core/distinfo b/devel/py-pydantic-core/distinfo
index 996de375f361..e02c0b5b2148 100644
--- a/devel/py-pydantic-core/distinfo
+++ b/devel/py-pydantic-core/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1688166254
-SHA256 (pydantic_core-2.0.1.tar.gz) = f9fffcb5507bff84a1312d1616406cad157806f105d78bd184d1e6b3b00e6417
-SIZE (pydantic_core-2.0.1.tar.gz) = 305815
+TIMESTAMP = 1688902147
+SHA256 (pydantic_core-2.1.2.tar.gz) = d2c790f0d928b672484eac4f5696dd0b78f3d6d148a641ea196eb49c0875e30a
+SIZE (pydantic_core-2.1.2.tar.gz) = 305997
 SHA256 (rust/crates/ahash-0.8.3.crate) = 2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f
 SIZE (rust/crates/ahash-0.8.3.crate) = 42416
 SHA256 (rust/crates/aho-corasick-0.7.20.crate) = cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac
@@ -61,18 +61,18 @@ SHA256 (rust/crates/percent-encoding-2.2.0.crate) = 478c572c3d73181ff3c2539045f6
 SIZE (rust/crates/percent-encoding-2.2.0.crate) = 10075
 SHA256 (rust/crates/proc-macro2-1.0.60.crate) = dec2b086b7a862cf4de201096214fa870344cf922b2b30c167badb3af3195406
 SIZE (rust/crates/proc-macro2-1.0.60.crate) = 44160
-SHA256 (rust/crates/pyo3-0.19.0.crate) = cffef52f74ec3b1a1baf295d9b8fcc3070327aefc39a6d00656b13c1d0b8885c
-SIZE (rust/crates/pyo3-0.19.0.crate) = 412659
-SHA256 (rust/crates/pyo3-build-config-0.19.0.crate) = 713eccf888fb05f1a96eb78c0dbc51907fee42b3377272dc902eb38985f418d5
-SIZE (rust/crates/pyo3-build-config-0.19.0.crate) = 29172
-SHA256 (rust/crates/pyo3-ffi-0.19.0.crate) = 5b2ecbdcfb01cbbf56e179ce969a048fd7305a66d4cdf3303e0da09d69afe4c3
-SIZE (rust/crates/pyo3-ffi-0.19.0.crate) = 64481
-SHA256 (rust/crates/pyo3-macros-0.19.0.crate) = b78fdc0899f2ea781c463679b20cb08af9247febc8d052de941951024cd8aea0
-SIZE (rust/crates/pyo3-macros-0.19.0.crate) = 7177
-SHA256 (rust/crates/pyo3-macros-backend-0.19.0.crate) = 60da7b84f1227c3e2fe7593505de274dcf4c8928b4e0a1c23d551a14e4e80a0f
-SIZE (rust/crates/pyo3-macros-backend-0.19.0.crate) = 49921
-SHA256 (rust/crates/python3-dll-a-0.2.6.crate) = a915bd72824962bf190bbd3e8a044cccb695d1409f73ff5493712eda5136c7a8
-SIZE (rust/crates/python3-dll-a-0.2.6.crate) = 56866
+SHA256 (rust/crates/pyo3-0.19.1.crate) = ffb88ae05f306b4bfcde40ac4a51dc0b05936a9207a4b75b798c7729c4258a59
+SIZE (rust/crates/pyo3-0.19.1.crate) = 418297
+SHA256 (rust/crates/pyo3-build-config-0.19.1.crate) = 554db24f0b3c180a9c0b1268f91287ab3f17c162e15b54caaae5a6b3773396b0
+SIZE (rust/crates/pyo3-build-config-0.19.1.crate) = 29205
+SHA256 (rust/crates/pyo3-ffi-0.19.1.crate) = 922ede8759e8600ad4da3195ae41259654b9c55da4f7eec84a0ccc7d067a70a4
+SIZE (rust/crates/pyo3-ffi-0.19.1.crate) = 64837
+SHA256 (rust/crates/pyo3-macros-0.19.1.crate) = 8a5caec6a1dd355964a841fcbeeb1b89fe4146c87295573f94228911af3cc5a2
+SIZE (rust/crates/pyo3-macros-0.19.1.crate) = 7173
+SHA256 (rust/crates/pyo3-macros-backend-0.19.1.crate) = e0b78ccbb160db1556cdb6fd96c50334c5d4ec44dc5e0a968d0a1208fa0efa8b
+SIZE (rust/crates/pyo3-macros-backend-0.19.1.crate) = 49916
+SHA256 (rust/crates/python3-dll-a-0.2.9.crate) = d5f07cd4412be8fa09a721d40007c483981bbe072cd6a21f2e83e04ec8f8343f
+SIZE (rust/crates/python3-dll-a-0.2.9.crate) = 66092
 SHA256 (rust/crates/quote-1.0.28.crate) = 1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488
 SIZE (rust/crates/quote-1.0.28.crate) = 28382
 SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a
diff --git a/devel/py-pydantic-core/files/patch-pyproject.toml b/devel/py-pydantic-core/files/patch-pyproject.toml
index db9b048a3f1f..094f3778bce6 100644
--- a/devel/py-pydantic-core/files/patch-pyproject.toml
+++ b/devel/py-pydantic-core/files/patch-pyproject.toml
@@ -1,10 +1,10 @@
---- pyproject.toml.orig	2023-06-30 10:08:47 UTC
+--- pyproject.toml.orig	2023-07-04 04:14:43 UTC
 +++ pyproject.toml
 @@ -1,6 +1,6 @@
  [build-system]
  requires = [
 -    'maturin>=1,<2',
 +    'maturin>=0.13,<2',
-     'typing-extensions >=4.6.0; platform_python_implementation != "PyPy"',
-     'typing-extensions >=4.6.0,<4.7.0; platform_python_implementation == "PyPy"'
+     'typing-extensions >=4.6.0,!=4.7.0'
  ]
+ build-backend = 'maturin'