Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-python][PATCH 0/2] A couple of python-paho-mqtt fixes
@ 2017-08-25  3:46 Paul Eggleton
  2017-08-25  3:46 ` [meta-python][PATCH 1/2] python-paho-mqtt: licensing improvements Paul Eggleton
  2017-08-25  3:46 ` [meta-python][PATCH 2/2] python-paho-mqtt: fix downloading during do_compile Paul Eggleton
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Eggleton @ 2017-08-25  3:46 UTC (permalink / raw)
  To: openembedded-devel

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

-- 
2.9.5



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-python][PATCH 1/2] python-paho-mqtt: licensing improvements
  2017-08-25  3:46 [meta-python][PATCH 0/2] A couple of python-paho-mqtt fixes Paul Eggleton
@ 2017-08-25  3:46 ` Paul Eggleton
  2017-08-25  3:46 ` [meta-python][PATCH 2/2] python-paho-mqtt: fix downloading during do_compile Paul Eggleton
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2017-08-25  3:46 UTC (permalink / raw)
  To: openembedded-devel

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

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt.inc b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
index 531fdf7..6cbde74 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt.inc
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
@@ -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
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-python][PATCH 2/2] python-paho-mqtt: fix downloading during do_compile
  2017-08-25  3:46 [meta-python][PATCH 0/2] A couple of python-paho-mqtt fixes Paul Eggleton
  2017-08-25  3:46 ` [meta-python][PATCH 1/2] python-paho-mqtt: licensing improvements Paul Eggleton
@ 2017-08-25  3:46 ` Paul Eggleton
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2017-08-25  3:46 UTC (permalink / raw)
  To: openembedded-devel

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.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta-python/recipes-devtools/python/python-paho-mqtt.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt.inc b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
index 6cbde74..ad1ce6a 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt.inc
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
@@ -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 \
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-25  3:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25  3:46 [meta-python][PATCH 0/2] A couple of python-paho-mqtt fixes Paul Eggleton
2017-08-25  3:46 ` [meta-python][PATCH 1/2] python-paho-mqtt: licensing improvements Paul Eggleton
2017-08-25  3:46 ` [meta-python][PATCH 2/2] python-paho-mqtt: fix downloading during do_compile Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox