mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
net-im/py-slack-sdk: New PORT
The Slack platform offers several APIs to build apps. Each Slack API delivers part of the capabilities from the platform, so that you can pick just those that fit for your needs. This SDK offers a corresponding package for each of Slack’s APIs. They are small and powerful when used independently, and work seamlessly when used together, too. WWW: https://slack.dev/python-slack-sdk/
This commit is contained in:
parent
08d479599d
commit
2969348f1e
@ -126,6 +126,7 @@
|
||||
SUBDIR += py-nbxmpp
|
||||
SUBDIR += py-punjab
|
||||
SUBDIR += py-python-telegram-bot
|
||||
SUBDIR += py-slack-sdk
|
||||
SUBDIR += py-slackclient
|
||||
SUBDIR += py-slixmpp
|
||||
SUBDIR += py-telepot
|
||||
|
35
net-im/py-slack-sdk/Makefile
Normal file
35
net-im/py-slack-sdk/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
PORTNAME= slack-sdk
|
||||
PORTVERSION= 3.15.2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= net-im python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Slack SDK for several API
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>3.5.2:www/py-aiohttp@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
# PyPi sdist do not have tests
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= slackapi
|
||||
GH_PROJECT= python-${PORTNAME}
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= ASYNCDNS
|
||||
OPTIONS_DEFAULT= ASYNCDNS
|
||||
|
||||
ASYNCDNS_DESC= Asyncronous DNS support
|
||||
|
||||
ASYNCDNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>1.0:dns/py-aiodns@${PY_FLAVOR}
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-im/py-slack-sdk/distinfo
Normal file
3
net-im/py-slack-sdk/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1647205731
|
||||
SHA256 (slackapi-python-slack-sdk-v3.15.2_GH0.tar.gz) = edde4bf7717650ef29b723acf409cf0c50e590472f97f1b0e4b7ad6b895396f9
|
||||
SIZE (slackapi-python-slack-sdk-v3.15.2_GH0.tar.gz) = 3726526
|
7
net-im/py-slack-sdk/pkg-descr
Normal file
7
net-im/py-slack-sdk/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
The Slack platform offers several APIs to build apps. Each Slack API
|
||||
delivers part of the capabilities from the platform, so that you can
|
||||
pick just those that fit for your needs. This SDK offers a corresponding
|
||||
package for each of Slack’s APIs. They are small and powerful when used
|
||||
independently, and work seamlessly when used together, too.
|
||||
|
||||
WWW: https://slack.dev/python-slack-sdk/
|
Loading…
Reference in New Issue
Block a user