git: 4e29ab330134 - main - math/py-ndindex: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:21:14 UTC
The branch main has been updated by sunpoet:

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

commit 4e29ab33013489b08e4c5dae77b3899c6a276171
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:03:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:03:08 +0000

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

diff --git a/math/py-ndindex/Makefile b/math/py-ndindex/Makefile
index fa579e3a3f69..a7fa7b21bc4c 100644
--- a/math/py-ndindex/Makefile
+++ b/math/py-ndindex/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ndindex
 PORTVERSION=	1.8
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	PYPI \
 		https://github.com/Quansight-Labs/ndindex/releases/download/${PORTVERSION}/
@@ -13,8 +14,11 @@ WWW=		https://quansight-labs.github.io/ndindex/ \
 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}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes