Mypy: add python helper library

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
Thomas Klaehn 2017-06-15 11:50:43 +02:00
parent a2d101a4ac
commit 2438aed229
2 changed files with 32 additions and 0 deletions

View File

@ -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() {

View File

@ -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 \
"