summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Klein <matthias@extraklein.de>2022-02-28 16:45:39 +0100
committerKhem Raj <raj.khem@gmail.com>2022-03-01 09:06:56 -0800
commitb7042fabd1a6930da1d24967720326d2e3a3ca39 (patch)
treeac5e4688233eaaace2633fe337f9034e351a2d7b
parent099c6a575bf727ec5e12f228801033210a77addc (diff)
downloadmeta-openembedded-b7042fabd1a6930da1d24967720326d2e3a3ca39.tar.gz
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>
-rw-r--r--meta-python/recipes-devtools/python/python3-smbus_4.3.bb2
1 files changed, 2 insertions, 0 deletions
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}"
13 13
14inherit setuptools3 14inherit setuptools3
15 15
16PIP_INSTALL_PACKAGE = "smbus"
17PYPA_WHEEL = "${B}/py-smbus/dist/smbus-*-*.whl"
16SETUPTOOLS_SETUP_PATH = "${S}/py-smbus" 18SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"