From 89f9740f98a899415af3b0a892542f37fe61cf55 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 13 Mar 2022 09:13:20 +0000 Subject: setuptools3_rust: Rename to python_setuptools3_rust (From OE-Core rev: 57bef31cdcafeef2d1ca5ff3aee7b2e2181a0514) Signed-off-by: Richard Purdie --- meta/classes/python_setuptools3_rust.bbclass | 11 +++++++++++ meta/classes/setuptools3_rust.bbclass | 11 ----------- meta/recipes-devtools/python/python3-cryptography_36.0.1.bb | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 meta/classes/python_setuptools3_rust.bbclass delete mode 100644 meta/classes/setuptools3_rust.bbclass 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 diff --git a/meta/classes/setuptools3_rust.bbclass b/meta/classes/setuptools3_rust.bbclass deleted file mode 100644 index fa8508fbec..0000000000 --- a/meta/classes/setuptools3_rust.bbclass +++ /dev/null @@ -1,11 +0,0 @@ -inherit python_pyo3 setuptools3 - -DEPENDS += "python3-setuptools-rust-native" - -setuptools3_rust_do_configure() { - pyo3_do_configure - cargo_common_do_configure - setuptools3_do_configure -} - -EXPORT_FUNCTIONS do_configure diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb index 00791dce2d..11466ecece 100644 --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb @@ -18,7 +18,7 @@ SRC_URI += " \ file://0002-Cargo.toml-edition-2018-2021.patch \ " -inherit pypi setuptools3_rust +inherit pypi python_setuptools3_rust PIP_INSTALL_DIST_PATH = "${S}/dist" -- cgit v1.2.3-54-g00ecf