kumquat-buildroot/package/python-flit-core/python-flit-core.mk
James Hilliard 37439adf81 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 <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-25 23:21:36 +02:00

19 lines
810 B
Makefile

################################################################################
#
# python-flit-core
#
################################################################################
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 = 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))