python-can: add initial recipe for version 1.5.2

Add initial recipe for python-can library which provides controller
area network support for Python 2/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-04-14 18:09:08 -07:00 committed by Martin Jansa
parent 4ddc0a58a7
commit 60885e3223
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,9 @@
SUMMARY = "Controller Area Network (CAN) interface module for Python"
SECTION = "devel/python"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=38138baa100d7259934590850bc0406e"
SRC_URI[md5sum] = "f653aecf8b9034bbba32cc04ca6a7b6d"
SRC_URI[sha256sum] = "edabb426e6cd11c2dc7a98980340135aa0eb02143b0d51bf14e3e6178c131cc3"
PYPI_PACKAGE="python-can"

View File

@ -0,0 +1,4 @@
require python-can.inc
inherit pypi setuptools
RDEPENDS_${PN} += "python-sqlite3"

View File

@ -0,0 +1,4 @@
require python-can.inc
inherit pypi setuptools3
RDEPENDS_${PN} += "python3-sqlite3"