git: f02a346991bc - main - databases/py-redis3: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:00:15 UTC
The branch main has been updated by sunpoet:

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

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

    databases/py-redis3: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 databases/py-redis3/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/databases/py-redis3/Makefile b/databases/py-redis3/Makefile
index 68d93c76e58e..39c5a361c510 100644
--- a/databases/py-redis3/Makefile
+++ b/databases/py-redis3/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	redis
 PORTVERSION=	3.5.3
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +13,13 @@ WWW=		https://github.com/redis/redis-py
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+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