git: 7980492d7561 - main - devel/py-pyls-black: Make build system PEP-518 conform

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Sun, 15 Jan 2023 17:49:25 UTC
The branch main has been updated by rhurlin:

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

commit 7980492d7561fed0305bbbd7e432b879b2aee21e
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2023-01-15 17:44:17 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2023-01-15 17:44:17 +0000

    devel/py-pyls-black: Make build system PEP-518 conform
    
    Thanks to Charlie Li for clarifying the build system dependencies.
    
    PR:             268342
    Reported by:    vishwin
---
 devel/py-pyls-black/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/devel/py-pyls-black/Makefile b/devel/py-pyls-black/Makefile
index 3adafea35069..05739d37292b 100644
--- a/devel/py-pyls-black/Makefile
+++ b/devel/py-pyls-black/Makefile
@@ -11,7 +11,10 @@ WWW=		https://github.com/rupert/pyls-black
 
 LICENSE=	MIT
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+# Per PEP-518, the default [build-system] section when not defined is:
+# requires = ["setuptools", "wheel"]  # PEP 508 specifications.
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR}
 
 # No tests because they are not in the release tarball