[oe-commits] [meta-openembedded] 03/43: python-paho-mqtt: make recipe available as python3 version

git at git.openembedded.org git at git.openembedded.org
Tue Apr 18 12:25:55 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 4175dc4a8b6a5c452133dbc149b0b77b5aed13cb
Author: Pascal Bach <pascal.bach at siemens.com>
AuthorDate: Thu Apr 6 14:05:21 2017 +0200

    python-paho-mqtt: make recipe available as python3 version
    
    Signed-off-by: Pascal Bach <pascal.bach at siemens.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../{python-paho-mqtt_1.2.bb => python-paho-mqtt.inc}    | 13 ++++++-------
 .../recipes-devtools/python/python-paho-mqtt_1.2.bb      | 16 ++--------------
 .../recipes-devtools/python/python3-paho-mqtt_1.2.bb     |  3 +++
 3 files changed, 11 insertions(+), 21 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
similarity index 73%
copy from meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
copy to meta-python/recipes-devtools/python/python-paho-mqtt.inc
index c8acfc5..7ff3fb2 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt.inc
@@ -3,13 +3,12 @@ LICENSE = "EPL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc"
 SRCNAME = "paho-mqtt"
 
-inherit pypi setuptools
+inherit pypi
+SRC_URI[md5sum] = "241150b3fcb920ddca4d33181f3238b1"
+SRC_URI[sha256sum] = "9100a6aa706ab699d414ec02705a21eb66f436184691d0bf1f2a85a6213c6c1f"
 
 RDEPENDS_${PN} = "\
-               python-math \
-               python-io \
-               python-threading \
+               ${PYTHON_PN}-math \
+               ${PYTHON_PN}-io \
+               ${PYTHON_PN}-threading \
 "
-
-SRC_URI[md5sum] = "241150b3fcb920ddca4d33181f3238b1"
-SRC_URI[sha256sum] = "9100a6aa706ab699d414ec02705a21eb66f436184691d0bf1f2a85a6213c6c1f"
diff --git a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb b/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
index c8acfc5..f369b2e 100644
--- a/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
+++ b/meta-python/recipes-devtools/python/python-paho-mqtt_1.2.bb
@@ -1,15 +1,3 @@
-SUMMARY = "MQTT version 3.1/3.1.1 client library"
-LICENSE = "EPL-1.0"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eb48c6ee2cb9f5b8b9fe75e6f817bdfc"
-SRCNAME = "paho-mqtt"
+inherit setuptools
+require python-paho-mqtt.inc
 
-inherit pypi setuptools
-
-RDEPENDS_${PN} = "\
-               python-math \
-               python-io \
-               python-threading \
-"
-
-SRC_URI[md5sum] = "241150b3fcb920ddca4d33181f3238b1"
-SRC_URI[sha256sum] = "9100a6aa706ab699d414ec02705a21eb66f436184691d0bf1f2a85a6213c6c1f"
diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb
new file mode 100644
index 0000000..4981e61
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_1.2.bb
@@ -0,0 +1,3 @@
+inherit setuptools3
+require python-paho-mqtt.inc
+

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


More information about the Openembedded-commits mailing list