git: 95c894bae6c8 - main - devel/py-pydantic-extra-types: Update to 2.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 20:54:38 UTC
The branch main has been updated by sunpoet:

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

commit 95c894bae6c8a9910fea8a45b8f5825aa0290cff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 20:45:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 20:45:20 +0000

    devel/py-pydantic-extra-types: Update to 2.2.0
    
    - Update WWW
    
    Changes:        https://github.com/pydantic/pydantic-extra-types/releases
                    https://docs.pydantic.dev/latest/changelog/
---
 devel/py-pydantic-extra-types/Makefile                   |  5 +++--
 devel/py-pydantic-extra-types/distinfo                   |  6 +++---
 devel/py-pydantic-extra-types/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/devel/py-pydantic-extra-types/Makefile b/devel/py-pydantic-extra-types/Makefile
index dc6aac66e39b..5fbd4f706cf6 100644
--- a/devel/py-pydantic-extra-types/Makefile
+++ b/devel/py-pydantic-extra-types/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pydantic-extra-types
-PORTVERSION=	2.1.0
+PORTVERSION=	2.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -7,7 +7,7 @@ DISTNAME=	pydantic_extra_types-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Extra Pydantic types
-WWW=		https://docs.pydantic.dev/dev-v2/usage/types/types/ \
+WWW=		https://docs.pydantic.dev/latest/concepts/types/ \
 		https://github.com/pydantic/pydantic-extra-types
 
 LICENSE=	MIT
@@ -27,5 +27,6 @@ ALL_DESC=	Country codes and phone number support
 
 ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}phonenumbers>=8<9:devel/py-phonenumbers@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}pycountry>=22<23:textproc/py-pycountry@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}python-ulid>=1:textproc/py-python-ulid@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/devel/py-pydantic-extra-types/distinfo b/devel/py-pydantic-extra-types/distinfo
index 7947178b7e3e..c6d037b48106 100644
--- a/devel/py-pydantic-extra-types/distinfo
+++ b/devel/py-pydantic-extra-types/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693056825
-SHA256 (pydantic_extra_types-2.1.0.tar.gz) = d07b869e733d33712b07d6b8cd7b0223077c23ae5a1e23bd0699a00401259ec7
-SIZE (pydantic_extra_types-2.1.0.tar.gz) = 27894
+TIMESTAMP = 1702543672
+SHA256 (pydantic_extra_types-2.2.0.tar.gz) = 7f2fdd5251729745983cf8cdc5e431ffee2362f283fff54f68122625cef82c11
+SIZE (pydantic_extra_types-2.2.0.tar.gz) = 24517
diff --git a/devel/py-pydantic-extra-types/files/patch-pyproject.toml b/devel/py-pydantic-extra-types/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c7fd6451afcd
--- /dev/null
+++ b/devel/py-pydantic-extra-types/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
++++ pyproject.toml
+@@ -47,7 +47,7 @@ dynamic = ['version']
+ all = [
+     'phonenumbers>=8,<9',
+     'pycountry>=22,<23',
+-    'python-ulid>=1,<2',
++    'python-ulid>=1',
+ ]
+ 
+ [project.urls]