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