mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
net-im/py-slackeventsapi: Add py-slackeventsapi 3.0.1
The Slack Events Adapter is a Python-based solution to receive and parse events from Slack's Events API. This library uses an event emitter framework to allow you to easily process Slack events by simply attaching functions to event listeners. This adapter enhances and simplifies Slack's Events API by incorporating useful best practices, patterns, and opportunities to abstract out common tasks.
This commit is contained in:
parent
fa39b281ad
commit
51e1402c84
@ -116,6 +116,7 @@
|
||||
SUBDIR += py-punjab
|
||||
SUBDIR += py-python-telegram-bot
|
||||
SUBDIR += py-slack-sdk
|
||||
SUBDIR += py-slackeventsapi
|
||||
SUBDIR += py-slixmpp
|
||||
SUBDIR += py-telepot
|
||||
SUBDIR += py-toxcore-c
|
||||
|
22
net-im/py-slackeventsapi/Makefile
Normal file
22
net-im/py-slackeventsapi/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
PORTNAME= slackeventsapi
|
||||
PORTVERSION= 3.0.1
|
||||
CATEGORIES= net-im python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Python Slack Events API adapter for Flask
|
||||
WWW= https://github.com/slackapi/python-slack-events-api
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=2:www/py-flask@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyee>=8:devel/py-pyee@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-im/py-slackeventsapi/distinfo
Normal file
3
net-im/py-slackeventsapi/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1708448844
|
||||
SHA256 (slackeventsapi-3.0.1.tar.gz) = 24f8e843a60118b08368161105bae8a998801202f85782239d48f8635e2ead58
|
||||
SIZE (slackeventsapi-3.0.1.tar.gz) = 7309
|
11
net-im/py-slackeventsapi/files/patch-setup.py
Normal file
11
net-im/py-slackeventsapi/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig 2021-11-30 08:16:52 UTC
|
||||
+++ setup.py
|
||||
@@ -34,7 +34,7 @@ setup(name='slackeventsapi',
|
||||
long_description_content_type='text/x-rst',
|
||||
long_description=long_description,
|
||||
install_requires=[
|
||||
- 'flask>=2,<3',
|
||||
+ 'flask>=2',
|
||||
'pyee>=8',
|
||||
],
|
||||
classifiers=[
|
7
net-im/py-slackeventsapi/pkg-descr
Normal file
7
net-im/py-slackeventsapi/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
The Slack Events Adapter is a Python-based solution to receive and parse events
|
||||
from Slack's Events API. This library uses an event emitter framework to allow
|
||||
you to easily process Slack events by simply attaching functions to event
|
||||
listeners.
|
||||
|
||||
This adapter enhances and simplifies Slack's Events API by incorporating useful
|
||||
best practices, patterns, and opportunities to abstract out common tasks.
|
Loading…
Reference in New Issue
Block a user