python3-smbus: fix wheel build

Recipe does not inherit pypi nor would PN be a good guess for the wheel
name so set PIP_INSTALL_PACKAGE appropriately.
PYPA_WHEEL doesn't respect SETUPTOOLS_SETUP_PATH so set PYPA_WHEEL
appropriately.

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Matthias Klein 2022-02-28 16:45:39 +01:00 committed by Khem Raj
parent 099c6a575b
commit b7042fabd1

View File

@ -13,4 +13,6 @@ S = "${WORKDIR}/i2c-tools-${PV}"
inherit setuptools3
PIP_INSTALL_PACKAGE = "smbus"
PYPA_WHEEL = "${B}/py-smbus/dist/smbus-*-*.whl"
SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"