svn commit: r567308 - in head/mail: . py-imapclient py-mailsuite

Loïc Bartoletti lbartoletti at FreeBSD.org
Thu Mar 4 11:47:58 UTC 2021


Author: lbartoletti
Date: Thu Mar  4 11:47:56 2021
New Revision: 567308
URL: https://svnweb.freebsd.org/changeset/ports/567308

Log:
  [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

Added:
  head/mail/py-imapclient/
  head/mail/py-imapclient/Makefile   (contents, props changed)
  head/mail/py-imapclient/distinfo   (contents, props changed)
  head/mail/py-imapclient/pkg-descr   (contents, props changed)
  head/mail/py-mailsuite/
  head/mail/py-mailsuite/Makefile   (contents, props changed)
  head/mail/py-mailsuite/distinfo   (contents, props changed)
  head/mail/py-mailsuite/pkg-descr   (contents, props changed)
Modified:
  head/mail/Makefile

Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile	Thu Mar  4 11:36:32 2021	(r567307)
+++ head/mail/Makefile	Thu Mar  4 11:47:56 2021	(r567308)
@@ -496,7 +496,9 @@
     SUBDIR += py-flask-mail
     SUBDIR += py-flufl.bounce
     SUBDIR += py-fuglu
+    SUBDIR += py-imapclient
     SUBDIR += py-mail-parser
+    SUBDIR += py-mailsuite
     SUBDIR += py-mailmanclient
     SUBDIR += py-mailnag
     SUBDIR += py-managesieve3

Added: head/mail/py-imapclient/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-imapclient/Makefile	Thu Mar  4 11:47:56 2021	(r567308)
@@ -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 at 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>

Added: head/mail/py-imapclient/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-imapclient/distinfo	Thu Mar  4 11:47:56 2021	(r567308)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1604322697
+SHA256 (IMAPClient-2.1.0.zip) = 60ba79758cc9f13ec910d7a3df9acaaf2bb6c458720d9a02ec33a41352fd1b99
+SIZE (IMAPClient-2.1.0.zip) = 248423

Added: head/mail/py-imapclient/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-imapclient/pkg-descr	Thu Mar  4 11:47:56 2021	(r567308)
@@ -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

Added: head/mail/py-mailsuite/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-mailsuite/Makefile	Thu Mar  4 11:47:56 2021	(r567308)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME=	mailsuite
+PORTVERSION=	1.6.0
+CATEGORIES=	mail python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	meka at 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>

Added: head/mail/py-mailsuite/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-mailsuite/distinfo	Thu Mar  4 11:47:56 2021	(r567308)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1604324319
+SHA256 (mailsuite-1.6.0.tar.gz) = 8dd58bc131dd66294fa8d4bf39ac676c88017afef958f1c5ac74c797135c228b
+SIZE (mailsuite-1.6.0.tar.gz) = 10641

Added: head/mail/py-mailsuite/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/py-mailsuite/pkg-descr	Thu Mar  4 11:47:56 2021	(r567308)
@@ -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


More information about the svn-ports-all mailing list