From 9537cbdde4ec67a2cee952f127aa6aa45bcd8fa8 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 7 Mar 2018 15:20:39 +0800 Subject: [PATCH 1/2] python-paho-mqtt: remove the recipe The version of this recipe is lower than the one in meta-python, and the dependency is not correct which causes error: | ERROR: python setup.py build execution failed. | Couldn't find index page for 'pytest-runner' (maybe misspelled?) So remove the recipe and we can use the one in meta-python instead. Signed-off-by: Jackie Huang --- recipes-devtools/python/python-paho-mqtt.inc | 17 ----------------- .../python/python-paho-mqtt_1.3.0.bb | 6 ------ .../python/python3-paho-mqtt_1.3.0.bb | 7 ------- 3 files changed, 30 deletions(-) delete mode 100644 recipes-devtools/python/python-paho-mqtt.inc delete mode 100644 recipes-devtools/python/python-paho-mqtt_1.3.0.bb delete mode 100644 recipes-devtools/python/python3-paho-mqtt_1.3.0.bb diff --git a/recipes-devtools/python/python-paho-mqtt.inc b/recipes-devtools/python/python-paho-mqtt.inc deleted file mode 100644 index af5fdb9..0000000 --- a/recipes-devtools/python/python-paho-mqtt.inc +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "MQTT version 3.1/3.1.1 client library" -LICENSE = "EPL-1.0 | EDL-1.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc \ - file://epl-v10;md5=8d383c379e91d20ba18a52c3e7d3a979 \ - file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \ -" -SRCNAME = "paho-mqtt" - -inherit pypi -SRC_URI[md5sum] = "b9338236e2836e8579ef140956189cc4" -SRC_URI[sha256sum] = "2c9ef5494cfc1e41a9fff6544c5a2cd59ea5d401d9119a06ecf7fad6a2ffeb93" -DEPENDS += "${PYTHON_PN}-pytest-runner" -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-threading \ -" diff --git a/recipes-devtools/python/python-paho-mqtt_1.3.0.bb b/recipes-devtools/python/python-paho-mqtt_1.3.0.bb deleted file mode 100644 index 53fb744..0000000 --- a/recipes-devtools/python/python-paho-mqtt_1.3.0.bb +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright (C) 2017 Wind River Systems, Inc. -# License: MIT -# -inherit setuptools -require python-paho-mqtt.inc - diff --git a/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb b/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb deleted file mode 100644 index 73834e2..0000000 --- a/recipes-devtools/python/python3-paho-mqtt_1.3.0.bb +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (C) 2017 Wind River Systems, Inc. -# License: MIT -# - -inherit setuptools3 -require python-paho-mqtt.inc - From 90a6080312d7f84c7250d92fada048a5ef95f36e Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 7 Mar 2018 15:32:38 +0800 Subject: [PATCH 2/2] meta-device-cloud-whitelist.conf: add python3-paho-mqtt The recipe for python3-paho-mqtt is removed and add it in whitelist to use the one in meta-python. Signed-off-by: Jackie Huang --- conf/meta-device-cloud-whitelist.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/meta-device-cloud-whitelist.conf b/conf/meta-device-cloud-whitelist.conf index 8e43fb8..d186344 100644 --- a/conf/meta-device-cloud-whitelist.conf +++ b/conf/meta-device-cloud-whitelist.conf @@ -19,6 +19,7 @@ PNWHITELIST_meta-python_append += " \ python3-pytest-native \ python3-py-native \ python3-argparse-native \ + python3-paho-mqtt \ python-paho-mqtt \ python-pysocks \ python-certifi \