git: 4cb9596f47dd - main - misc/py-pexpect: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/misc/py-pexpect/Makefile b/misc/py-pexpect/Makefile
index 39406adce4ec..49d486732b01 100644
--- a/misc/py-pexpect/Makefile
+++ b/misc/py-pexpect/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pexpect
 PORTVERSION=	4.9.0
+PORTREVISION=	1
 CATEGORIES=	misc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW=		https://pexpect.readthedocs.io/en/stable/ \
 LICENSE=	ISCL
 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}ptyprocess>=0.5:sysutils/py-ptyprocess@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes