git: 235fc383cf47 - main - www/py-priority: Convert to USE_PYTHON=pep517

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

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

commit 235fc383cf4761cac1fc7b8aa0d18a4facae48ab
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:13:19 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:13:19 +0000

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

diff --git a/www/py-priority/Makefile b/www/py-priority/Makefile
index e665f74ad266..c9f1be79267b 100644
--- a/www/py-priority/Makefile
+++ b/www/py-priority/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	priority
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/python-hyper/priority
 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
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes