git: e0ef8fad1508 - main - devel/py-pydantic-core: Update to 2.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 16 Aug 2023 18:32:26 UTC
The branch main has been updated by sunpoet:

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

commit e0ef8fad15086a5eeb12e6cf25b7584423e03a3a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-08-16 18:12:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-08-16 18:25:32 +0000

    devel/py-pydantic-core: Update to 2.4.0
    
    Changes:        https://github.com/pydantic/pydantic-core/releases
---
 devel/py-pydantic-core/Makefile                   |  4 ++--
 devel/py-pydantic-core/Makefile.crates            | 11 ++++-----
 devel/py-pydantic-core/distinfo                   | 28 +++++++++++------------
 devel/py-pydantic-core/files/patch-pyproject.toml | 10 --------
 4 files changed, 20 insertions(+), 33 deletions(-)

diff --git a/devel/py-pydantic-core/Makefile b/devel/py-pydantic-core/Makefile
index 2cf5b56f1013..96fb064d63d1 100644
--- a/devel/py-pydantic-core/Makefile
+++ b/devel/py-pydantic-core/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pydantic-core
-PORTVERSION=	2.3.0
+PORTVERSION=	2.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +12,7 @@ WWW=		https://github.com/pydantic/pydantic-core
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}maturin>=0.13:devel/py-maturin@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}maturin>=1<2:devel/py-maturin@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
 
diff --git a/devel/py-pydantic-core/Makefile.crates b/devel/py-pydantic-core/Makefile.crates
index da44201c6033..7c7af82c4873 100644
--- a/devel/py-pydantic-core/Makefile.crates
+++ b/devel/py-pydantic-core/Makefile.crates
@@ -1,7 +1,7 @@
 CARGO_CRATES=	ahash-0.8.3 \
 		aho-corasick-1.0.2 \
 		autocfg-1.1.0 \
-		base64-0.13.1 \
+		base64-0.21.2 \
 		bitflags-1.3.2 \
 		cc-1.0.79 \
 		cfg-if-1.0.0 \
@@ -11,7 +11,6 @@ CARGO_CRATES=	ahash-0.8.3 \
 		getrandom-0.2.10 \
 		hashbrown-0.14.0 \
 		heck-0.4.1 \
-		idna-0.3.0 \
 		idna-0.4.0 \
 		indexmap-2.0.0 \
 		indoc-1.0.9 \
@@ -44,13 +43,12 @@ CARGO_CRATES=	ahash-0.8.3 \
 		rustversion-1.0.13 \
 		ryu-1.0.14 \
 		scopeguard-1.1.0 \
-		serde-1.0.171 \
-		serde_derive-1.0.171 \
-		serde_json-1.0.100 \
+		serde-1.0.175 \
+		serde_derive-1.0.175 \
+		serde_json-1.0.103 \
 		smallvec-1.11.0 \
 		speedate-0.11.0 \
 		strum-0.25.0 \
-		strum_macros-0.24.3 \
 		strum_macros-0.25.1 \
 		syn-1.0.109 \
 		syn-2.0.25 \
@@ -62,6 +60,7 @@ CARGO_CRATES=	ahash-0.8.3 \
 		unicode-normalization-0.1.22 \
 		unindent-0.1.11 \
 		url-2.4.0 \
+		uuid-1.4.1 \
 		version_check-0.9.4 \
 		wasi-0.11.0+wasi-snapshot-preview1 \
 		windows-targets-0.48.1 \
diff --git a/devel/py-pydantic-core/distinfo b/devel/py-pydantic-core/distinfo
index d4b31e9ad6ff..efa8427eb0e9 100644
--- a/devel/py-pydantic-core/distinfo
+++ b/devel/py-pydantic-core/distinfo
@@ -1,14 +1,14 @@
-TIMESTAMP = 1689398883
-SHA256 (pydantic_core-2.3.0.tar.gz) = 5cfb5ac4e82c47d5dc25b209dd4c3989e284b80109f9e08b33c895080c424b4f
-SIZE (pydantic_core-2.3.0.tar.gz) = 308473
+TIMESTAMP = 1691070096
+SHA256 (pydantic_core-2.4.0.tar.gz) = ec3473c9789cc00c7260d840c3db2c16dbfc816ca70ec87a00cddfa3e1a1cdd5
+SIZE (pydantic_core-2.4.0.tar.gz) = 322367
 SHA256 (rust/crates/ahash-0.8.3.crate) = 2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f
 SIZE (rust/crates/ahash-0.8.3.crate) = 42416
 SHA256 (rust/crates/aho-corasick-1.0.2.crate) = 43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41
 SIZE (rust/crates/aho-corasick-1.0.2.crate) = 167694
 SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
 SIZE (rust/crates/autocfg-1.1.0.crate) = 13272
-SHA256 (rust/crates/base64-0.13.1.crate) = 9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8
-SIZE (rust/crates/base64-0.13.1.crate) = 61002
+SHA256 (rust/crates/base64-0.21.2.crate) = 604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d
+SIZE (rust/crates/base64-0.21.2.crate) = 76389
 SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a
 SIZE (rust/crates/bitflags-1.3.2.crate) = 23021
 SHA256 (rust/crates/cc-1.0.79.crate) = 50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f
@@ -27,8 +27,6 @@ SHA256 (rust/crates/hashbrown-0.14.0.crate) = 2c6201b9ff9fd90a5a3bac2e56a830d0ca
 SIZE (rust/crates/hashbrown-0.14.0.crate) = 116103
 SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8
 SIZE (rust/crates/heck-0.4.1.crate) = 11567
-SHA256 (rust/crates/idna-0.3.0.crate) = e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6
-SIZE (rust/crates/idna-0.3.0.crate) = 271128
 SHA256 (rust/crates/idna-0.4.0.crate) = 7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c
 SIZE (rust/crates/idna-0.4.0.crate) = 271429
 SHA256 (rust/crates/indexmap-2.0.0.crate) = d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d
@@ -93,20 +91,18 @@ SHA256 (rust/crates/ryu-1.0.14.crate) = fe232bdf6be8c8de797b22184ee71118d63780ea
 SIZE (rust/crates/ryu-1.0.14.crate) = 46861
 SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd
 SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470
-SHA256 (rust/crates/serde-1.0.171.crate) = 30e27d1e4fd7659406c492fd6cfaf2066ba8773de45ca75e855590f856dc34a9
-SIZE (rust/crates/serde-1.0.171.crate) = 77630
-SHA256 (rust/crates/serde_derive-1.0.171.crate) = 389894603bd18c46fa56231694f8d827779c0951a667087194cf9de94ed24682
-SIZE (rust/crates/serde_derive-1.0.171.crate) = 55183
-SHA256 (rust/crates/serde_json-1.0.100.crate) = 0f1e14e89be7aa4c4b78bdbdc9eb5bf8517829a600ae8eaa39a6e1d960b5185c
-SIZE (rust/crates/serde_json-1.0.100.crate) = 145170
+SHA256 (rust/crates/serde-1.0.175.crate) = 5d25439cd7397d044e2748a6fe2432b5e85db703d6d097bd014b3c0ad1ebff0b
+SIZE (rust/crates/serde-1.0.175.crate) = 77599
+SHA256 (rust/crates/serde_derive-1.0.175.crate) = b23f7ade6f110613c0d63858ddb8b94c1041f550eab58a16b371bdf2c9c80ab4
+SIZE (rust/crates/serde_derive-1.0.175.crate) = 379830
+SHA256 (rust/crates/serde_json-1.0.103.crate) = d03b412469450d4404fe8499a268edd7f8b79fecb074b0d812ad64ca21f4031b
+SIZE (rust/crates/serde_json-1.0.103.crate) = 146095
 SHA256 (rust/crates/smallvec-1.11.0.crate) = 62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9
 SIZE (rust/crates/smallvec-1.11.0.crate) = 34680
 SHA256 (rust/crates/speedate-0.11.0.crate) = e54e4ea42510cf6cb46223f6974670faf58ef49e82040e924a295aa3f0c8eaa2
 SIZE (rust/crates/speedate-0.11.0.crate) = 30352
 SHA256 (rust/crates/strum-0.25.0.crate) = 290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125
 SIZE (rust/crates/strum-0.25.0.crate) = 5539
-SHA256 (rust/crates/strum_macros-0.24.3.crate) = 1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59
-SIZE (rust/crates/strum_macros-0.24.3.crate) = 20696
 SHA256 (rust/crates/strum_macros-0.25.1.crate) = 6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232
 SIZE (rust/crates/strum_macros-0.25.1.crate) = 21700
 SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237
@@ -129,6 +125,8 @@ SHA256 (rust/crates/unindent-0.1.11.crate) = e1766d682d402817b5ac4490b3c3002d91d
 SIZE (rust/crates/unindent-0.1.11.crate) = 7700
 SHA256 (rust/crates/url-2.4.0.crate) = 50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb
 SIZE (rust/crates/url-2.4.0.crate) = 75670
+SHA256 (rust/crates/uuid-1.4.1.crate) = 79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d
+SIZE (rust/crates/uuid-1.4.1.crate) = 55291
 SHA256 (rust/crates/version_check-0.9.4.crate) = 49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f
 SIZE (rust/crates/version_check-0.9.4.crate) = 14895
 SHA256 (rust/crates/wasi-0.11.0+wasi-snapshot-preview1.crate) = 9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423
diff --git a/devel/py-pydantic-core/files/patch-pyproject.toml b/devel/py-pydantic-core/files/patch-pyproject.toml
deleted file mode 100644
index 094f3778bce6..000000000000
--- a/devel/py-pydantic-core/files/patch-pyproject.toml
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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,!=4.7.0'
- ]
- build-backend = 'maturin'