git: b01f7ddb341b - main - news/py-sabctools: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:36:28 UTC
The branch main has been updated by sunpoet:

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

commit b01f7ddb341bbec3a52e7e2caca074d192387e28
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:19:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:19:55 +0000

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

diff --git a/news/py-sabctools/Makefile b/news/py-sabctools/Makefile
index f821a27143f2..956a30142719 100644
--- a/news/py-sabctools/Makefile
+++ b/news/py-sabctools/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sabctools
 PORTVERSION=	7.1.0
+PORTREVISION=	1
 CATEGORIES=	news python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/sabnzbd/sabctools
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+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
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +