poky/meta/classes-recipe/python_maturin.bbclass
Tim Orling ca5427280d classes-recipe: add python_maturin.bbclass
maturin is a replacement for setuptools_rust and another "backend" for
building python wheels.

(From OE-Core rev: 1c2f9d8f18ef8154573142638ca10a8f88e43419)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-12-17 19:07:21 +00:00

18 lines
318 B
Plaintext

#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
inherit python_pyo3 python_setuptools_build_meta
DEPENDS += "python3-maturin-native"
python_maturin_do_configure() {
python_pyo3_do_configure
cargo_common_do_configure
python_pep517_do_configure
}
EXPORT_FUNCTIONS do_configure