Fri Oct 22 13:44:40 2021 UTC ()
net/py-paho-mqtt: Update to 1.6.1

Upstream changes:

1.6.1:
  fix python27, broken in 1.6.0

1.6.0:

  - Big performance improvement when receiving large payloads,
  particularly for SSL. Closes #571,
  - Add basic MQTT v5 support to the subscribe and publish helper
  functions. Closes #575.
  - Changed default TLS version to 1.2 instead of 1.0.
  - Remove _out_packet_mutex and _current_out_packet_mutex and convert
  the _out_packet queue use to thread safe (simplifies the internals)
  - Callbacks can now be applied to client instances using decorators.
  - The `rc` parameter in the `on_disconnect` callback now has
  meaningful values in the case of an error. Closes #441.
  - Remove periodic retry checks for outgoing messages with QoS>0. This
  means that outgoing messages will only be retried on the client
  reconnecting to the server. They will *not* be retried when the client
  is still connected.
  - MQTTMessageInfo.wait_for_publish() and
  MQTTMessageInfo.is_published() will now raise exceptions if called
  when the publish call produced an error. Closes #550.
  - Raise exceptions when attempting to set MQTT v5 properties to
  forbidden values. Closes #586.
  - PUBACK messages are now sent to the broker only after the on_message
  callback has - Add timeout to
  MQTTMessageInfo:wait_for_publish().returned.
  - Add timeout to MQTTMessageInfo:wait_for_publish().
  - Removed ancient Mosquitto compatibility class.

  bugfixes


(gdt)
diff -r1.7 -r1.8 pkgsrc/net/py-paho-mqtt/Makefile
diff -r1.5 -r1.6 pkgsrc/net/py-paho-mqtt/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/net/py-paho-mqtt/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-paho-mqtt/Makefile 2021/10/21 11:36:04 1.7
+++ pkgsrc/net/py-paho-mqtt/Makefile 2021/10/22 13:44:40 1.8
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.7 2021/10/21 11:36:04 adam Exp $ 1# $NetBSD: Makefile,v 1.8 2021/10/22 13:44:40 gdt Exp $
2 2
3DISTNAME= paho-mqtt-1.6.0 3DISTNAME= paho-mqtt-1.6.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= ${MASTER_SITE_PYPI:=p/paho-mqtt/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/paho-mqtt/}
7 7
8MAINTAINER= gdt@NetBSD.org 8MAINTAINER= gdt@NetBSD.org
9HOMEPAGE= https://www.eclipse.org/paho/ 9HOMEPAGE= https://www.eclipse.org/paho/
10COMMENT= MQTT version 3.1.1 client class 10COMMENT= MQTT version 3.1.1 client class
11LICENSE= epl-v1.0 11LICENSE= epl-v1.0
12 12
13# tests are not included 13# tests are not included
14#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner 14#BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
15#TEST_DEPENDS+= ${PYPKGPREFIX}-lama>=7.6.6:../../devel/py-lama 15#TEST_DEPENDS+= ${PYPKGPREFIX}-lama>=7.6.6:../../devel/py-lama
16#TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six 16#TEST_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six

cvs diff -r1.5 -r1.6 pkgsrc/net/py-paho-mqtt/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-paho-mqtt/distinfo 2021/10/21 11:36:04 1.5
+++ pkgsrc/net/py-paho-mqtt/distinfo 2021/10/22 13:44:40 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2021/10/21 11:36:04 adam Exp $ 1$NetBSD: distinfo,v 1.6 2021/10/22 13:44:40 gdt Exp $
2 2
3RMD160 (paho-mqtt-1.6.0.tar.gz) = 3c6fc5865f7eb7457dbd2a37b816294f58ca6030 3RMD160 (paho-mqtt-1.6.1.tar.gz) = d6bccf7fdb166109d901a63fafc99432c195ef68
4SHA512 (paho-mqtt-1.6.0.tar.gz) = e84dbcf748fda2f4cfa41ad2698e96385029d1bc3f67848388d21d419e539b4434dce646ad4f21407ffedb4cbb2941d0a2cc68f6288a9b4e3e4d062f9f997812 4SHA512 (paho-mqtt-1.6.1.tar.gz) = 74e090eab347f2a629c76aed8116dd9e435f87d8ad7ca4944c1ae48538d34a0a34a83eb672158c5a12452e753838aa55347bf44ec8bfc3d28bd939591a6efbe5
5Size (paho-mqtt-1.6.0.tar.gz) = 99326 bytes 5Size (paho-mqtt-1.6.1.tar.gz) = 99373 bytes