mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
python3-flit-core: bootstrap explicitly
Add a method to python_flit_core.bbclass that does a manual build with flit explicitly, and use that to bootstrap python3-flit-core-native which can build itself. (From OE-Core rev: e902578c2c9aacdc83dcfa517bc1e57667fcc460) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
32828d3816
commit
60cabad4d5
@@ -20,6 +20,10 @@ DEPENDS:append:class-native = " unzip-native"
|
||||
PYPI_PACKAGE = "flit"
|
||||
PEP517_SOURCE_PATH = "${S}/flit_core"
|
||||
|
||||
do_compile:class-native () {
|
||||
python_flit_core_do_manual_build
|
||||
}
|
||||
|
||||
do_install:class-native () {
|
||||
python_pep517_do_bootstrap_install
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user