Skip to content

Commit

Permalink
devel/pymsteams: New port
Browse files Browse the repository at this point in the history
Python Wrapper Library to send requests to Microsoft Teams Webhooks. Microsoft
refers to these messages as Connector Cards. A message can be sent with only
the main Connector Card, or additional sections can be included into the
message.

https://pypi.org/project/pymsteams/
  • Loading branch information
dbaio committed Oct 2, 2023
1 parent ac5deb5 commit bf0f897
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -5886,6 +5886,7 @@
SUBDIR += pyenv
SUBDIR += pygobject3-common
SUBDIR += pylint
SUBDIR += pymsteams
SUBDIR += pyobfuscate
SUBDIR += pyotherside-qt5
SUBDIR += pyside2
Expand Down
21 changes: 21 additions & 0 deletions devel/pymsteams/Makefile
@@ -0,0 +1,21 @@
PORTNAME= pymsteams
DISTVERSION= 0.2.2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= dbaio@FreeBSD.org
COMMENT= Python Wrapper Library to send requests to Microsoft Teams Webhooks
WWW= https://pypi.org/project/pymsteams/

LICENSE= APACHE20

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.20.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}httpx>=0.18.2:www/py-httpx@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions devel/pymsteams/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1696274151
SHA256 (pymsteams-0.2.2.tar.gz) = 5696dc987b47b498825b8f095863edbdcff126db774b83aa246559c5f1f08ec6
SIZE (pymsteams-0.2.2.tar.gz) = 9586
4 changes: 4 additions & 0 deletions devel/pymsteams/pkg-descr
@@ -0,0 +1,4 @@
Python Wrapper Library to send requests to Microsoft Teams Webhooks. Microsoft
refers to these messages as Connector Cards. A message can be sent with only
the main Connector Card, or additional sections can be included into the
message.

0 comments on commit bf0f897

Please sign in to comment.