summaryrefslogtreecommitdiffstats
path: root/meta/classes/python_setuptools3_rust.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/python_setuptools3_rust.bbclass')
-rw-r--r--meta/classes/python_setuptools3_rust.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/python_setuptools3_rust.bbclass b/meta/classes/python_setuptools3_rust.bbclass
new file mode 100644
index 0000000000..f12e5d0cbd
--- /dev/null
+++ b/meta/classes/python_setuptools3_rust.bbclass
@@ -0,0 +1,11 @@
+inherit python_pyo3 setuptools3
+
+DEPENDS += "python3-setuptools-rust-native"
+
+python_setuptools3_rust_do_configure() {
+ python_pyo3_do_configure
+ cargo_common_do_configure
+ setuptools3_do_configure
+}
+
+EXPORT_FUNCTIONS do_configure