Skip to content

Commit

Permalink
devel/py-importlib-metadata: add explicit setuptools BUILD_DEPENDS
Browse files Browse the repository at this point in the history
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]
		pypa/wheel#501 [1]
  • Loading branch information
vishwin committed Feb 5, 2023
1 parent ad243ca commit 4717471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devel/py-importlib-metadata/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 4717471

Please sign in to comment.