[oe-commits] [meta-openembedded] 66/74: python-paho-mqtt: fix downloading during do_compile

git at git.openembedded.org git at git.openembedded.org
Mon Aug 28 09:05:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 2951fb898e7c761e3071521b58c9aa6cc746fba3
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Fri Aug 25 15:46:27 2017 +1200

    python-paho-mqtt: fix downloading during do_compile
    
    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 at linux.intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list