mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00

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 <tim.orling@konsulko.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18 lines
335 B
Plaintext
18 lines
335 B
Plaintext
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
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
|
|
python_pep517_do_configure
|
|
}
|
|
|
|
EXPORT_FUNCTIONS do_configure
|