Message ID | 20220228154539.1227-1-matthias@extraklein.de |
---|---|
State | New |
Headers | show |
Series | [meta-python,V2] python3-smbus: fix wheel build | expand |
diff --git a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb index ecdff3ada..1a6c99cfc 100644 --- a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb +++ b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb @@ -13,4 +13,6 @@ S = "${WORKDIR}/i2c-tools-${PV}" inherit setuptools3 +PIP_INSTALL_PACKAGE = "smbus" +PYPA_WHEEL = "${S}/py-smbus/dist/smbus-*-*.whl" SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"
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> --- meta-python/recipes-devtools/python/python3-smbus_4.3.bb | 2 ++ 1 file changed, 2 insertions(+)