summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-05-17 10:06:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:49 +0100
commitd7d56550ac3374fa873c262dcd9c53a19b9cd3e9 (patch)
tree085015f8e09ce3514d34afb92d846b64f049e11b
parentdddaef591fe6d2221c6a316e299768490c41fc9e (diff)
downloadpoky-d7d56550ac3374fa873c262dcd9c53a19b9cd3e9.tar.gz
python3-setuptools-rust: fix RDEPENDS and allow target build
Cargo and rustc can now be built for the target architecture. There's no reason to limit the setuptools rust extensions to native build only so make the RDEPENDS global. Also: add the missing ones. (From OE-Core rev: aa8001e9bff9f9dd92a4a1ce435f1ae452e104c9) Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb17
1 files changed, 10 insertions, 7 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb
index 502967fd20..01e29cc6d8 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb
+++ b/meta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb
@@ -18,13 +18,16 @@ inherit cargo pypi python_setuptools_build_meta
18 18
19DEPENDS += "python3-setuptools-scm-native python3-wheel-native" 19DEPENDS += "python3-setuptools-scm-native python3-wheel-native"
20 20
21RDEPENDS:${PN}:class-native += " \ 21RDEPENDS:${PN} += " \
22 python3-semantic-version-native \ 22 python3-distutils \
23 python3-setuptools-native \ 23 python3-json \
24 python3-setuptools-scm-native \ 24 python3-semantic-version \
25 python3-toml-native \ 25 python3-setuptools \
26 python3-typing-extensions-native \ 26 python3-setuptools-scm \
27 python3-wheel-native \ 27 python3-shell \
28 python3-toml \
29 python3-typing-extensions \
30 python3-wheel \
28" 31"
29 32
30BBCLASSEXTEND = "native" 33BBCLASSEXTEND = "native"