From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09F29139694 for ; Fri, 4 Aug 2017 21:35:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B4D0E0E06; Fri, 4 Aug 2017 21:35:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B55AE0E06 for ; Fri, 4 Aug 2017 21:35:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 62734341943 for ; Fri, 4 Aug 2017 21:35:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B737D74C9 for ; Fri, 4 Aug 2017 21:35:06 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1501882452.09d0f75ba1cf9b8195b0d34739f943da692666e8.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/afew/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-filter/afew/Manifest mail-filter/afew/afew-1.1.0.ebuild mail-filter/afew/metadata.xml X-VCS-Directories: mail-filter/afew/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 09d0f75ba1cf9b8195b0d34739f943da692666e8 X-VCS-Branch: master Date: Fri, 4 Aug 2017 21:35:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b05a4ff4-76dd-4209-a278-6cd2ae7c37ab X-Archives-Hash: 07d8eb1ef54612f308bfeb375d8fcc5f commit: 09d0f75ba1cf9b8195b0d34739f943da692666e8 Author: Amadeusz Żołnowski gentoo org> AuthorDate: Thu Aug 3 22:20:27 2017 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Fri Aug 4 21:34:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d0f75b mail-filter/afew: Add new package Gentoo-Bug: 404077 Package-Manager: Portage-2.3.6, Repoman-2.3.3 mail-filter/afew/Manifest | 1 + mail-filter/afew/afew-1.1.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ mail-filter/afew/metadata.xml | 22 ++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/mail-filter/afew/Manifest b/mail-filter/afew/Manifest new file mode 100644 index 00000000000..c5c0c489951 --- /dev/null +++ b/mail-filter/afew/Manifest @@ -0,0 +1 @@ +DIST afew-1.1.0.tar.gz 31119 SHA256 07bffe3263b97acc862bc75e43d0bbc80982de5f6139be91610f0ef2996977b8 SHA512 4f3c7234b15184b03264763cd271503cc8e49d9698169744718f17d6c4af9674bb50e592b23875991f9b1671b40dbea960a0e6153fa731aee92d4d1bd5c4548f WHIRLPOOL 6359122490c81607432a36a8475ce919f66c9201962e4706f592683f97d1562910092e55417c0cfdafb8ae2a9b61da32ba6d11a70cc931b052cae433c8ae4c4e diff --git a/mail-filter/afew/afew-1.1.0.ebuild b/mail-filter/afew/afew-1.1.0.ebuild new file mode 100644 index 00000000000..056d2071a9b --- /dev/null +++ b/mail-filter/afew/afew-1.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DISTUTILS_SINGLE_IMPL=1 +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Initial tagging script for Notmuch" +HOMEPAGE="https://github.com/afewmail/afew" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="dev-python/chardet[${PYTHON_USEDEP}] + net-mail/notmuch[python,${PYTHON_USEDEP}]" + +DOCS=( "README.rst" ) + +src_prepare() { + sed -r \ + -e "s/^([[:space:]]+)use_scm_version=.*,$/\1version='${PV}',/" \ + -e "/^([[:space:]]+)setup_requires=.*,$/d" \ + -i setup.py || die + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + dodoc afew/defaults/afew.config +} diff --git a/mail-filter/afew/metadata.xml b/mail-filter/afew/metadata.xml new file mode 100644 index 00000000000..cf80ebdd8a7 --- /dev/null +++ b/mail-filter/afew/metadata.xml @@ -0,0 +1,22 @@ + + + + + aidecoe@gentoo.org + Amadeusz Żołnowski + + + afew is an initial tagging script for Notmuch. Its basic task is to + provide automatic tagging each time new mail is registered with Notmuch. + + In addition to more elementary features such as adding tags based on + e-mail headers or maildir folders, handling killed threads and spam, it + can do some heavy magic in order to learn how to initially tag your + mails based on their content. + + 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. + + +