aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-04-14 18:09:08 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-24 10:59:27 +0200
commit60885e3223ad811c2b4185eb6a22fa0cdb0d082a (patch)
tree4c322170d12a2c018945443747055d0e8f304bb5 /meta-python/recipes-devtools/python
parent4ddc0a58a7af4df17647b477925293d96c049b95 (diff)
downloadmeta-openembedded-contrib-60885e3223ad811c2b4185eb6a22fa0cdb0d082a.tar.gz
meta-openembedded-contrib-60885e3223ad811c2b4185eb6a22fa0cdb0d082a.tar.bz2
meta-openembedded-contrib-60885e3223ad811c2b4185eb6a22fa0cdb0d082a.zip
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python-can.inc9
-rw-r--r--meta-python/recipes-devtools/python/python-can_1.5.2.bb4
-rw-r--r--meta-python/recipes-devtools/python/python3-can_1.5.2.bb4
3 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-can.inc b/meta-python/recipes-devtools/python/python-can.inc
new file mode 100644
index 00000000000..1878f311623
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-can.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-can_1.5.2.bb b/meta-python/recipes-devtools/python/python-can_1.5.2.bb
new file mode 100644
index 00000000000..ec81a9e48d4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-can_1.5.2.bb
@@ -0,0 +1,4 @@
+require python-can.inc
+inherit pypi setuptools
+
+RDEPENDS_${PN} += "python-sqlite3"
diff --git a/meta-python/recipes-devtools/python/python3-can_1.5.2.bb b/meta-python/recipes-devtools/python/python3-can_1.5.2.bb
new file mode 100644
index 00000000000..a1d45b88a67
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-can_1.5.2.bb
@@ -0,0 +1,4 @@
+require python-can.inc
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-sqlite3"