git: 2529516b1d85 - main - devel/py-pathspec: Use BUILD_DEPENDS instead of PEP517_BUILD_*
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 May 2023 04:30:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2529516b1d85d21eafd73addb4fcf3dac50e08c2 commit 2529516b1d85d21eafd73addb4fcf3dac50e08c2 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-05-27 04:13:58 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-05-27 04:24:06 +0000 devel/py-pathspec: Use BUILD_DEPENDS instead of PEP517_BUILD_* - While I'm here, remove superfluous , in version range We only use custom PEP517_{BUILD,INSTALL}_{CMD,DEPEND} for core dependencies of USE_PYTHON=pep517 to avoid cyclic dependency. With hat: python --- devel/py-pathspec/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/devel/py-pathspec/Makefile b/devel/py-pathspec/Makefile index c60347f899ad..cd6d222c1368 100644 --- a/devel/py-pathspec/Makefile +++ b/devel/py-pathspec/Makefile @@ -12,12 +12,11 @@ WWW= https://pypi.org/project/pathspec/ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} + USES= python:3.7+ USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes -PEP517_BUILD_CMD= ${PYTHON_CMD} -m flit_core.wheel -PEP517_BUILD_DEPEND= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2,<4:devel/py-flit-core@${PY_FLAVOR} - .include <bsd.port.mk>