Skip to contentSkip to conversation

python-smbus: update to version 4.0

PATCH In review Derek Straka 2 participants 4 messages Jan 21, 2018 – Feb 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-smbus: update to version 4.0

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

---
 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%)
meta-python/recipes-devtools/python/python-smbus.inc +3 -4
index de2a270..0bca58f 100644
@@ -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"
 
meta-python/recipes-devtools/python/python-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb +0 -0
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
meta-python/recipes-devtools/python/python3-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb +0 -0
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
Signature · 1 line
2.7.4
#1 lore raw

We might need another upgrade for this after last oe-core changes, now it fails with:

smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or directory

 #include <linux/i2c-dev-user.h>
          ^~~~~~~~~~~~~~~~~~~~~~

Do you have something already in your queue?

Quoted 57 lines · Derek Straka

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

---
 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%)

meta-python/recipes-devtools/python/python-smbus.inc +0 -0
index de2a270..0bca58f 100644
@@ -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 \
-"

meta-python/recipes-devtools/python/python-smbus.inc +0 -2
-SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
-SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490b

149c504468770f58921c8c5b8a7860a441"
+SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz "

meta-python/recipes-devtools/python/python-smbus.inc +2 -0
+SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
+SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62f

2054bb39f19961d67e0c91610f071ca403"

DEPENDS += "i2c-tools"

meta-python/recipes-devtools/python/python-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb +0 -0
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
meta-python/recipes-devtools/python/python3-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb +0 -1
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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#2 lore raw

Yeah. IIRC there is a sed to replace the path of the include. I'll take a look.

Quoted 71 lines · Martin Jansa

We might need another upgrade for this after last oe-core changes, now it fails with:

smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or directory

 #include <linux/i2c-dev-user.h>
          ^~~~~~~~~~~~~~~~~~~~~~

Do you have something already in your queue?

Quoted 57 lines · Derek Straka

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

---
 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%)

meta-python/recipes-devtools/python/python-smbus.inc +0 -0
index de2a270..0bca58f 100644
@@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://smbusmodule.c;beginlin

e=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"

-SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools- ${PV}.tar.bz2 \
-"

meta-python/recipes-devtools/python/python-smbus.inc +0 -2
-SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
-SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490

b149c504468770f58921c8c5b8a7860a441"
+SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz "

meta-python/recipes-devtools/python/python-smbus.inc +2 -0
+SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
+SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62

f2054bb39f19961d67e0c91610f071ca403"

DEPENDS += "i2c-tools"

meta-python/recipes-devtools/python/python-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb +0 -0
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
meta-python/recipes-devtools/python/python3-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb +0 -1
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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Give this one a try:
http://lists.openembedded.org/pipermail/openembedded-devel/2018-February/116666.html

Quoted 76 lines · Derek Straka

Yeah. IIRC there is a sed to replace the path of the include. I'll take a look.

Quoted 71 lines · Martin Jansa

We might need another upgrade for this after last oe-core changes, now it fails with:

smbusmodule.c:26:10: fatal error: linux/i2c-dev-user.h: No such file or directory

 #include <linux/i2c-dev-user.h>
          ^~~~~~~~~~~~~~~~~~~~~~

Do you have something already in your queue?

Quoted 57 lines · Derek Straka

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

---
 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%)

meta-python/recipes-devtools/python/python-smbus.inc +0 -0
index de2a270..0bca58f 100644
@@ -2,10 +2,9 @@ SUMMARY = "Set of i2c tools for linux - Python module"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://smbusmodule.c;beginlin

e=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"

-SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/i2c-tools- ${PV}.tar.bz2 \
-"

meta-python/recipes-devtools/python/python-smbus.inc +0 -2
-SRC_URI[md5sum] = "7104a1043d11a5e2c7b131614eb1b962"
-SRC_URI[sha256sum] = "db5e69f2e2a6e3aa2ecdfe6a5f490

b149c504468770f58921c8c5b8a7860a441"
+SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz "

meta-python/recipes-devtools/python/python-smbus.inc +2 -0
+SRC_URI[md5sum] = "d92a288d70f306d3895e3a7e9c14c9aa"
+SRC_URI[sha256sum] = "5b60daf6f011de0acb61de57dba62

f2054bb39f19961d67e0c91610f071ca403"

DEPENDS += "i2c-tools"

meta-python/recipes-devtools/python/python-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python-smbus_3.1.2.bb +0 -0
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
meta-python/recipes-devtools/python/python3-smbus_4.0.bb renamed from meta-python/recipes-devtools/python/python3-smbus_3.1.2.bb +0 -1
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

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel