Created attachment 186747 [details] afew-1.2.0.diff The attached patch adds the port for https://github.com/afewmail/afew, a script for tagging new mail using mail/notmuch. I've tested the port under FreeBSD 11.1-REALEASE on amd64 using the following utilities: - portlint -AC - make package - poudriere testport The output of each of them is clean. This port depends on devel/py-subprocess32 (#222628).
The proper link to devel/py-subprocess32's PR: bug #222628
Nice work on both PR's. I changed the name to mail/py-afew, following the Python Ports Policy. https://wiki.freebsd.org/Python/PortsPolicy
A commit references this bug: Author: dbaio Date: Wed Oct 18 22:48:44 UTC 2017 New revision: 452388 URL: https://svnweb.freebsd.org/changeset/ports/452388 Log: New port mail/py-afew: Initial tagging script for notmuch mail Its basic task is to provide automatic tagging each time new mail is registered with notmuch. In a classic setup, you might call it after 'notmuch new' in an offlineimap post sync hook. It can do basic thing such as adding tags based on email headers or maildir folders, handling killed threads and spam. In move mode, afew will move mails between maildir folders according to configurable rules that can contain arbitrary notmuch queries to match against any searchable attributes. WWW: https://github.com/afewmail/afew PR: 222629 Submitted by: Sebastian Schwarz <seschwar@gmail.com> Reviewed by: mat, koobs Differential Revision: D12520 Changes: head/mail/Makefile head/mail/py-afew/ head/mail/py-afew/Makefile head/mail/py-afew/distinfo head/mail/py-afew/pkg-descr
Committed, thanks!
A commit references this bug: Author: dbaio Date: Thu Oct 19 00:01:47 UTC 2017 New revision: 51130 URL: https://svnweb.freebsd.org/changeset/doc/51130 Log: Add new contributors Lacey Powers for databases/pg_partman and security/chkrootkit [1] Neal Nelson for devel/nimble and lang/nim [2] Sebastian Schwarz for of mail/py-afew [3] PR: 222926 [1] PR: 222427 [2] PR: 222629 [3] Changes: head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml