pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/py-imapclient py-imapclient: updated to 2.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1a618a5e310
branches:  trunk
changeset: 446838:b1a618a5e310
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Feb 13 21:46:26 2021 +0000

description:
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:

 mail/py-imapclient/Makefile |  11 +++++------
 mail/py-imapclient/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 11 deletions(-)

diffs (38 lines):

diff -r c10a93b80ffe -r b1a618a5e310 mail/py-imapclient/Makefile
--- a/mail/py-imapclient/Makefile       Sat Feb 13 21:42:51 2021 +0000
+++ b/mail/py-imapclient/Makefile       Sat Feb 13 21:46:26 2021 +0000
@@ -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@localhost
-HOMEPAGE=      https://github.com/mjs/imapclient/
+HOMEPAGE=      https://github.com/mjs/imapclient
 COMMENT=       Convience IMAP client for Python
 LICENSE=       modified-bsd
 
diff -r c10a93b80ffe -r b1a618a5e310 mail/py-imapclient/distinfo
--- a/mail/py-imapclient/distinfo       Sat Feb 13 21:42:51 2021 +0000
+++ b/mail/py-imapclient/distinfo       Sat Feb 13 21:46:26 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index