Message ID | c8c655c6cb3a2759c1230fe4c9073ff64006bc37.1702791173.git.tim.orling@konsulko.com |
---|---|
State | Accepted, archived |
Commit | 1c2f9d8f18ef8154573142638ca10a8f88e43419 |
Headers | show |
Series | [1/7] python3-maturin: add v1.4.0 | expand |
diff --git a/meta/classes-recipe/python_maturin.bbclass b/meta/classes-recipe/python_maturin.bbclass new file mode 100644 index 00000000000..c39d6c6e37d --- /dev/null +++ b/meta/classes-recipe/python_maturin.bbclass @@ -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
maturin is a replacement for setuptools_rust and another "backend" for building python wheels. Signed-off-by: Tim Orling <tim.orling@konsulko.com> --- meta/classes-recipe/python_maturin.bbclass | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/classes-recipe/python_maturin.bbclass