mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c5cd7c5900
commit
ca5427280d
17
meta/classes-recipe/python_maturin.bbclass
Normal file
17
meta/classes-recipe/python_maturin.bbclass
Normal file
@@ -0,0 +1,17 @@
|
||||
#
|
||||
# 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
|
||||
Reference in New Issue
Block a user