git: dce93d7de345 - main - databases/py-redis: Update to 5.0.2

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

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

commit dce93d7de345d8c37358e218ceee0e91abf88e8b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:47:33 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:42 +0000

    databases/py-redis: Update to 5.0.2
    
    Changes:        https://github.com/redis/redis-py/releases
---
 databases/py-redis/Makefile | 11 +++--------
 databases/py-redis/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index a2fb06168d2b..54ee318ce69c 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	redis
-PORTVERSION=	5.0.1
+PORTVERSION=	5.0.2
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +11,7 @@ WWW=		https://github.com/redis/redis-py
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.3:devel/py-async_timeout@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
 		redis-server:databases/redis
 
@@ -26,10 +27,4 @@ HIREDIS_DESC=	High performance response parser
 
 HIREDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hiredis>=1.0.0:databases/py-hiredis@${PY_FLAVOR}
 
-.include <bsd.port.pre.mk>
-
-.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>
+.include <bsd.port.mk>
diff --git a/databases/py-redis/distinfo b/databases/py-redis/distinfo
index 0038205804b2..8cbff1735457 100644
--- a/databases/py-redis/distinfo
+++ b/databases/py-redis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696001336
-SHA256 (redis-5.0.1.tar.gz) = 0dab495cd5753069d3bc650a0dde8a8f9edde16fc5691b689a566eda58100d0f
-SIZE (redis-5.0.1.tar.gz) = 4578353
+TIMESTAMP = 1709390504
+SHA256 (redis-5.0.2.tar.gz) = 3f82cc80d350e93042c8e6e7a5d0596e4dd68715babffba79492733e1f367037
+SIZE (redis-5.0.2.tar.gz) = 4580961