git: 471747153a83 - main - devel/py-importlib-metadata: add explicit setuptools BUILD_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Feb 2023 20:44:15 UTC
The branch main has been updated by vishwin: URL: https://cgit.FreeBSD.org/ports/commit/?id=471747153a83621deb72470fa0b10c23205b2d62 commit 471747153a83621deb72470fa0b10c23205b2d62 Author: Charlie Li <vishwin@FreeBSD.org> AuthorDate: 2023-02-05 20:30:25 +0000 Commit: Charlie Li <vishwin@FreeBSD.org> CommitDate: 2023-02-05 20:42:36 +0000 devel/py-importlib-metadata: add explicit setuptools BUILD_DEPENDS Per PEP-518 [0], for projects using setuptools as the build backend, both setuptools and wheel are to be specified, as wheel is a plugin for setuptools to support the format at all. Additionally, wheel itself will soon [1] not depend on setuptools, but rather the dependency tree will reverse. With hat: python Approved by: mentors (implicit), swills (maintainer, implicit) References: https://peps.python.org/pep-0518/#build-system-table [0] https://github.com/pypa/wheel/pull/501 [1] --- devel/py-importlib-metadata/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devel/py-importlib-metadata/Makefile b/devel/py-importlib-metadata/Makefile index 51dd799a6911..461323b77c3d 100644 --- a/devel/py-importlib-metadata/Makefile +++ b/devel/py-importlib-metadata/Makefile @@ -12,7 +12,8 @@ WWW= https://github.com/python/importlib_metadata LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py-zipp@${PY_FLAVOR}