summaryrefslogtreecommitdiffstats
path: root/meta/classes/python_setuptools3_rust.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-13 09:13:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:04 +0000
commit57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514 (patch)
treea56f6e4e2b2180ca642ddd7ec45533775f172718 /meta/classes/python_setuptools3_rust.bbclass
parente9b030eab6d4c18482aaa7f0166686e16ba8e779 (diff)
downloadopenembedded-core-contrib-57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514.tar.gz
setuptools3_rust: Rename to python_setuptools3_rust
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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