From 214cfe90f7ce72736d9814624550bb6935b842e7 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 14 Jan 2022 13:53:51 +0000 Subject: python3-smbbus: use DISTUTILS_SETUP_PATH Signed-off-by: Ross Burton Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-smbus_4.3.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-smbus_4.3.bb') 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 e2fd20fc00..a09a108b36 100644 --- a/meta-python/recipes-devtools/python/python3-smbus_4.3.bb +++ b/meta-python/recipes-devtools/python/python3-smbus_4.3.bb @@ -1,11 +1,14 @@ SUMMARY = "Set of i2c tools for linux - Python module" LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://smbusmodule.c;beginline=1;endline=18;md5=46e424fb045901ab25e0f92c28c80055" +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 " SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148" DEPENDS += "i2c-tools" -S = "${WORKDIR}/i2c-tools-${PV}/py-smbus" +S = "${WORKDIR}/i2c-tools-${PV}" + inherit distutils3 + +DISTUTILS_SETUP_PATH = "${S}/py-smbus" -- cgit v1.2.3-54-g00ecf