git: affc963dfc3d - main - security/py-pyotp: Convert to USE_PYTHON=pep517

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

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

commit affc963dfc3d37fff9734846e134a6ad3da238d1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:07:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:07:58 +0000

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

diff --git a/security/py-pyotp/Makefile b/security/py-pyotp/Makefile
index 283b85b7e521..d5f8daf3b7e0 100644
--- a/security/py-pyotp/Makefile
+++ b/security/py-pyotp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyotp
 PORTVERSION=	2.9.0
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://pyauth.github.io/pyotp/ \
 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}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes