Skip to contentSkip to conversation

python3-xlrd: fix wheel build

PATCH New Tim Orling 1 participant 1 message Feb 26, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python3-xlrd: fix wheel build

Recipe does not inherit pypi nor would PN resolve to a useful name for the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Recipe builds wheel in ${S}/dist so set PIP_INSTALL_DIST_PATH appropriately.

---
 meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb +2 -0
index bd6853e747..da0dc26715 100644
@@ -17,6 +17,8 @@ SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
 S = "${WORKDIR}/git"
 
 inherit ptest setuptools3
+PIP_INSTALL_PACKAGE = "xlrd"
+PIP_INSTALL_DIST_PATH = "${S}/dist"
 
 RDEPENDS:${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io ${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
 
Signature · 1 line
2.30.2