[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
This commit is contained in:
Loïc Bartoletti 2021-03-04 11:47:56 +00:00
parent cad7877b89
commit f10a08c936
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=567308
7 changed files with 94 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1604322697
SHA256 (IMAPClient-2.1.0.zip) = 60ba79758cc9f13ec910d7a3df9acaaf2bb6c458720d9a02ec33a41352fd1b99
SIZE (IMAPClient-2.1.0.zip) = 248423

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1604324319
SHA256 (mailsuite-1.6.0.tar.gz) = 8dd58bc131dd66294fa8d4bf39ac676c88017afef958f1c5ac74c797135c228b
SIZE (mailsuite-1.6.0.tar.gz) = 10641

View file

@ -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