aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:20:50 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:31:08 +0000
commit50f13af7156c29d59e4ab3bedba868a2413d808b (patch)
tree6177f9bb6af76e656f2e115d369f3cc1c0a861ba
parent766b70e4a2388d26d32c22fd5e91d2320498f65e (diff)
downloadports-50f13af7156c29d59e4ab3bedba868a2413d808b.tar.gz
ports-50f13af7156c29d59e4ab3bedba868a2413d808b.zip
databases/py-redis: Update to 5.0.3
- Convert to USE_PYTHON=pep517 Changes: https://github.com/redis/redis-py/releases
-rw-r--r--databases/py-redis/Makefile16
-rw-r--r--databases/py-redis/distinfo6
2 files changed, 15 insertions, 7 deletions
diff --git a/databases/py-redis/Makefile b/databases/py-redis/Makefile
index 54ee318ce69c..8b353e8c62eb 100644
--- a/databases/py-redis/Makefile
+++ b/databases/py-redis/Makefile
@@ -1,5 +1,6 @@
PORTNAME= redis
-PORTVERSION= 5.0.2
+PORTVERSION= 5.0.3
+PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,13 @@ 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}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
redis-server:databases/redis
USES= python
-USE_PYTHON= autoplist concurrent distutils pytest
+USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
@@ -27,4 +29,10 @@ HIREDIS_DESC= High performance response parser
HIREDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hiredis>=1.0.0:databases/py-hiredis@${PY_FLAVOR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31103
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}async_timeout>=4.0.3: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 8cbff1735457..4bc2c2c7de4b 100644
--- a/databases/py-redis/distinfo
+++ b/databases/py-redis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709390504
-SHA256 (redis-5.0.2.tar.gz) = 3f82cc80d350e93042c8e6e7a5d0596e4dd68715babffba79492733e1f367037
-SIZE (redis-5.0.2.tar.gz) = 4580961
+TIMESTAMP = 1710712398
+SHA256 (redis-5.0.3.tar.gz) = 4973bae7444c0fbed64a06b87446f79361cb7e4ec1538c022d696ed7a5015580
+SIZE (redis-5.0.3.tar.gz) = 4580976