diff --git a/mail/Makefile b/mail/Makefile index 15f29f9b1d5a..0e27fbc6ba81 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -505,6 +505,7 @@ SUBDIR += py-flask-mail SUBDIR += py-flufl.bounce SUBDIR += py-fuglu + SUBDIR += py-imap-tools SUBDIR += py-imapclient SUBDIR += py-imaplib2 SUBDIR += py-mail-parser diff --git a/mail/py-imap-tools/Makefile b/mail/py-imap-tools/Makefile new file mode 100644 index 000000000000..bce5a0560e3b --- /dev/null +++ b/mail/py-imap-tools/Makefile @@ -0,0 +1,17 @@ +PORTNAME= imap-tools +PORTVERSION= 1.5.0 +CATEGORIES= mail python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= grembo@FreeBSD.org +COMMENT= Work with email via IMAP +WWW= https://github.com/ikvk/imap_tools + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/mail/py-imap-tools/distinfo b/mail/py-imap-tools/distinfo new file mode 100644 index 000000000000..46eda6193993 --- /dev/null +++ b/mail/py-imap-tools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1707598252 +SHA256 (imap-tools-1.5.0.tar.gz) = f42dfb1a7db666ef5df4c815e5b6e6571707b188f67c0a411fc5c9a9b4f1b85f +SIZE (imap-tools-1.5.0.tar.gz) = 34492 diff --git a/mail/py-imap-tools/pkg-descr b/mail/py-imap-tools/pkg-descr new file mode 100644 index 000000000000..b3154e65f2e5 --- /dev/null +++ b/mail/py-imap-tools/pkg-descr @@ -0,0 +1,10 @@ +High level lib for work with email by IMAP: +- Basic message operations: fetch, uids, numbers +- Parsed email message attributes +- Query builder for search criteria +- Actions with emails: copy, delete, flag, move, append +- Actions with folders: list, set, get, create, exists, rename, + subscribe, delete, status +- IDLE commands: start, poll, stop, wait +- Exceptions on failed IMAP operations +- No external dependencies, tested