Files
rpi-buildroot/package/python-flit-core/python-flit-core.mk
James Hilliard 288dd2cc0a package/python-flit-core: bump to version 3.11.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit c5659cebb7)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2025-05-23 09:06:35 +02:00

25 lines
985 B
Makefile

################################################################################
#
# python-flit-core
#
################################################################################
PYTHON_FLIT_CORE_VERSION = 3.11.0
PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz
PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/bc/18/b9b81cab2b8f63e6e7f72e1ba2766a0454fcd563e7a77b8299cb917ba805
PYTHON_FLIT_CORE_LICENSE = BSD-3-Clause
PYTHON_FLIT_CORE_LICENSE_FILES = LICENSE
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.
define HOST_PYTHON_FLIT_CORE_INSTALL_CMDS
cd $($(PKG)_BUILDDIR)/; \
$(HOST_PKG_PYTHON_FLIT_BOOTSTRAP_ENV) \
$(HOST_DIR)/bin/python3 \
-m bootstrap_install dist/* \
--installdir=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
endef
$(eval $(host-python-package))