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.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Tim Orling 2022-02-25 19:55:00 -08:00 committed by Khem Raj
parent b56940049d
commit 33ac9025c6

View File

@ -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"