Bug 262233

Summary: [NEW PORT] mail/offlineimap3: Two-way synchronization of local Maildir and IMAP folders
Product: Ports & Packages Reporter: Derek Schrock <dereks>
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: eduardo, mail, pi
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/OfflineIMAP/offlineimap3
See Also: https://reviews.freebsd.org/D34388
Bug Depends on: 262231, 262232    
Bug Blocks:    
Attachments:
Description Flags
py-offlineimap3 with DOCS, EXAMPLES, MANPAGES options
dereks: maintainer-approval+
mail/py-offlineimap3 v2 including tests
none
Update port to use GH_TAGNAME instead of release 8.0.0
dereks: maintainer-approval+
Revert versioning and udpate WWW
dereks: maintainer-approval+
Update to 8.0.0-18 dereks: maintainer-approval+

Description Derek Schrock 2022-02-27 18:42:53 UTC
New port mail/py-offlineimap3.

Two-way synchronization of local Maildir and IMAP folders, the python3
version of offlineimap.

Add patch [1] to fix spaces in idle folders.

[1] https://github.com/OfflineIMAP/offlineimap3/issues/109


portlint: ok. looks fine.
testport: ok. 13amd64.


Tested offlineimap3 via pypi for about a week and installed via a pkg for a couple days.
Comment 1 Derek Schrock 2022-02-28 03:25:18 UTC
Created attachment 232151 [details]
py-offlineimap3 with DOCS, EXAMPLES, MANPAGES options

Sorry forgot to add the patch.  This is the updated one with extra options pull from the 2020 python27 mail/py-offlineimap.
Comment 2 Derek Schrock 2022-02-28 03:32:18 UTC
Phab. review: https://reviews.freebsd.org/D34388
Comment 3 Derek Schrock 2022-03-18 23:44:32 UTC
Created attachment 232566 [details]
mail/py-offlineimap3 v2 including tests

Rebased and updated from on going phab. review.

Updates since init. bug:

- Add comments about incorrect BUILD_DEPENDS
- Add possible conflict just incase someone has previously removed mail/py-offlineimap
- Added tests
- Patch out tests that require remote auth.
- Pinned to 3.7-3.9 until mail/py-imaplib2 supports python 3.10

portlint: ok. looks fine.
testport: ok. 13amd64. default options.
unittest: ok. Tested with py37, py38, and py39

  13 passed, 6 skipped, 6 warnings in 0.14 seconds
  13 passed, 6 skipped, 6 warnings in 0.14 seconds
  13 passed, 6 skipped, 6 warnings in 0.15 seconds
Comment 4 Derek Schrock 2022-06-06 23:27:54 UTC
Comment on attachment 232566 [details]
mail/py-offlineimap3 v2 including tests

obsolete by review
Comment 5 Derek Schrock 2022-08-06 23:33:00 UTC
Created attachment 235734 [details]
Update port to use GH_TAGNAME instead of release 8.0.0

Move to a GH_TAGNAME for IMAP fixes.  Tests pass.
Comment 6 Derek Schrock 2022-10-19 01:25:41 UTC
Created attachment 237446 [details]
Revert versioning and udpate WWW

Update from review.

Revert versions to match handbook Example 19. Using USE_GITHUB to Access a Commit Between Two Versions

Update WWW to Makefile
Comment 7 Derek Schrock 2022-12-16 22:00:26 UTC
Created attachment 238848 [details]
Update to 8.0.0-18

Update to 8.0.0-18
Comment 8 commit-hook freebsd_committer freebsd_triage 2022-12-27 15:26:39 UTC
A commit in branch main references this bug:

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

commit 9dc8d74ac07b580cb1e57194956f0f23a03d4555
Author:     Derek Schrock <dereks@lifeofadishwasher.com>
AuthorDate: 2022-12-27 15:22:20 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-12-27 15:22:20 +0000

    mail/offlineimap3: Two-way synchronization of local Maildir and IMAP folders (new port)

    OfflineIMAP is software that downloads your email mailbox(es) as
    local Maildirs. OfflineIMAP will synchronize both sides via IMAP.

    PR:                     262233
    Author:                 Derek Schrock <dereks@lifeofadishwasher.com>
    Reviewed by:            koobs
    Differential Revision:  https://reviews.freebsd.org/D34388

 mail/Makefile                                      |  1 +
 mail/py-offlineimap3/Makefile (new)                | 90 ++++++++++++++++++++++
 mail/py-offlineimap3/distinfo (new)                |  3 +
 .../files/patch-offlineimap_imapserver.py (new)    | 11 +++
 .../patch-test_tests_test__01__basic.py (new)      | 59 ++++++++++++++
 mail/py-offlineimap3/pkg-descr (new)               |  2 +
 6 files changed, 166 insertions(+)
Comment 9 Kurt Jaeger freebsd_committer freebsd_triage 2022-12-27 15:27:40 UTC
Committed, thanks!