git: bcf33227ac54 - main - devel/py-python-magic: Convert to USE_PYTHON=pep517

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

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

commit bcf33227ac54eb1312533bf36d9ed347b667cfe1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 13:59:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 13:59:53 +0000

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

diff --git a/devel/py-python-magic/Makefile b/devel/py-python-magic/Makefile
index 35997a511147..2d2c09cf8aca 100644
--- a/devel/py-python-magic/Makefile
+++ b/devel/py-python-magic/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python-magic
 PORTVERSION=	0.4.27
+PORTREVISION=	1
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,8 +11,11 @@ WWW=		https://github.com/ahupp/python-magic
 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 pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 TEST_ENV=	LC_ALL=en_US.UTF-8 PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}