From b7042fabd1a6930da1d24967720326d2e3a3ca39 Mon Sep 17 00:00:00 2001 From: Matthias Klein Date: Mon, 28 Feb 2022 16:45:39 +0100 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-smbus_4.3.bb | 2 ++ 1 file changed, 2 insertions(+) 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 ecdff3adad..a9ba24fdbc 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 = "${B}/py-smbus/dist/smbus-*-*.whl" SETUPTOOLS_SETUP_PATH = "${S}/py-smbus" -- cgit v1.2.3-54-g00ecf