git: 71f8484b46cf - main - net/py-paho-mqtt: Update to 2.0.0

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Fri, 16 Feb 2024 19:55:21 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71f8484b46cf7849c13979cf3ca64e7b6ed4392b

commit 71f8484b46cf7849c13979cf3ca64e7b6ed4392b
Author:     Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
AuthorDate: 2024-02-16 19:54:29 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2024-02-16 19:54:29 +0000

    net/py-paho-mqtt: Update to 2.0.0
    
    Changes: https://pypi.org/project/paho-mqtt/2.0.0/
    
    PR:             276989
    Approved by:    submitter/maintainer
---
 net/py-paho-mqtt/Makefile | 7 +++++--
 net/py-paho-mqtt/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/net/py-paho-mqtt/Makefile b/net/py-paho-mqtt/Makefile
index c26c383443ab..179cf3400863 100644
--- a/net/py-paho-mqtt/Makefile
+++ b/net/py-paho-mqtt/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	paho-mqtt
-PORTVERSION=	1.6.1
+DISTVERSION=	2.0.0
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	paho_mqtt-${DISTVERSION}
 
 MAINTAINER=	joe@thrallingpenguin.com
 COMMENT=	MQTT version 3.1/3.1.1 client class
@@ -11,8 +12,10 @@ WWW=		https://www.eclipse.org/paho/
 LICENSE=	EPL
 LICENSE_FILE=	${WRKSRC}/edl-v10
 
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} 
+
 USES=		python shebangfix
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist concurrent pep517
 SHEBANG_FILES=	examples/*.py
 
 NO_ARCH=	yes
diff --git a/net/py-paho-mqtt/distinfo b/net/py-paho-mqtt/distinfo
index 22cc41e56e35..0df9dff204ea 100644
--- a/net/py-paho-mqtt/distinfo
+++ b/net/py-paho-mqtt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1643543609
-SHA256 (paho-mqtt-1.6.1.tar.gz) = 2a8291c81623aec00372b5a85558a372c747cbca8e9934dfe218638b8eefc26f
-SIZE (paho-mqtt-1.6.1.tar.gz) = 99373
+TIMESTAMP = 1707677388
+SHA256 (paho_mqtt-2.0.0.tar.gz) = 13b205f29251e4f2c66a6c923c31fc4fd780561e03b2d775cff8e4f2915cf947
+SIZE (paho_mqtt-2.0.0.tar.gz) = 147711