git: 6c44bd407c9d - main - textproc/py-python-ulid: Update to 2.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:41:02 UTC
The branch main has been updated by sunpoet:

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

commit 6c44bd407c9de5afd5068629e7134f6c1a6710d2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:07:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:07:50 +0000

    textproc/py-python-ulid: Update to 2.3.0
    
    - Add PYDANTIC option
    
    Changes:        https://github.com/mdomke/python-ulid/releases
                    https://github.com/mdomke/python-ulid/blob/main/CHANGELOG.rst
                    https://python-ulid.readthedocs.io/en/latest/changelog.html
---
 textproc/py-python-ulid/Makefile | 7 ++++++-
 textproc/py-python-ulid/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/textproc/py-python-ulid/Makefile b/textproc/py-python-ulid/Makefile
index a0a699631909..5cf3a819316c 100644
--- a/textproc/py-python-ulid/Makefile
+++ b/textproc/py-python-ulid/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	python-ulid
-PORTVERSION=	2.2.0
+PORTVERSION=	2.3.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,4 +22,9 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	PYDANTIC
+PYDANTIC_DESC=	Pydantic support
+
+PYDANTIC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0:devel/py-pydantic2@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/textproc/py-python-ulid/distinfo b/textproc/py-python-ulid/distinfo
index 72356901abb3..84cc3f4651f2 100644
--- a/textproc/py-python-ulid/distinfo
+++ b/textproc/py-python-ulid/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702543604
-SHA256 (python_ulid-2.2.0.tar.gz) = 9ec777177d396880d94be49ac7eb4ae2cd4a7474448bfdbfe911537add970aeb
-SIZE (python_ulid-2.2.0.tar.gz) = 21595
+TIMESTAMP = 1711466226
+SHA256 (python_ulid-2.3.0.tar.gz) = 28108e5edf56ee981dd75ea12ae7279a8a23bf01514144dda7a64c38143204a5
+SIZE (python_ulid-2.3.0.tar.gz) = 23816