git: 64ba2ee00a82 - main - net-im/py-apprise: new port: send notifications

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 05:27:35 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=64ba2ee00a82abf271a8902b72b00d5cb4ea0fa0

commit 64ba2ee00a82abf271a8902b72b00d5cb4ea0fa0
Author:     Nicholas Kirby <nick@kirby.cx>
AuthorDate: 2024-06-16 05:23:36 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-06-16 05:27:04 +0000

    net-im/py-apprise: new port: send notifications
    
    Apprise allows you to send a notification to almost all of the
    most popular notification services available to us today such as:
    Telegram, Discord, Slack, Amazon SNS, Gotify, etc.
    
    PR:             278707
    Differential Revision:  https://reviews.freebsd.org/D45169
---
 net-im/Makefile             |  1 +
 net-im/py-apprise/Makefile  | 32 ++++++++++++++++++++++++++++++++
 net-im/py-apprise/distinfo  |  3 +++
 net-im/py-apprise/pkg-descr |  3 +++
 4 files changed, 39 insertions(+)

diff --git a/net-im/Makefile b/net-im/Makefile
index 740c9532a0bc..64c5611b0217 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -108,6 +108,7 @@
     SUBDIR += purple-plugin-pack
     SUBDIR += purple-rocketchat
     SUBDIR += purple-slack
+    SUBDIR += py-apprise
     SUBDIR += py-fbmq
     SUBDIR += py-matrix-synapse
     SUBDIR += py-mattermostdriver
diff --git a/net-im/py-apprise/Makefile b/net-im/py-apprise/Makefile
new file mode 100644
index 000000000000..196f27608ae5
--- /dev/null
+++ b/net-im/py-apprise/Makefile
@@ -0,0 +1,32 @@
+PORTNAME=	apprise
+DISTVERSION=	1.8.0
+CATEGORIES=	net-im python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	nick@kirby.cx
+COMMENT=	Push Notifications that work with just about every platform!
+WWW=		https://github.com/caronc/apprise
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}gntp>0:net/py-gntp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}paho-mqtt>0:net/py-paho-mqtt@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests-oauthlib>0:www/py-requests-oauthlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
+
+USES=		pytest python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net-im/py-apprise/distinfo b/net-im/py-apprise/distinfo
new file mode 100644
index 000000000000..44797d28a537
--- /dev/null
+++ b/net-im/py-apprise/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715916468
+SHA256 (apprise-1.8.0.tar.gz) = e8f58cebfea1a34f569cb4c68809a3175be80ec06f0a2ec473522b92023212c5
+SIZE (apprise-1.8.0.tar.gz) = 1651688
diff --git a/net-im/py-apprise/pkg-descr b/net-im/py-apprise/pkg-descr
new file mode 100644
index 000000000000..77bb3798c33c
--- /dev/null
+++ b/net-im/py-apprise/pkg-descr
@@ -0,0 +1,3 @@
+Apprise allows you to send a notification to almost all of the
+most popular notification services available to us today such as:
+Telegram, Discord, Slack, Amazon SNS, Gotify, etc.