mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 14:07:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/flit_core/json
|
||||
md5 3bc52f1952b9a78361114147da63c35b flit_core-3.9.0.tar.gz
|
||||
sha256 72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba flit_core-3.9.0.tar.gz
|
||||
# Locally computed
|
||||
sha256 35b4f1dec512e617077fd6980dbb43ef8c2887adc5d0185edb4c04da175dd816 LICENSE
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-flit-core
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_FLIT_CORE_VERSION = 3.9.0
|
||||
PYTHON_FLIT_CORE_SOURCE = flit_core-$(PYTHON_FLIT_CORE_VERSION).tar.gz
|
||||
PYTHON_FLIT_CORE_SITE = https://files.pythonhosted.org/packages/c4/e6/c1ac50fe3eebb38a155155711e6e864e254ce4b6e17fe2429b4c4d5b9e80
|
||||
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))
|
||||
Reference in New Issue
Block a user