aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 20:40:06 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-09 20:40:06 +0000
commita7a4b258b6166de2b8c86a94cda1856b048bf9b6 (patch)
treeb769c946a19be968c766979fdb3d32d8b7c9a408
parentf104ac61030613eff4295045a39c1bd939010f87 (diff)
downloadports-a7a4b258b6166de2b8c86a94cda1856b048bf9b6.tar.gz
ports-a7a4b258b6166de2b8c86a94cda1856b048bf9b6.zip
databases/py-redis: Update to 4.5.4
- Update WWW - Update CONFLICTS_INSTALL Changes: https://github.com/redis/redis-py/releases
-rw-r--r--databases/py-redis/Makefile18
-rw-r--r--databases/py-redis/distinfo6
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