git: e869a359b8b0 - main - sysutils/s-tui: Convert to USE_PYTHON=pep517

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

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

commit e869a359b8b044befa9952a4fa0f2bc8a0580948
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:19:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:48 +0000

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

diff --git a/sysutils/s-tui/Makefile b/sysutils/s-tui/Makefile
index a5eea4b68e6f..67fe5838d299 100644
--- a/sysutils/s-tui/Makefile
+++ b/sysutils/s-tui/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	s-tui
 PORTVERSION=	1.1.6
+PORTREVISION=	1
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
 
@@ -10,11 +11,13 @@ WWW=		https://github.com/amanusk/s-tui
 LICENSE=	GPLv2
 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}psutil>=5.9.1:sysutils/py-psutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}urwid>=2.0.1:devel/py-urwid@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils noflavors
+USE_PYTHON=	autoplist noflavors pep517
 
 NO_ARCH=	yes