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

Message ID 20220225185551.1458871-1-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, this is building its wheel in
${S}/dist rather than ${B}/dist. Set PIP_INSTALL_DIST_PATH accordingly.

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb
index abb15381f5..00791dce2d 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_36.0.1.bb
@@ -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 \