diff options
author | Matthias Klein <matthias@extraklein.de> | 2022-02-28 16:45:39 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-03-01 09:06:56 -0800 |
commit | b7042fabd1a6930da1d24967720326d2e3a3ca39 (patch) | |
tree | ac5e4688233eaaace2633fe337f9034e351a2d7b | |
parent | 099c6a575bf727ec5e12f228801033210a77addc (diff) | |
download | meta-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.bb | 2 |
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 | ||
14 | inherit setuptools3 | 14 | inherit setuptools3 |
15 | 15 | ||
16 | PIP_INSTALL_PACKAGE = "smbus" | ||
17 | PYPA_WHEEL = "${B}/py-smbus/dist/smbus-*-*.whl" | ||
16 | SETUPTOOLS_SETUP_PATH = "${S}/py-smbus" | 18 | SETUPTOOLS_SETUP_PATH = "${S}/py-smbus" |