meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.3.bb
Matthias Klein b7042fabd1 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>
2022-03-01 09:06:56 -08:00

19 lines
638 B
BlitzBasic

SUMMARY = "Set of i2c tools for linux - Python module"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://py-smbus/smbusmodule.c;beginline=1;endline=18;md5=46e424fb045901ab25e0f92c28c80055"
SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz \
file://0001-Use-setuptools-as-distutils-is-deprecated.patch \
"
SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148"
DEPENDS += "i2c-tools"
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"