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:
Romain Naour 2023-06-26 22:29:01 +02:00 committed by Arnout Vandecappelle
parent c15e60c106
commit 3b2913552e
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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))