From 37439adf81d0245d2bcb778ff4ff1c5e9ee49d8c Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 24 Apr 2022 15:39:56 -0600 Subject: [PATCH] package/python-flit-core: migrate setup type to flit-bootstrap This package needs to use flit-bootstrap since it is a dependency of host-python-pypa-build. It cannot use the normal install command because that relies on host-python-installer, and host-python-installer itself will depend on host-python-flit-core once it is bumped and migrated to flit-bootstrap setup type. Therefore, use the special bootstrap_install module. Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/python-flit-core/python-flit-core.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/python-flit-core/python-flit-core.mk b/package/python-flit-core/python-flit-core.mk index 0e058a1f17..2dc67bd517 100644 --- a/package/python-flit-core/python-flit-core.mk +++ b/package/python-flit-core/python-flit-core.mk @@ -8,6 +8,11 @@ PYTHON_FLIT_CORE_VERSION = 3.7.1 PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/15/d1/d8798b83e953fd6f86ca9b50f93eec464a9305b0661469c8234e61095481 PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause -PYTHON_FLIT_CORE_SETUP_TYPE = pep517 +PYTHON_FLIT_CORE_SETUP_TYPE = flit-bootstrap + +# Use flit built in bootstrap_install for installing host-python-flit-core. +# This is due to host-python-installer depending on host-python-flit-core. +# +HOST_PYTHON_FLIT_CORE_BASE_INSTALL_CMD = -m bootstrap_install dist/* $(HOST_PKG_PYTHON_PEP517_BOOTSTRAP_INSTALL_OPTS) $(eval $(host-python-package))