From bf0f89714f5b0c44d3facb2c0926dbb8ce7779da Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio" Date: Mon, 2 Oct 2023 16:23:03 -0300 Subject: [PATCH] devel/pymsteams: New port 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/ --- devel/Makefile | 1 + devel/pymsteams/Makefile | 21 +++++++++++++++++++++ devel/pymsteams/distinfo | 3 +++ devel/pymsteams/pkg-descr | 4 ++++ 4 files changed, 29 insertions(+) create mode 100644 devel/pymsteams/Makefile create mode 100644 devel/pymsteams/distinfo create mode 100644 devel/pymsteams/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index d74422db37630..4ddc31725530c 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5886,6 +5886,7 @@ SUBDIR += pyenv SUBDIR += pygobject3-common SUBDIR += pylint + SUBDIR += pymsteams SUBDIR += pyobfuscate SUBDIR += pyotherside-qt5 SUBDIR += pyside2 diff --git a/devel/pymsteams/Makefile b/devel/pymsteams/Makefile new file mode 100644 index 0000000000000..5515ae22f66f1 --- /dev/null +++ b/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 diff --git a/devel/pymsteams/distinfo b/devel/pymsteams/distinfo new file mode 100644 index 0000000000000..ce610723c7d0d --- /dev/null +++ b/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 diff --git a/devel/pymsteams/pkg-descr b/devel/pymsteams/pkg-descr new file mode 100644 index 0000000000000..012896d25fce7 --- /dev/null +++ b/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.