git: 66e96f4ee57e - main - devel/py-pytest-nunit: Convert to USE_PYTHON=pep517

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

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

commit 66e96f4ee57e3b978903a36af93ff8dcb9a126dc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:48 +0000

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

diff --git a/devel/py-pytest-nunit/Makefile b/devel/py-pytest-nunit/Makefile
index 43960d7f91a3..68f750fbfb8b 100644
--- a/devel/py-pytest-nunit/Makefile
+++ b/devel/py-pytest-nunit/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pytest-nunit
 PORTVERSION=	1.0.7
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://github.com/pytest-dev/pytest-nunit
 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}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=4.6.0,1:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes