[meta-python,2/2] python3-pyruvate: fix wheel build

Message ID 20220225185551.1458871-2-tim.orling@konsulko.com
State New
Headers show
Series [meta-python,1/2] python3-cryptography: fix wheel build | expand

Commit Message

Tim Orling Feb. 25, 2022, 6:55 p.m. UTC
Like python3-setuptools-rust-native, the wheel is being built in
${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH
accordingly.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
index b83302d44c..4429e4c32a 100644
--- a/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb
@@ -14,6 +14,8 @@  S = "${WORKDIR}/pyruvate-${PV}"
 
 inherit pypi setuptools3_rust
 
+PIP_INSTALL_DIST_PATH = "${S}/dist"
+
 # crossbeam-* -> std::sync::atomic AtomicI64, AtomicU64
 # not supported on mips/powerpc with 32-bit pointers
 # https://doc.rust-lang.org/std/sync/atomic/#portability