Skip to contentSkip to conversation

python3-cryptography: fix wheel build

PATCH New Tim Orling 1 participant 2 messages Feb 25, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/2 python3-cryptography: fix wheel build

Like python3-setuptools-rust-native, this is building its wheel in ${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.

---
 .../recipes-devtools/python/python3-cryptography_36.0.1.bb      | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb +2 -0
index abb15381f5..00791dce2d 100644
@@ -20,6 +20,8 @@ SRC_URI += " \
 
 inherit pypi setuptools3_rust
 
+PIP_INSTALL_DIST_PATH = "${S}/dist"
+
 DEPENDS += " \
     ${PYTHON_PN}-asn1crypto-native \
     ${PYTHON_PN}-cffi-native \
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/2 python3-pyruvate: fix wheel build

Like python3-setuptools-rust-native, the wheel is being built in ${S}/dist rather than ${B}/dist so set PIP_INSTALL_DIST_PATH accordingly.

---
 meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pyruvate_1.1.2.bb +2 -0
index b83302d44c..4429e4c32a 100644
@@ -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
Signature · 1 line
2.30.2