git: 6873459f084e - main - devel/py-tooz: Update to 6.0.0

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

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

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

    devel/py-tooz: Update to 6.0.0
    
    - Add CONSUL, POSTGRESQL and REDIS options
    
    Changes:        https://docs.openstack.org/tooz/latest/user/history.html
---
 devel/py-tooz/Makefile | 11 ++++++++++-
 devel/py-tooz/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/devel/py-tooz/Makefile b/devel/py-tooz/Makefile
index 6afdcb74932c..e71bc3dcefa4 100644
--- a/devel/py-tooz/Makefile
+++ b/devel/py-tooz/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tooz
-PORTVERSION=	5.0.0
+PORTVERSION=	6.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -28,4 +28,13 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	CONSUL POSTGRESQL REDIS
+CONSUL_DESC=	Consul.io support
+POSTGRESQL_DESC=PostgreSQL database support
+REDIS_DESC=	Redis support
+
+CONSUL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-consul2>=0.0.16:sysutils/py-python-consul2@${PY_FLAVOR}
+POSTGRESQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg2>=2.5:databases/py-psycopg2@${PY_FLAVOR}
+REDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}redis>=4.0.0:databases/py-redis@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/devel/py-tooz/distinfo b/devel/py-tooz/distinfo
index 9913302b0c46..99557e7da491 100644
--- a/devel/py-tooz/distinfo
+++ b/devel/py-tooz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449356
-SHA256 (tooz-5.0.0.tar.gz) = 5aeb4febc17ba7971a4fbd11ec733fd86b212b8a1016b7315503faa05afd921b
-SIZE (tooz-5.0.0.tar.gz) = 97926
+TIMESTAMP = 1709390668
+SHA256 (tooz-6.0.0.tar.gz) = ce0e1ee84e07906f7728cc5dd92496dbf04d45bf7f451d1a4a925f644d05d44f
+SIZE (tooz-6.0.0.tar.gz) = 99622