From owner-svn-ports-head@freebsd.org Wed Oct 18 22:48:45 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6701DE45EBE; Wed, 18 Oct 2017 22:48:45 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41A0D6D1E5; Wed, 18 Oct 2017 22:48:45 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9IMmiSe087982; Wed, 18 Oct 2017 22:48:44 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9IMmidr087977; Wed, 18 Oct 2017 22:48:44 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201710182248.v9IMmidr087977@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Wed, 18 Oct 2017 22:48:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452388 - in head/mail: . py-afew X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/mail: . py-afew X-SVN-Commit-Revision: 452388 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2017 22:48:45 -0000 Author: dbaio Date: Wed Oct 18 22:48:43 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 Reviewed by: mat, koobs Differential Revision: D12520 Added: head/mail/py-afew/ head/mail/py-afew/Makefile (contents, props changed) head/mail/py-afew/distinfo (contents, props changed) head/mail/py-afew/pkg-descr (contents, props changed) Modified: head/mail/Makefile Modified: head/mail/Makefile ============================================================================== --- head/mail/Makefile Wed Oct 18 22:04:26 2017 (r452387) +++ head/mail/Makefile Wed Oct 18 22:48:43 2017 (r452388) @@ -527,6 +527,7 @@ SUBDIR += proxsmtp SUBDIR += py-Products.MailHost SUBDIR += py-Products.SecureMailHost + SUBDIR += py-afew SUBDIR += py-aiosmtpd SUBDIR += py-apolicy SUBDIR += py-authres Added: head/mail/py-afew/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-afew/Makefile Wed Oct 18 22:48:43 2017 (r452388) @@ -0,0 +1,42 @@ +# $FreeBSD$ + +PORTNAME= afew +DISTVERSION= 1.2.0 +CATEGORIES= mail python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= seschwar@gmail.com +COMMENT= Initial tagging script for notmuch mail + +LICENSE= ISCL + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet \ + ${PYTHON_PKGNAMEPREFIX}notmuch>=0:mail/py-notmuch \ + notmuch:mail/notmuch + +USES= python +USE_PYTHON= autoplist distutils + +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT= MANPAGES + +MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx +MANPAGES_PLIST_FILES= man/man1/afew.1.gz + +NO_ARCH= yes + +post-build-MANPAGES-on: + ${MAKE} -C ${WRKSRC}/docs man + +post-install-MANPAGES-on: + ${INSTALL_MAN} ${WRKSRC}/docs/build/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1/ + +.include + +.if ${PYTHON_REL} < 3000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}subprocess32>=0:devel/py-subprocess32 +.endif + +.include Added: head/mail/py-afew/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-afew/distinfo Wed Oct 18 22:48:43 2017 (r452388) @@ -0,0 +1,3 @@ +TIMESTAMP = 1505037424 +SHA256 (afew-1.2.0.tar.gz) = b94cef31f2c740ffa3100dcbb7839d015973a49cdeadde295dd1f751da3a3c88 +SIZE (afew-1.2.0.tar.gz) = 31831 Added: head/mail/py-afew/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/py-afew/pkg-descr Wed Oct 18 22:48:43 2017 (r452388) @@ -0,0 +1,14 @@ +This is an 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