git: a7a4b258b616 - main - databases/py-redis: Update to 4.5.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Apr 2023 20:42:37 UTC
The branch main has been updated by sunpoet:

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

commit a7a4b258b6166de2b8c86a94cda1856b048bf9b6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 20:40:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 20:40:06 +0000

    databases/py-redis: Update to 4.5.4
    
    - Update WWW
    - Update CONFLICTS_INSTALL
    
    Changes:        https://github.com/redis/redis-py/releases
---
 databases/py-redis/Makefile | 18 +++++++++++-------
 databases/py-redis/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index b6ec3ff59a97..d8d397341fac 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -1,13 +1,12 @@
 PORTNAME=	redis
-PORTVERSION=	3.5.3
-PORTREVISION=	1
+PORTVERSION=	4.5.4
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python client for Redis key-value store
-WWW=		https://github.com/andymccurdy/redis-py
+WWW=		https://github.com/redis/redis-py
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -15,22 +14,27 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		redis-server:databases/redis
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist concurrent distutils pytest
 
 NO_ARCH=	yes
 
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}redis2
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}redis[0-9]
 
 OPTIONS_DEFINE=	HIREDIS
 HIREDIS_DESC=	High performance response parser
 
-HIREDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=0.1.3:databases/py-hiredis@${PY_FLAVOR}
+HIREDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=1.0.0:databases/py-hiredis@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 30800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.0:devel/py-importlib-metadata@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.0:devel/py-importlib-metadata@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+.endif
+
+.if ${PYTHON_REL} <= 31102
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.2:devel/py-async_timeout@${PY_FLAVOR}
 .endif
 
 .include <bsd.port.post.mk>
diff --git a/databases/py-redis/distinfo b/databases/py-redis/distinfo
index 71e7e1348570..75cfc78b2b4b 100644
--- a/databases/py-redis/distinfo
+++ b/databases/py-redis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1647264502
-SHA256 (redis-3.5.3.tar.gz) = 0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
-SIZE (redis-3.5.3.tar.gz) = 141112
+TIMESTAMP = 1680363000
+SHA256 (redis-4.5.4.tar.gz) = 73ec35da4da267d6847e47f68730fdd5f62e2ca69e3ef5885c6a78a9374c3893
+SIZE (redis-4.5.4.tar.gz) = 4552103