3b2913552e
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>
20 lines
792 B
Makefile
20 lines
792 B
Makefile
################################################################################
|
|
#
|
|
# python-setuptools
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_SETUPTOOLS_VERSION = 68.0.0
|
|
PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
|
|
PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/dc/98/5f896af066c128669229ff1aa81553ac14cfb3e5e74b6b44594132b8540e
|
|
PYTHON_SETUPTOOLS_LICENSE = MIT
|
|
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))
|
|
$(eval $(host-python-package))
|