git: f6f37b4ec9ed - main - devel/py-oletools: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:28:44 UTC
The branch main has been updated by sunpoet:

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

commit f6f37b4ec9ed143d142aa70b649d583f2c7500d4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:11:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:11:59 +0000

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

diff --git a/devel/py-oletools/Makefile b/devel/py-oletools/Makefile
index dc9b94692fbd..f8c86ed9337a 100644
--- a/devel/py-oletools/Makefile
+++ b/devel/py-oletools/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	oletools
 PORTVERSION=	0.60.2
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +13,8 @@ LICENSE=	BSD2CLAUSE MIT
 LICENSE_COMB=	multi
 LICENSE_FILE=	${WRKSRC}/oletools/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorclass>=0:textproc/py-colorclass@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}easygui>=0:x11-toolkits/py-easygui@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}msoffcrypto-tool>=0:security/py-msoffcrypto-tool@${PY_FLAVOR} \
@@ -19,7 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorclass>=0:textproc/py-colorclass@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}pyparsing2>=2.1.0<3:devel/py-pyparsing2@${PY_FLAVOR}
 
 USES=		dos2unix python zip
-USE_PYTHON=	distutils concurrent autoplist
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes