git: cd8081bb5590 - main - net/py-errbot-backend-slackv3: Add py-errbot-backend-slackv3 0.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:17:19 UTC
The branch main has been updated by sunpoet:

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

commit cd8081bb5590971fa9d2d11a58e3d5f64c5436a3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:13:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:08 +0000

    net/py-errbot-backend-slackv3: Add py-errbot-backend-slackv3 0.2.1
    
    The err-backend-slackv3 backend lets you connect to the Slack messaging service
    using the Real-time Messaging Protocol, Events Request-URL or Events Socket
    mode.
---
 net/Makefile                            |  1 +
 net/py-errbot-backend-slackv3/Makefile  | 25 +++++++++++++++++++++++++
 net/py-errbot-backend-slackv3/distinfo  |  3 +++
 net/py-errbot-backend-slackv3/pkg-descr |  3 +++
 4 files changed, 32 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 31262ca61826..033f2b755090 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1052,6 +1052,7 @@
     SUBDIR += py-err-backend-discord
     SUBDIR += py-err-backend-mattermost
     SUBDIR += py-errbot
+    SUBDIR += py-errbot-backend-slackv3
     SUBDIR += py-eventlet
     SUBDIR += py-gdown
     SUBDIR += py-geopy
diff --git a/net/py-errbot-backend-slackv3/Makefile b/net/py-errbot-backend-slackv3/Makefile
new file mode 100644
index 000000000000..a404c47233c8
--- /dev/null
+++ b/net/py-errbot-backend-slackv3/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	errbot-backend-slackv3
+PORTVERSION=	0.2.1
+CATEGORIES=	net python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Errbot SlackV3 backend plugin
+WWW=		https://err-backend-slackv3.readthedocs.io/en/latest/ \
+		https://github.com/errbotio/err-backend-slackv3
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}markdown>=3.3.6:textproc/py-markdown@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}slack-sdk>=3.12.0:net-im/py-slack-sdk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}slackeventsapi>=3.0.0:net-im/py-slackeventsapi@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/py-errbot-backend-slackv3/distinfo b/net/py-errbot-backend-slackv3/distinfo
new file mode 100644
index 000000000000..58f1cc40a3c8
--- /dev/null
+++ b/net/py-errbot-backend-slackv3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708448840
+SHA256 (errbot-backend-slackv3-0.2.1.tar.gz) = 3eb2850b9571c11125d2638bc4c3e5688492c69d2c7642a992afbcc612118efb
+SIZE (errbot-backend-slackv3-0.2.1.tar.gz) = 31887
diff --git a/net/py-errbot-backend-slackv3/pkg-descr b/net/py-errbot-backend-slackv3/pkg-descr
new file mode 100644
index 000000000000..9b337b980a0b
--- /dev/null
+++ b/net/py-errbot-backend-slackv3/pkg-descr
@@ -0,0 +1,3 @@
+The err-backend-slackv3 backend lets you connect to the Slack messaging service
+using the Real-time Messaging Protocol, Events Request-URL or Events Socket
+mode.