git: ac723d432c40 - main - www/py-dj42-django-modelcluster: Convert to USE_PYTHON=pep517

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

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

commit ac723d432c40b05701e0aef2f55f70f817870c0a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:11:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:11:58 +0000

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

diff --git a/www/py-dj42-django-modelcluster/Makefile b/www/py-dj42-django-modelcluster/Makefile
index 5fc30b0a20b7..d3afa07ee9a6 100644
--- a/www/py-dj42-django-modelcluster/Makefile
+++ b/www/py-dj42-django-modelcluster/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	django-modelcluster
 PORTVERSION=	6.2.1
+PORTREVISION=	1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj42-
@@ -11,11 +12,13 @@ WWW=		https://github.com/wagtail/django-modelcluster
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2022.4,1:devel/py-pytz@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes