summaryrefslogtreecommitdiff
path: root/mail/py-imapclient
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-02-13 21:46:26 +0000
committeradam <adam@pkgsrc.org>2021-02-13 21:46:26 +0000
commitc1b80dfeb83ca810021943f248072c332debe321 (patch)
tree504215d54aa54dbc5b2911b9d8c1e86a64618dfe /mail/py-imapclient
parentefe1dc71b61465dc84d64877c28bc72262ffe09d (diff)
downloadpkgsrc-c1b80dfeb83ca810021943f248072c332debe321.tar.gz
py-imapclient: updated to 2.2.0
Version 2.2.0 ============= Changed ------- - Performance improvements - 2x faster _maybe_int_to_bytes for Python 2 - Fix _proc_folder_list quadratic runtime - Faster utf7 encode. ~40% faster for input with a mix of unicode and ASCII chars. - Cache regex in _process_select_response - poll() when available to surpass 1024 file descriptor limit with select() - Use next instead of six.next as imapclient doesn't claim Python 2.5 support. - Moved "Logged in/out" traces from INFO to DEBUG level - Run tests on Python 3.8 and 3.9 - Support the Deleted special folder used by Outlook - Clean up timeout handling - Run the Black code formatter over the entire project Added ----- - MULTIAPPEND and LITERAL+ support - Use ptpython for interactive shell if available - Allow any custom SASL mechanism to be provided. This allows mechanisms such as EXTERNAL, GSSAPI or SCRAM-SHA-256 to be used in the same way as with imaplib. - Add SASL OAUTHBEARER support - add optional timeout parameter to IMAP4_TLS.open Fixed ----- - fixed special folder searching - Catch the right exception in folder_status - test_imapclient: Fix LoggerAdapter version check - Fix config file parsing for None attributes - Fix useless ref cycle in lexer - Protocol parsing: Prevent converting numbers with leading zeroes to int. - Prevent UnicodeDecodeError in IMAPlibLoggerAdapter - Fix invalid string escape sequences - Ensure timeout is used on Python 2.7. _create_socket isn't used with the Python 2 version of imaplib so the open method has been overrided to make it consistent across Python version. - Fix IMAP4_TLS for imaplib in Python 3.9+
Diffstat (limited to 'mail/py-imapclient')
-rw-r--r--mail/py-imapclient/Makefile11
-rw-r--r--mail/py-imapclient/distinfo10
2 files changed, 10 insertions, 11 deletions
diff --git a/mail/py-imapclient/Makefile b/mail/py-imapclient/Makefile
index a26ff808ad9..7e17524c8f5 100644
--- a/mail/py-imapclient/Makefile
+++ b/mail/py-imapclient/Makefile
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.1 2020/11/01 20:54:11 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2021/02/13 21:46:26 adam Exp $
-DISTNAME= IMAPClient-2.1.0
+DISTNAME= IMAPClient-2.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= mail python
-MASTER_SITES= ${MASTER_SITE_GITHUB:=mjs/}
-GITHUB_PROJECT= imapclient
-GITHUB_TAG= ${PKGVERSION_NOREV}
+MASTER_SITES= ${MASTER_SITE_PYPI:=I/IMAPClient/}
+EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= https://github.com/mjs/imapclient/
+HOMEPAGE= https://github.com/mjs/imapclient
COMMENT= Convience IMAP client for Python
LICENSE= modified-bsd
diff --git a/mail/py-imapclient/distinfo b/mail/py-imapclient/distinfo
index 17026e2e0e3..e065c7c66ce 100644
--- a/mail/py-imapclient/distinfo
+++ b/mail/py-imapclient/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/11/01 20:54:11 joerg Exp $
+$NetBSD: distinfo,v 1.2 2021/02/13 21:46:26 adam Exp $
-SHA1 (IMAPClient-2.1.0.tar.gz) = 73f5b01aeb48ecc1b96bd5625778eb42ab3e40df
-RMD160 (IMAPClient-2.1.0.tar.gz) = b4bd5962eeed982f07e3f40539125f906c283a4d
-SHA512 (IMAPClient-2.1.0.tar.gz) = 57e5824504f2667cf41ac4983130e16a5ea73ea37f29cdb16295eb725b56eda55db26a12e380acb579ef6b8540d38ae6badac5dd5b644d4419cbe9151f634e70
-Size (IMAPClient-2.1.0.tar.gz) = 85925 bytes
+SHA1 (IMAPClient-2.2.0.zip) = 0021e48abea48c3a200269e67c9b0eabb76e12a3
+RMD160 (IMAPClient-2.2.0.zip) = b60d423d0d3bc82b300a6f035f503f5a899a9687
+SHA512 (IMAPClient-2.2.0.zip) = f295cd1ab3cd9d0d2db695cdd97cfb8e5b2320888d09c4d641feabbe64fb7f59ee18cb8709f784546233a721a0b9fa5329a58990483bc6263ee7fdf1dd959d32
+Size (IMAPClient-2.2.0.zip) = 257570 bytes