[oe] [meta-python][PATCH] python-smbus: update to version 4.0

Derek Straka derek at asterius.io
Sun Jan 21 16:54:14 UTC 2018


Fixes issues related to incompatibility with i2c-tools upgrade in oe-core

Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-python/recipes-devtools/python/python-smbus.inc               | 7 +++----
 .../python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb}          | 0
 .../python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb}        | 0
 3 files changed, 3 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-smbus_3.1.2.bb => python-smbus_4.0.bb} (100%)
 rename meta-python/recipes-devtools/python/{python3-smbus_3.1.2.bb => python3-smbus_4.0.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-smbus.inc b/meta-python/recipes-devtools/python/python-smbus.inc
index de2a270..0bca58f 100644
--- a/meta-python/recipes-devtools/python/python-smbus.inc
+++ b/meta-python/recipes-devtools/python/python-smbus.inc
@@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://smbusmodule.c;beginline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
 
-SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools-${PV}.tar.bz2 \
-"
-SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
-SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490b149c504468770f58921c8c5b8a7860a441"
+SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz "
+SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
+SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f2054bb39f19961d67e0c91610f071ca403"
 
 DEPENDS += "i2c-tools"
 
diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.2.bb b/meta-python/recipes-devtools/python/python-smbus_4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb
rename to meta-python/recipes-devtools/python/python-smbus_4.0.bb
diff --git a/meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb b/meta-python/recipes-devtools/python/python3-smbus_4.0.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb
rename to meta-python/recipes-devtools/python/python3-smbus_4.0.bb
-- 
2.7.4




More information about the Openembedded-devel mailing list