python3-paho-mqtt: consolidate into a single file

For details see [1]

[1] - https://lists.openembedded.org/g/openembedded-devel/topic/72718415

Suggested-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Pierre-Jean Texier
2020-04-12 17:03:34 +02:00
committed by Khem Raj
parent 210aa4e1f2
commit b1e4660b6e
2 changed files with 21 additions and 24 deletions

View File

@@ -1,22 +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] = "45e80d9b8066a8d0ba1ecfffe271bd3d"
SRC_URI[sha256sum] = "e3d286198baaea195c8b3bc221941d25a3ab0e1507fc1779bdb7473806394be4"
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
RDEPENDS_${PN} = "\
${PYTHON_PN}-io \
${PYTHON_PN}-logging \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-threading \
"

View File

@@ -1,3 +1,22 @@
inherit setuptools3
require python-paho-mqtt.inc
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 setuptools3
SRC_URI[md5sum] = "45e80d9b8066a8d0ba1ecfffe271bd3d"
SRC_URI[sha256sum] = "e3d286198baaea195c8b3bc221941d25a3ab0e1507fc1779bdb7473806394be4"
DEPENDS += "${PYTHON_PN}-pytest-runner-native"
RDEPENDS_${PN} = "\
${PYTHON_PN}-io \
${PYTHON_PN}-logging \
${PYTHON_PN}-math \
${PYTHON_PN}-netclient \
${PYTHON_PN}-threading \
"