git: bd7a4e938a60 - main - devel/py-build: restore USE_PYTHON=allflavors but limit to 3.8+

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 05:51:03 UTC
The branch main has been updated by vishwin:

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

commit bd7a4e938a6062a7cc1ce9b31ccbeaf50093ab9d
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-03-27 05:44:11 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-03-27 05:44:11 +0000

    devel/py-build: restore USE_PYTHON=allflavors but limit to 3.8+
    
    On Python 3.7, the importlib-metadata dependency tree is not yet
    allflavors-safe. For the time being, the PEP-517 build frontend
    role on that Python version is filled by gpep517.
    
    With hat: python
---
 devel/py-build/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/py-build/Makefile b/devel/py-build/Makefile
index 49729e4ba735..280d1f18bcd2 100644
--- a/devel/py-build/Makefile
+++ b/devel/py-build/Makefile
@@ -15,8 +15,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=19.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyproject_hooks>=0:devel/py-pyproject_hooks@${PY_FLAVOR}
 
-USES=		python
-USE_PYTHON=	autoplist concurrent pep517
+USES=		python:3.8+
+USE_PYTHON=	allflavors autoplist concurrent pep517
 
 NO_ARCH=	yes