git: 4a9fd9458e13 - main - textproc/py-htmlmin2: Convert to USE_PYTHON=pep517

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

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

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

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

diff --git a/textproc/py-htmlmin2/Makefile b/textproc/py-htmlmin2/Makefile
index 809dbd1bdaef..c3b85a145c1a 100644
--- a/textproc/py-htmlmin2/Makefile
+++ b/textproc/py-htmlmin2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	htmlmin2
 PORTVERSION=	0.1.13
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://htmlmin.readthedocs.io/en/latest/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+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
 
 NO_ARCH=	yes