From 5e675238676356d91770e5649c1df9b8cce9c64b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 19 Jun 2024 15:20:19 +0300 Subject: python3-paho-mqtt: Upgrade 2.0.0 -> 2.1.0 Upgrade to release 2.1.0: - Make transition from 1.x to 2.x version smoother - Fix "protocol" property - Fix publish() a bytearray payload - Fix some type annotations - Fix loop_stop() not stopping thread when called from callback - Fix some documentation errors - Add support for Unix socket - Fix flaky test Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-paho-mqtt_2.0.0.bb | 37 ---------------------- .../python/python3-paho-mqtt_2.1.0.bb | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-paho-mqtt_2.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.0.0.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.0.0.bb deleted file mode 100644 index e4cf77a134..0000000000 --- a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.0.0.bb +++ /dev/null @@ -1,37 +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=8e5f264c6988aec56808a3a11e77b913 \ - file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \ -" -SRCNAME = "paho-mqtt" - -inherit pypi python_hatchling python_setuptools_build_meta - -SRC_URI[sha256sum] = "13b205f29251e4f2c66a6c923c31fc4fd780561e03b2d775cff8e4f2915cf947" - -PYPI_SRC_URI = "https://files.pythonhosted.org/packages/73/b7/a4df0f93bbdae237e16ba402752151eceee576cbe80c235a2475fbf81eea/paho_mqtt-${PV}.tar.gz" - -S = "${WORKDIR}/paho_mqtt-${PV}" - -DEPENDS += "python3-pytest-runner-native" - -do_install:append() { - install -d -m0755 ${D}${datadir}/${BPN}/examples - cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples -} - -PACKAGES =+ "${PN}-examples" - -RDEPENDS:${PN}-examples += "${PN} python3-core" - -FILES:${PN}-examples = "${datadir}/${BPN}/examples" - -RDEPENDS:${PN} = "\ - python3-io \ - python3-logging \ - python3-math \ - python3-netclient \ - python3-threading \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb new file mode 100644 index 0000000000..0c3e6e9266 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb @@ -0,0 +1,37 @@ +SUMMARY = "MQTT version 3.1/3.1.1 client library" +LICENSE = "EPL-1.0 | EDL-1.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \ + file://edl-v10;md5=c09f121939f063aeb5235972be8c722c \ +" +SRCNAME = "paho-mqtt" + +inherit pypi python_hatchling python_setuptools_build_meta + +SRC_URI[sha256sum] = "12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1723834" + +PYPI_SRC_URI = "https://files.pythonhosted.org/packages/39/15/0a6214e76d4d32e7f663b109cf71fb22561c2be0f701d67f93950cd40542/paho_mqtt-${PV}.tar.gz" + +S = "${WORKDIR}/paho_mqtt-${PV}" + +DEPENDS += "python3-pytest-runner-native" + +do_install:append() { + install -d -m0755 ${D}${datadir}/${BPN}/examples + cp --preserve=mode,timestamps -R ${S}/examples/* ${D}${datadir}/${BPN}/examples +} + +PACKAGES =+ "${PN}-examples" + +RDEPENDS:${PN}-examples += "${PN} python3-core" + +FILES:${PN}-examples = "${datadir}/${BPN}/examples" + +RDEPENDS:${PN} = "\ + python3-io \ + python3-logging \ + python3-math \ + python3-netclient \ + python3-threading \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf