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>
This commit is contained in:
Stefan Agner
2017-03-30 09:27:21 -07:00
committed by Martin Jansa
parent a34ab25fc1
commit ad81891ee7
3 changed files with 8 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
inherit distutils
require python-smbus.inc