git: 53fec2142f28 - main - sysutils/py-mqttwarn: Update to 0.34.0

From: Dan Langille <dvl_at_FreeBSD.org>
Date: Sat, 29 Apr 2023 15:45:12 UTC
The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=53fec2142f28f66aea0fe9b0edfb2d082b5ddbaa

commit 53fec2142f28f66aea0fe9b0edfb2d082b5ddbaa
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2023-04-29 15:40:45 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2023-04-29 15:45:08 +0000

    sysutils/py-mqttwarn: Update to 0.34.0
    
    Add a new run-time dependency: devel/py-funcy
    
    Start using pep517 instead of distutils
    
    While here, run portfmt
---
 sysutils/py-mqttwarn/Makefile                      | 33 ++++++++++++----------
 sysutils/py-mqttwarn/distinfo                      |  6 ++--
 .../patch-mqttwarn_examples_basic_mqttwarn.ini     | 12 --------
 3 files changed, 21 insertions(+), 30 deletions(-)

diff --git a/sysutils/py-mqttwarn/Makefile b/sysutils/py-mqttwarn/Makefile
index 4cbc19dbb01d..848547574765 100644
--- a/sysutils/py-mqttwarn/Makefile
+++ b/sysutils/py-mqttwarn/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mqttwarn
-DISTVERSION=	0.31.0
+DISTVERSION=	0.34.0
 CATEGORIES=	sysutils python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,20 +10,24 @@ WWW=		https://github.com/jpmens/mqttwarn
 
 LICENSE=	EPL
 
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}six>=1.13.0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}paho-mqtt>=1.4.0:net/py-paho-mqtt@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}attrs>=19.3.0:devel/py-attrs@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}docopt>=0.6.2:devel/py-docopt@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}configparser>=3.5.3:devel/py-configparser@${PY_FLAVOR}
-
 # based on setup.py : tests_require=extras['test'],
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}versioningit>=0:devel/py-versioningit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}attrs>=19.3.0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}docopt>=0.6.2:devel/py-docopt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}funcy>0:devel/py-funcy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}future>=0.18.2:devel/py-future@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.1:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}paho-mqtt>=1.4.0:net/py-paho-mqtt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.13.0:devel/py-six@${PY_FLAVOR}
+
 USES=		python:3.6+ shebangfix
-USE_PYTHON=	autoplist concurrent distutils
+
+USE_PYTHON=	autoplist concurrent pep517
 SHEBANG_REGEX=	'.*\.py$$'
 
 NO_ARCH=	yes
@@ -32,14 +36,13 @@ NO_ARCH=	yes
 # The following were omitted because their dependencies are not found in the
 # FreeBSD port tree: AMQP APPRISE ASTERISK FBCHAT IOHUB NMA NSCA OSXNOTIFY PASTEBINPUB PROWL PUSHBULLET
 #                    SLACK TOOTPASTE XIVELY XMPP
-OPTIONS_DEFINE=	DOCS EXAMPLES \
-		APNS CELERY DNSUPDATE GSS2 MYSQL POSTGRES REISPUB RRDTOOL \
-		SERIAL SSH TWILIO TWITTER WEBSOCKET
+OPTIONS_DEFINE=	APNS CELERY DNSUPDATE DOCS EXAMPLES GSS2 MYSQL POSTGRES REISPUB \
+		RRDTOOL SERIAL SSH TWILIO TWITTER WEBSOCKET
 
 USERS=		mqttwarn
 GROUPS=		mqttwarn
 
-SUB_FILES=	pkg-message mqttwarn
+SUB_FILES=	mqttwarn pkg-message
 
 APNS_DESC=	Apple Push Notifications
 CELERY_DESC=	Asynchronous task queue/job queue
diff --git a/sysutils/py-mqttwarn/distinfo b/sysutils/py-mqttwarn/distinfo
index f2534e30d37e..a17710a413e5 100644
--- a/sysutils/py-mqttwarn/distinfo
+++ b/sysutils/py-mqttwarn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669052917
-SHA256 (mqttwarn-0.31.0.tar.gz) = 22a12c086221dc45a38d0a4970d169fd5b28d55a34318e0d398ecee008f24519
-SIZE (mqttwarn-0.31.0.tar.gz) = 123927
+TIMESTAMP = 1682779873
+SHA256 (mqttwarn-0.34.0.tar.gz) = 6f5727091ec1d5dd8471b4da52cd85a16e6b5be88e32dc834e84c400f0464db6
+SIZE (mqttwarn-0.34.0.tar.gz) = 86666
diff --git a/sysutils/py-mqttwarn/files/patch-mqttwarn_examples_basic_mqttwarn.ini b/sysutils/py-mqttwarn/files/patch-mqttwarn_examples_basic_mqttwarn.ini
deleted file mode 100644
index d89c36931571..000000000000
--- a/sysutils/py-mqttwarn/files/patch-mqttwarn_examples_basic_mqttwarn.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-# If we don't comment this out, the daemon will fail to start
---- mqttwarn/examples/basic/mqttwarn.ini.orig	2019-12-27 00:39:16 UTC
-+++ mqttwarn/examples/basic/mqttwarn.ini
-@@ -50,7 +50,7 @@ loglevel  = DEBUG
- ; --------
- 
- ; path to file containing self-defined functions for formatmap and datamap
--functions = 'samplefuncs.py'
-+#functions = 'samplefuncs.py'
- 
- ; name the service providers you will be using.
- launch    = file, log