From 2438aed229937ad91eb828f38013e7c900696034 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Thu, 15 Jun 2017 11:50:43 +0200 Subject: [PATCH] Mypy: add python helper library Signed-off-by: Thomas Klaehn --- images/console-image.bb | 6 ++++++ recipes-devtools/mypy/mypy_0.3.0.bb | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 recipes-devtools/mypy/mypy_0.3.0.bb diff --git a/images/console-image.bb b/images/console-image.bb index 44b245e..60784a2 100644 --- a/images/console-image.bb +++ b/images/console-image.bb @@ -62,6 +62,11 @@ EXTRA_TOOLS_INSTALL = " \ MQTT = " \ python-paho-mqtt \ " + +PYTHON_LIBS = " \ + mypy \ +" + IMAGE_INSTALL += " \ ${CORE_OS} \ ${DEV_SDK_INSTALL} \ @@ -69,6 +74,7 @@ IMAGE_INSTALL += " \ ${KERNEL_EXTRA_INSTALL} \ ${WIFI_SUPPORT} \ ${MQTT} \ + ${PYTHON_LIBS} \ " set_local_timezone() { diff --git a/recipes-devtools/mypy/mypy_0.3.0.bb b/recipes-devtools/mypy/mypy_0.3.0.bb new file mode 100644 index 0000000..ac633d2 --- /dev/null +++ b/recipes-devtools/mypy/mypy_0.3.0.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "python hardware abstraction" +SECTION = "devtools" +LICENSE = "MIT" + +PV = "0.3.0" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +S = "${WORKDIR}/git/source" + +inherit setuptools + +SRC_URI = " \ + git://gitlab.blackfinn.de/python/mypy.git;protocol=https;tag=0.3.0 \ +" +SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3" + + +DEPENDS = " \ + python \ +" + +RDEPENDS_${PN} = " \ + python-paho-mqtt \ +" +