Bug 262232

Summary: [NEW PORT] mail/py-imaplib2: Threaded IMAP4 python client
Product: Ports & Packages Reporter: Derek Schrock <dereks>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/jazzband/imaplib2
See Also: https://reviews.freebsd.org/D34390
Bug Depends on:    
Bug Blocks: 262233    
Attachments:
Description Flags
New port mail/py-imaplib2
dereks: maintainer-approval+
mail/py-imaplib2 threaded IMAP4 python client.
none
Upload latest patch from review
dereks: maintainer-approval+
Update WWW to Makefile dereks: maintainer-approval+

Description Derek Schrock 2022-02-27 18:40:22 UTC
Created attachment 232143 [details]
New port mail/py-imaplib2

New port mail/py-imaplib2 threaded IMAP4 python client.

Needed for mail/py-offlineimap3

portlint: ok. looks fine.
testport: ok. 13amd64.
Comment 1 Derek Schrock 2022-02-28 03:31:13 UTC
Review at.  https://reviews.freebsd.org/D34390
Comment 2 Derek Schrock 2022-03-18 23:35:31 UTC
Created attachment 232565 [details]
mail/py-imaplib2 threaded IMAP4 python client.

Update commit and rebased on main

Changes since init. bug:

- Added tests
- Pinned python versions to 3.6-3.9 matching upstream. Waiting for 3.10 change.
- Added missing tests file to ${FILESDIR} until added to sdist.

testport: ok. looks fine.
porttest: ok. 13amd64.
unittest: ok. 2 passed in 0.02 seconds.
Comment 3 Derek Schrock 2022-06-06 23:28:44 UTC
Comment on attachment 232565 [details]
mail/py-imaplib2 threaded IMAP4 python client.

obsolete by review
Comment 4 Derek Schrock 2022-08-06 23:36:02 UTC
Created attachment 235736 [details]
Upload latest patch from review
Comment 5 Derek Schrock 2022-10-19 01:26:54 UTC
Created attachment 237447 [details]
Update WWW to Makefile

Update from review.
Comment 6 commit-hook freebsd_committer freebsd_triage 2022-12-27 14:51:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7dae55775cc194a78e021b72da3a4348f9dbfab

commit d7dae55775cc194a78e021b72da3a4348f9dbfab
Author:     Derek Schrock <dereks@lifeofadishwasher.com>
AuthorDate: 2022-12-27 14:49:19 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-12-27 14:49:19 +0000

    mail/py-imaplib2: Threaded Python IMAP4 client (new port)

    Based on RFC 3501 and original imaplib module.

    This is a version of imaplib that uses threads to allow full use of
    the IMAP4 concurrency features, and to de-couple a user of imaplib
    from i/o lags, except where explicitly allowed.

    PR:                     262232
    Author:                 Derek Schrock <dereks@lifeofadishwasher.com>
    Differential Revision:  https://reviews.freebsd.org/D34390

 mail/Makefile                                |  1 +
 mail/py-imaplib2/Makefile (new)              | 25 +++++++++++++++++++++++++
 mail/py-imaplib2/distinfo (new)              |  3 +++
 mail/py-imaplib2/files/test_imports.py (new) |  8 ++++++++
 mail/py-imaplib2/pkg-descr (new)             |  5 +++++
 5 files changed, 42 insertions(+)
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2022-12-27 14:51:58 UTC
Committed, thanks!