git: 2b468929c739 - main - www/py-wagtail-2fa: Convert to USE_PYTHON=pep517

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

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

commit 2b468929c739cfdb7911a248e524297da19efc2d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:14:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:14:10 +0000

    www/py-wagtail-2fa: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 www/py-wagtail-2fa/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/www/py-wagtail-2fa/Makefile b/www/py-wagtail-2fa/Makefile
index 539fb901c591..2ef08100d1f1 100644
--- a/www/py-wagtail-2fa/Makefile
+++ b/www/py-wagtail-2fa/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wagtail-2fa
 PORTVERSION=	1.6.9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,8 @@ WWW=		https://github.com/labd/wagtail-2fa
 LICENSE=	MIT
 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}dj42-django-otp>=0.8.1:www/py-dj42-django-otp@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}qrcode>=6.1:textproc/py-qrcode@${PY_FLAVOR} \
@@ -19,7 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj42-django-otp>=0.8.1:www/py-dj42-django-ot
 		${PYTHON_PKGNAMEPREFIX}wagtail>=4.1:www/py-wagtail@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes