summaryrefslogtreecommitdiff
path: root/mail/py-imapclient
diff options
context:
space:
mode:
authorLoïc Bartoletti <lbartoletti@FreeBSD.org>2021-03-04 11:47:56 +0000
committerLoïc Bartoletti <lbartoletti@FreeBSD.org>2021-03-04 11:47:56 +0000
commitf10a08c93607ddcd800c44e7f07b3e5a51aada97 (patch)
tree6458801e7c3630db9c15c70723b9f91693dcac1f /mail/py-imapclient
parentx11-toolkits/nanogui: Fix packaging with Python 3.8 (diff)
[NEW PORTS] mail/py-mailsuite and its dependency mail/py-imapclient
- mail/py-imapclient: Easy to use, Pythonic and complete IMAP client library - mail/py-mailsuite: Python package to simplify receiving, parsing, and sending email PR: 250808, 250806 Submitted by: Goran Mekic
Notes
Notes: svn path=/head/; revision=567308
Diffstat (limited to 'mail/py-imapclient')
-rw-r--r--mail/py-imapclient/Makefile23
-rw-r--r--mail/py-imapclient/distinfo3
-rw-r--r--mail/py-imapclient/pkg-descr15
3 files changed, 41 insertions, 0 deletions
diff --git a/mail/py-imapclient/Makefile b/mail/py-imapclient/Makefile
new file mode 100644
index 000000000000..832c7bdcf4c1
--- /dev/null
+++ b/mail/py-imapclient/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME= imapclient
+PORTVERSION= 2.1.0
+CATEGORIES= mail python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= IMAPClient-${PORTVERSION}
+
+MAINTAINER= meka@tilda.center
+COMMENT= Easy to use, Pythonic and complete IMAP client library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+
+USES= python:3.4+ zip
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/mail/py-imapclient/distinfo b/mail/py-imapclient/distinfo
new file mode 100644
index 000000000000..23c1221b31e7
--- /dev/null
+++ b/mail/py-imapclient/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1604322697
+SHA256 (IMAPClient-2.1.0.zip) = 60ba79758cc9f13ec910d7a3df9acaaf2bb6c458720d9a02ec33a41352fd1b99
+SIZE (IMAPClient-2.1.0.zip) = 248423
diff --git a/mail/py-imapclient/pkg-descr b/mail/py-imapclient/pkg-descr
new file mode 100644
index 000000000000..b20c5dd617e5
--- /dev/null
+++ b/mail/py-imapclient/pkg-descr
@@ -0,0 +1,15 @@
+IMAPClient is an easy-to-use, Pythonic and complete IMAP client library.
+Features
+ * Arguments and return values are natural Python types.
+ * IMAP server responses are fully parsed and readily usable.
+ * IMAP unique message IDs (UIDs) are handled transparently. There is no need
+ to call different methods to use UIDs.
+ * Escaping for internationalised mailbox names is transparently handled.
+ Unicode mailbox names may be passed as input wherever a folder name is
+ accepted.
+ * Time zones are transparently handled including when the server and client
+ are in different zones.
+ * Convenience methods are provided for commonly used functionality.
+ * Exceptions are raised when errors occur.
+
+WWW: https://github.com/mjs/imapclient