git: fe77966876da - main - devel/py-pydantic-extra-types: Update to 2.6.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:13:10 UTC
The branch main has been updated by sunpoet:

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

commit fe77966876daa8f813d8ebe2354be9ebc94cda57
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:48:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:06:03 +0000

    devel/py-pydantic-extra-types: Update to 2.6.0
    
    Changes:        https://github.com/pydantic/pydantic-extra-types/releases
---
 devel/py-pydantic-extra-types/Makefile                   |  9 +++++----
 devel/py-pydantic-extra-types/distinfo                   |  6 +++---
 devel/py-pydantic-extra-types/files/patch-pyproject.toml | 12 ++++++------
 3 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/devel/py-pydantic-extra-types/Makefile b/devel/py-pydantic-extra-types/Makefile
index e9c9d8bb0c5e..0f3be5c5b00d 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.4.1
+PORTVERSION=	2.6.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,8 +25,9 @@ OPTIONS_DEFINE=	ALL
 OPTIONS_DEFAULT=ALL
 ALL_DESC=	Country codes and phone number support
 
-ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}phonenumbers>=8<9:devel/py-phonenumbers@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}pycountry>=23<24:textproc/py-pycountry@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}python-ulid>=1:textproc/py-python-ulid@${PY_FLAVOR}
+ALL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pendulum>=2.0.0<4.0.0:devel/py-pendulum@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}phonenumbers>=8<9:devel/py-phonenumbers@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}pycountry>=23:textproc/py-pycountry@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}python-ulid>=1<3: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 d43ad9546f72..33d95e618816 100644
--- a/devel/py-pydantic-extra-types/distinfo
+++ b/devel/py-pydantic-extra-types/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449308
-SHA256 (pydantic_extra_types-2.4.1.tar.gz) = 63314096ca57bc1575d988d1a770d73af76aaebe684140f24333b60af4134a2c
-SIZE (pydantic_extra_types-2.4.1.tar.gz) = 26317
+TIMESTAMP = 1709390638
+SHA256 (pydantic_extra_types-2.6.0.tar.gz) = e9a93cfb245158462acb76621785219f80ad112303a0a7784d2ada65e6ed6cba
+SIZE (pydantic_extra_types-2.6.0.tar.gz) = 31424
diff --git a/devel/py-pydantic-extra-types/files/patch-pyproject.toml b/devel/py-pydantic-extra-types/files/patch-pyproject.toml
index 8898dabb8f7f..6ee7018cc6b2 100644
--- a/devel/py-pydantic-extra-types/files/patch-pyproject.toml
+++ b/devel/py-pydantic-extra-types/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
 --- pyproject.toml.orig	2020-02-02 00:00:00 UTC
 +++ pyproject.toml
-@@ -47,7 +47,7 @@ all = [
- all = [
-     'phonenumbers>=8,<9',
-     'pycountry>=23,<24',
--    'python-ulid>=1,<2',
-+    'python-ulid>=1',
+@@ -49,7 +49,7 @@ all = [
+     'pycountry>=23',
+     'python-ulid>=1,<2; python_version<"3.9"',
+     'python-ulid>=1,<3; python_version>="3.9"',
+-    'pendulum>=3.0.0,<4.0.0'
++    'pendulum>=2.0.0,<4.0.0'
  ]
  
  [project.urls]