Skip to contentSkip to conversation

python-can: add initial recipe for version 1.5.2

PATCH New Stefan Agner 1 participant 1 message Apr 15, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-can: add initial recipe for version 1.5.2

From: Stefan Agner <[email protected]>

Add initial recipe for python-can library which provides controller area network support for Python 2/3.

---
 meta-python/recipes-devtools/python/python-can.inc       | 9 +++++++++
 meta-python/recipes-devtools/python/python-can_1.5.2.bb  | 4 ++++
 meta-python/recipes-devtools/python/python3-can_1.5.2.bb | 4 ++++
 3 files changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-can.inc
 create mode 100644 meta-python/recipes-devtools/python/python-can_1.5.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-can_1.5.2.bb
meta-python/recipes-devtools/python/python-can.inc new file +9 -0
new file mode 100644
index 0000000..1878f31
@@ -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"
meta-python/recipes-devtools/python/python-can_1.5.2.bb new file +4 -0
new file mode 100644
index 0000000..ec81a9e
@@ -0,0 +1,4 @@
+require python-can.inc
+inherit pypi setuptools
+
+RDEPENDS_${PN} += "python-sqlite3"
meta-python/recipes-devtools/python/python3-can_1.5.2.bb new file +4 -0
new file mode 100644
index 0000000..a1d45b8
@@ -0,0 +1,4 @@
+require python-can.inc
+inherit pypi setuptools3
+
+RDEPENDS_${PN} += "python3-sqlite3"
Signature · 1 line
2.7.4