git: 763f20e13ce5 - main - devel/meson: convert to USE_PYTHON=pep517

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 16:40:29 UTC
The branch main has been updated by jbeich:

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

commit 763f20e13ce565b2c4b4342beda7d24448f62963
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-29 03:40:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-04-10 16:39:25 +0000

    devel/meson: convert to USE_PYTHON=pep517
    
    PR:             270499
    Requested by:   vishwin
---
 devel/meson/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/meson/Makefile b/devel/meson/Makefile
index 83793c5990b8..058394f6944a 100644
--- a/devel/meson/Makefile
+++ b/devel/meson/Makefile
@@ -10,10 +10,12 @@ WWW=		https://mesonbuild.com/
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
 
 USES=		ninja:run python:3.6+ shebangfix
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 SHEBANG_FILES=	mesonbuild/rewriter.py \
 		mesonbuild/scripts/cmake_run_ctgt.py
 NO_ARCH=	yes