Skip to content

Commit b7042fa

Browse files
matthiaskleinkraj
authored andcommitted
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 <[email protected]> Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Trevor Gamblin <[email protected]>
1 parent 099c6a5 commit b7042fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

meta-python/recipes-devtools/python/python3-smbus_4.3.bb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ S = "${WORKDIR}/i2c-tools-${PV}"
1313

1414
inherit setuptools3
1515

16+
PIP_INSTALL_PACKAGE = "smbus"
17+
PYPA_WHEEL = "${B}/py-smbus/dist/smbus-*-*.whl"
1618
SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"

0 commit comments

Comments
 (0)