diff options
-rw-r--r-- | meta/classes-recipe/python_maturin.bbclass | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/classes-recipe/python_maturin.bbclass b/meta/classes-recipe/python_maturin.bbclass new file mode 100644 index 0000000000..c39d6c6e37 --- /dev/null +++ b/meta/classes-recipe/python_maturin.bbclass | |||
@@ -0,0 +1,17 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | |||
7 | inherit python_pyo3 python_setuptools_build_meta | ||
8 | |||
9 | DEPENDS += "python3-maturin-native" | ||
10 | |||
11 | python_maturin_do_configure() { | ||
12 | python_pyo3_do_configure | ||
13 | cargo_common_do_configure | ||
14 | python_pep517_do_configure | ||
15 | } | ||
16 | |||
17 | EXPORT_FUNCTIONS do_configure | ||