git: 5921d834ff9d - main - devel/py-python-distutils-extra: Convert to USE_PYTHON=pep517

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

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

commit 5921d834ff9d7a21466a3893e6ffbae1a28d415d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:21:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:24 +0000

    devel/py-python-distutils-extra: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-python-distutils-extra/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/devel/py-python-distutils-extra/Makefile b/devel/py-python-distutils-extra/Makefile
index 456d460b6957..33d10508ea6f 100644
--- a/devel/py-python-distutils-extra/Makefile
+++ b/devel/py-python-distutils-extra/Makefile
@@ -1,9 +1,10 @@
 PORTNAME=	python-distutils-extra
 PORTVERSION=	3.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	DEBIAN
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PORTNAME}_${PORTVERSION}
+DISTNAME=	python-distutils-extra_${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Add support for i18n, documentation, and icons to distutils
@@ -12,10 +13,13 @@ WWW=		https://salsa.debian.org/python-team/packages/python-distutils-extra
 LICENSE=	GPLv2
 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 tar:xz
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
-WRKSRC=		${WRKDIR}/${PORTNAME}
+WRKSRC=		${WRKDIR}/python-distutils-extra
 
 .include <bsd.port.mk>