git: bf0f89714f5b - main - devel/pymsteams: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Oct 2023 19:26:25 UTC
The branch main has been updated by dbaio:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bf0f89714f5b0c44d3facb2c0926dbb8ce7779da
commit bf0f89714f5b0c44d3facb2c0926dbb8ce7779da
Author: Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2023-10-02 19:23:03 +0000
Commit: Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2023-10-02 19:23:24 +0000
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(+)
diff --git a/devel/Makefile b/devel/Makefile
index d74422db3763..4ddc31725530 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 000000000000..5515ae22f66f
--- /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 <bsd.port.mk>
diff --git a/devel/pymsteams/distinfo b/devel/pymsteams/distinfo
new file mode 100644
index 000000000000..ce610723c7d0
--- /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 000000000000..012896d25fce
--- /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.