[oe-commits] Koen Kooi : python-smbus: add 3.0.3

git at git.openembedded.org git at git.openembedded.org
Sun Jan 27 22:59:28 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 164caa34458ed2c145dfa2e4d2d207f8ce47a057
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=164caa34458ed2c145dfa2e4d2d207f8ce47a057

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Sun Jan 27 15:41:22 2013 +0000

python-smbus: add 3.0.3

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../recipes-devtools/python/python-smbus_3.0.3.bb  |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb b/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb
new file mode 100644
index 0000000..5ba24c6
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-smbus_3.0.3.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "Set of i2c tools for linux - Python module"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8"
+
+SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \
+          "
+SRC_URI[md5sum] = "511376eed04455cdb277ef19c5f73bb4"
+SRC_URI[sha256sum] = "23b28e474741834e3f1b35b0686528769a13adc92d2ff5603cbda1d6bd5e5629"
+
+DEPENDS = "i2c-tools"
+
+inherit distutils
+
+S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/"
+
+do_configure_prepend() {
+	# Adjust for OE header rename
+	sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: Module.mk
+	sed -i s:linux/i2c-dev.h:linux/i2c-dev-user.h: smbusmodule.c
+}





More information about the Openembedded-commits mailing list