Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:00:13 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 50f13af7156c - main - databases/py-redis: Update to 5.0.3
Message-ID:  <202403231500.42NF0Dtv096412@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit 50f13af7156c29d59e4ab3bedba868a2413d808b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:08 +0000

    databases/py-redis: Update to 5.0.3
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/redis/redis-py/releases
---
 databases/py-redis/Makefile | 16 ++++++++++++----
 databases/py-redis/distinfo |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403231500.42NF0Dtv096412>