From 0cd6a81d6df7b4f9fc1322bbc7306ab5802f5875 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 23 Jul 2023 09:52:16 -0700 Subject: python_setuptools3_rust: inherit ...build_meta Rather than inheriting the aging `setuptools3` bbclass, inherit `python_setuptools_build_meta` which is one of the PEP 517 build backends (for proper wheels using pyproject.toml). Since python_setuptools_build_meta does not have a do_configure, call the parent python_pep517_do_configure(). (From OE-Core rev: 52d33576a17574025e40526816c5f0ba72a57eea) Signed-off-by: Tim Orling Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/classes-recipe/python_setuptools3_rust.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes-recipe/python_setuptools3_rust.bbclass b/meta/classes-recipe/python_setuptools3_rust.bbclass index d6ce2edb96..d3d7590cbe 100644 --- a/meta/classes-recipe/python_setuptools3_rust.bbclass +++ b/meta/classes-recipe/python_setuptools3_rust.bbclass @@ -4,14 +4,14 @@ # SPDX-License-Identifier: MIT # -inherit python_pyo3 setuptools3 +inherit python_pyo3 python_setuptools_build_meta DEPENDS += "python3-setuptools-rust-native" python_setuptools3_rust_do_configure() { python_pyo3_do_configure cargo_common_do_configure - setuptools3_do_configure + python_pep517_do_configure } EXPORT_FUNCTIONS do_configure -- cgit v1.2.3-54-g00ecf