maturin is a replacement for setuptools_rust and another "backend" for
building python wheels.

[YOCTO #15312]

Signed-off-by: Tim Orling <tim.orl...@konsulko.com>
---
 meta/classes-recipe/python_maturin.bbclass | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta/classes-recipe/python_maturin.bbclass

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
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191984): 
https://lists.openembedded.org/g/openembedded-core/message/191984
Mute This Topic: https://lists.openembedded.org/mt/103045100/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to