summaryrefslogtreecommitdiff
path: root/mail/py-mailsuite
diff options
context:
space:
mode:
Diffstat (limited to 'mail/py-mailsuite')
-rw-r--r--mail/py-mailsuite/Makefile25
-rw-r--r--mail/py-mailsuite/distinfo3
-rw-r--r--mail/py-mailsuite/pkg-descr23
3 files changed, 51 insertions, 0 deletions
diff --git a/mail/py-mailsuite/Makefile b/mail/py-mailsuite/Makefile
new file mode 100644
index 000000000000..2f55fa4c030f
--- /dev/null
+++ b/mail/py-mailsuite/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= mailsuite
+PORTVERSION= 1.6.0
+CATEGORIES= mail python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= meka@tilda.center
+COMMENT= Python package to simplify receiving, parsing, and sending email
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.13.0:devel/py-six@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}imapclient>=2.1.0:mail/py-imapclient@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mail-parser>=3.11.0:mail/py-mail-parser@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dnspython>=1.16.0:dns/py-dnspython@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}html2text>=2020.1.16:textproc/py-html2text@${PY_FLAVOR}
+
+USES= python:3.4+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/mail/py-mailsuite/distinfo b/mail/py-mailsuite/distinfo
new file mode 100644
index 000000000000..e268282484b7
--- /dev/null
+++ b/mail/py-mailsuite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1604324319
+SHA256 (mailsuite-1.6.0.tar.gz) = 8dd58bc131dd66294fa8d4bf39ac676c88017afef958f1c5ac74c797135c228b
+SIZE (mailsuite-1.6.0.tar.gz) = 10641
diff --git a/mail/py-mailsuite/pkg-descr b/mail/py-mailsuite/pkg-descr
new file mode 100644
index 000000000000..2d8495a5d8ce
--- /dev/null
+++ b/mail/py-mailsuite/pkg-descr
@@ -0,0 +1,23 @@
+A Python package to simplify receiving, parsing, and sending email
+Features
+ * Receive emails via IMAP
+ * Retrieve email from any folder
+ * Create new folders
+ * Move messages to other folders
+ * Delete messages
+ * Monitor folders for new messages using the IMAP IDLE command
+ * Always use / as the folder hierarchy separator, and convert
+ to the server's hierarchy separator in the background
+ * Always remove folder name characters that conflict with the
+ server's hierarchy separators
+ * Prepend the namespace to the folder path when required
+ * Automatically reconnect when needed
+ * Work around quirks in Gmail/G-suite, Office 365, Exchange,
+ Dovcot, and DavMail
+ * Consistent email parsing
+ * SHA256 hashes of attachments
+ * Simplified email sending via SMTP
+ * Uses opportunistic encryption (STARTTLS) by default
+ * Easily add attachments, plain text, and HTML
+
+WWW: https://github.com/seanthegeek/mailsuite