summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
diff options
context:
space:
mode:
authorPeter Bigot <pab@pabigot.com>2014-08-05 09:28:59 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-11 11:00:41 +0200
commit7ddcd65e11a7a2a7871ce31e74e216a4cf53e95b (patch)
tree1588ccefb6459c90591f88bebfecad5d2a31b97b /meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
parent9039398e31279b3346c6b41be8ac4da7c2dded7a (diff)
downloadmeta-openembedded-7ddcd65e11a7a2a7871ce31e74e216a4cf53e95b.tar.gz
python-smbus: upgrade to 3.1.1
Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-smbus_3.1.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python-smbus_3.1.1.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb b/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
new file mode 100644
index 000000000..df47df624
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Set of i2c tools for linux - Python module"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
4
5SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
6"
7SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1"
8SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700"
9
10DEPENDS = "i2c-tools"
11
12inherit distutils
13
14S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/"
15
16do_configure_prepend() {
17 # Adjust for OE header rename
18 sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk
19 sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c
20}