package/python-setuptools: add missing dependency on host-python-wheel
While migrating to pep517 build backend the host-python-wheel dependency has been added to host-python-setuptools but not to python-setuptools. Note that host-python-wheel is not really needed during the build of (target) setuptools, but the setup.py script checks if the dependency is present in the host directory. To make everything consistent, add host-python-wheel as a build dependency, and BR2_PACKAGE_PYTHON_WHEEL as a runtime dependency. Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/4537951715 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: James Hilliard <james.hilliard1@gmail.com> [Arnout: also add runtime dependency on the target package.] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
c15e60c106
commit
3b2913552e
@ -1,7 +1,8 @@
|
||||
config BR2_PACKAGE_PYTHON_SETUPTOOLS
|
||||
bool "python-setuptools"
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
||||
select BR2_PACKAGE_PYTHON_WHEEL # runtime
|
||||
help
|
||||
Download, build, install, upgrade, and uninstall Python
|
||||
packages.
|
||||
|
@ -12,6 +12,7 @@ PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
|
||||
PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python
|
||||
PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools
|
||||
PYTHON_SETUPTOOLS_SETUP_TYPE = pep517
|
||||
PYTHON_SETUPTOOLS_DEPENDENCIES = host-python-wheel
|
||||
HOST_PYTHON_SETUPTOOLS_DEPENDENCIES = host-python-wheel
|
||||
|
||||
$(eval $(python-package))
|
||||
|
Loading…
Reference in New Issue
Block a user