git: a11aff67c45b - main - audio/py-python-mpd2: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 14:59:49 UTC
The branch main has been updated by sunpoet:

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

commit a11aff67c45be7af67d2015ee6cc2297035626c5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:02 +0000

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

diff --git a/audio/py-python-mpd2/Makefile b/audio/py-python-mpd2/Makefile
index 1a5d1f8d7e5f..e0c8b57d2c55 100644
--- a/audio/py-python-mpd2/Makefile
+++ b/audio/py-python-mpd2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python-mpd2
 PORTVERSION=	3.1.1
+PORTREVISION=	1
 CATEGORIES=	audio python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW=		https://github.com/Mic92/python-mpd2
 LICENSE=	LGPL3+
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+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