Skip to contentSkip to conversation

A couple of python-paho-mqtt fixes

PATCH New Paul Eggleton 1 participant 3 messages Aug 25, 2017

lore
Share & tools
lore
#0 lore raw

cover A couple of python-paho-mqtt fixes

The following changes since commit ac2a6d2b5d69937577effcb8bb2149651bac0176:

json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200)

are available in the git repository at:

git://git.openembedded.org/meta-openembedded-contrib paule/python-paho-mqtt-fixes
http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=paule/python-paho-mqtt-fixes

Paul Eggleton (2):
python-paho-mqtt: licensing improvements
python-paho-mqtt: fix downloading during do_compile

 meta-python/recipes-devtools/python/python-paho-mqtt.inc | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.9.5
#1 lore raw

PATCH 1/2 python-paho-mqtt: licensing improvements

* Make LICENSE more accurate - it's dual licensed
* Include the actual license text files in LIC_FILES_CHKSUM

---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python-paho-mqtt.inc +5 -2
index 531fdf7..6cbde74 100644
@@ -1,6 +1,9 @@
 SUMMARY = "MQTT version 3.1/3.1.1 client library"
-LICENSE = "EPL-1.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc"
+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
Signature · 1 line
2.9.5
#2 lore raw

PATCH 2/2 python-paho-mqtt: fix downloading during do_compile

In reply to Paul Eggleton

During do_compile if setup.py finds that pytest-runner - which is declared as a setup dependency in setup.py - isn't available it was attempting to download it from pypi, which is problematic if you are behind a proxy because the environment for do_compile isn't set up for that. Add an appropriate native dependency to prevent this situation.

---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python-paho-mqtt.inc +2 -0
index 6cbde74..ad1ce6a 100644
@@ -10,6 +10,8 @@ inherit pypi
 SRC_URI[md5sum] = "b9338236e2836e8579ef140956189cc4"
 SRC_URI[sha256sum] = "2c9ef5494cfc1e41a9fff6544c5a2cd59ea5d401d9119a06ecf7fad6a2ffeb93"
 
+DEPENDS += "${PYTHON_PN}-pytest-runner-native"
+
 RDEPENDS_${PN} = "\
                ${PYTHON_PN}-math \
                ${PYTHON_PN}-io \
Signature · 1 line
2.9.5