mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-17 22:48:28 +00:00
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 lines
391 B
Plaintext
16 lines
391 B
Plaintext
inherit python_pep517 python3native setuptools3-base
|
|
|
|
DEPENDS += "python3-poetry-core-native"
|
|
|
|
poetry_core_do_configure () {
|
|
:
|
|
}
|
|
|
|
# TODO: ideally this uses pypa/build
|
|
poetry_core_do_compile () {
|
|
nativepython3 -c "from poetry.core.masonry import api; api.build_wheel('${PEP517_WHEEL_PATH}')"
|
|
}
|
|
do_compile[cleandirs] += "${PEP517_WHEEL_PATH}"
|
|
|
|
EXPORT_FUNCTIONS do_configure do_compile
|