pkgsrc/mail/py-imapclient/Makefile
adam 1196b4ca2c 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+
2021-02-13 21:46:26 +00:00

19 lines
507 B
Makefile

# $NetBSD: Makefile,v 1.2 2021/02/13 21:46:26 adam Exp $
DISTNAME= IMAPClient-2.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_PYPI:=I/IMAPClient/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/mjs/imapclient
COMMENT= Convience IMAP client for Python
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"