git: 0d63ea90835a - main - www/py-dj42-django-auditlog: add ${PY_SETUPTOOLS} to BUILD_DEPENDS

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 20:15:11 UTC
The branch main has been updated by vishwin:

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

commit 0d63ea90835a7c4ab8a957423488ef1b5acad527
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-02-27 20:03:41 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-02-27 20:09:21 +0000

    www/py-dj42-django-auditlog: add ${PY_SETUPTOOLS} to BUILD_DEPENDS
    
    setuptools-scm is not a PEP-517 build backend; add the real one.
    Otherwise the build will fail once the linked PR is committed.
    
    With hat: python
    PR: 272134
---
 www/py-dj42-django-auditlog/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/py-dj42-django-auditlog/Makefile b/www/py-dj42-django-auditlog/Makefile
index b5c810461086..4ef067a1fc26 100644
--- a/www/py-dj42-django-auditlog/Makefile
+++ b/www/py-dj42-django-auditlog/Makefile
@@ -11,7 +11,8 @@ WWW=		https://github.com/jazzband/django-auditlog
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dateutil>=2.4.2:devel/py-dateutil@${PY_FLAVOR}