mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
Make do_configure do nothing by default as the base configure isn't useful, and invoke the build API directly instead of writing a script. In the future, this can simply call python3-build. (From OE-Core rev: 2d80529a486d25ad96c448499392547e82779de4) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
389 B
Plaintext
16 lines
389 B
Plaintext
inherit pip_install_wheel python3native python3-dir setuptools3-base
|
|
|
|
DEPENDS += "python3 python3-flit-core-native python3-pip-native"
|
|
|
|
flit_core_do_configure () {
|
|
:
|
|
}
|
|
|
|
# TODO: ideally this uses pypa/build
|
|
flit_core_do_compile () {
|
|
mkdir -p ${S}/dist
|
|
nativepython3 -c "from flit_core import buildapi; buildapi.build_wheel('./dist')"
|
|
}
|
|
|
|
EXPORT_FUNCTIONS do_configure do_compile
|