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>