mirror of
https://git.yoctoproject.org/poky
synced 2026-04-02 17:02:21 +02:00
(From OE-Core rev: 241ebe35afb0ae9cd2713ef19a78746f0ab5ca5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
417 B
Plaintext
16 lines
417 B
Plaintext
inherit pip_install_wheel python3native setuptools3-base
|
|
|
|
DEPENDS += "python3-poetry-core-native"
|
|
|
|
python_poetry_core_do_configure () {
|
|
:
|
|
}
|
|
|
|
# TODO: ideally this uses pypa/build
|
|
python_poetry_core_do_compile () {
|
|
nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PIP_INSTALL_DIST_PATH}')"
|
|
}
|
|
do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"
|
|
|
|
EXPORT_FUNCTIONS do_configure do_compile
|