diff options
| author | Stefan Agner <stefan.agner@toradex.com> | 2017-03-30 09:27:21 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-05 19:28:31 +0200 |
| commit | ad81891ee769a25a3fae596d4187bc4181805526 (patch) | |
| tree | 4586dc1e11b301ce7b4b7e7cbd317e0a22bec3b3 /meta-python/recipes-devtools/python/python-smbus_3.1.1.bb | |
| parent | a34ab25fc1074593a1f1d9424c5b416e38b595f0 (diff) | |
| download | meta-openembedded-ad81891ee769a25a3fae596d4187bc4181805526.tar.gz | |
python-smbus: upgrade to 3.1.2
Upgrade to 3.1.2 and use Yocto source mirror to follow commit f76fe46e098d
("i2c-tools: point SRC_URI at Yocto source mirrors") in OpenEmbedded cores
i2c-tools recipe.
With the upgrade to i2c-tools 3.1.2 Python 3 support has been added. To
support Python 3 add a common recipe for all common information and one for
each supported Python version 2 and 3.
Signed-off-by: Stefan Agner <stefan.agner@toradex.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.bb | 20 |
1 files changed, 0 insertions, 20 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 deleted file mode 100644 index df47df6248..0000000000 --- a/meta-python/recipes-devtools/python/python-smbus_3.1.1.bb +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | SUMMARY = "Set of i2c tools for linux - Python module" | ||
| 2 | LICENSE = "GPLv2" | ||
| 3 | LIC_FILES_CHKSUM = "file://smbusmodule.c;startline=1;endline=17;md5=fa24df321a520ff8e10f203425ab9fa8" | ||
| 4 | |||
| 5 | SRC_URI = "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-${PV}.tar.bz2 \ | ||
| 6 | " | ||
| 7 | SRC_URI[md5sum] = "0fdbff53ebd0b8d9249256d6c56480b1" | ||
| 8 | SRC_URI[sha256sum] = "14d4d7d60d1c12e43f2befe239c682a5c44c27682f153d4b58c1e392d2db1700" | ||
| 9 | |||
| 10 | DEPENDS = "i2c-tools" | ||
| 11 | |||
| 12 | inherit distutils | ||
| 13 | |||
| 14 | S = "${WORKDIR}/i2c-tools-${PV}/py-smbus/" | ||
| 15 | |||
| 16 | do_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 | } | ||
