package/python-setuptools: migrate to pep517 build backend
Now that all dependencies of host-python-setuptools no longer use setuptools as a build backend we can now migrate setuptools itself to the pep517 build backend. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
e0ae89957e
commit
15886f2761
@ -233,7 +233,7 @@ endif # ($(4),target)
|
||||
# interpreter (both host and target).
|
||||
#
|
||||
ifeq ($$($(2)_SETUP_TYPE),setuptools)
|
||||
$(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools)
|
||||
$(2)_DEPENDENCIES += host-python-setuptools
|
||||
else ifneq ($$(filter flit pep517,$$($(2)_SETUP_TYPE)),)
|
||||
$(2)_DEPENDENCIES += host-python-pypa-build host-python-installer
|
||||
ifeq ($$($(2)_SETUP_TYPE),flit)
|
||||
|
@ -11,7 +11,8 @@ 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 = setuptools
|
||||
PYTHON_SETUPTOOLS_SETUP_TYPE = pep517
|
||||
HOST_PYTHON_SETUPTOOLS_DEPENDENCIES = host-python-wheel
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
|
Loading…
Reference in New Issue
Block a user