git: e7a9ba1fecd9 - main - devel/py-typing-extensions: unbreak circular dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Feb 2023 17:53:41 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e7a9ba1fecd9209fbb4b669ccb283cb1862c4a2a
commit e7a9ba1fecd9209fbb4b669ccb283cb1862c4a2a
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-02-18 17:50:56 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-02-18 17:50:56 +0000
devel/py-typing-extensions: unbreak circular dependency
This is part of the PEP-517 bootstrap chain on older Python, so do
not use devel/py-build to build the wheel. While here, add
USE_PYTHON=allflavors
With hat: python
---
devel/py-typing-extensions/Makefile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/devel/py-typing-extensions/Makefile b/devel/py-typing-extensions/Makefile
index 4c7e712a13f5..eb9be6e72d75 100644
--- a/devel/py-typing-extensions/Makefile
+++ b/devel/py-typing-extensions/Makefile
@@ -13,10 +13,11 @@ WWW= https://github.com/python/typing_extensions
LICENSE= PSFL
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR}
-
USES= python:3.7+
-USE_PYTHON= autoplist concurrent pep517
+USE_PYTHON= allflavors autoplist concurrent pep517
+
+PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel
+PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR}
NO_ARCH= yes