1 |
commit: 09d0f75ba1cf9b8195b0d34739f943da692666e8 |
2 |
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 3 22:20:27 2017 +0000 |
4 |
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 4 21:34:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d0f75b |
7 |
|
8 |
mail-filter/afew: Add new package |
9 |
|
10 |
Gentoo-Bug: 404077 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
12 |
|
13 |
mail-filter/afew/Manifest | 1 + |
14 |
mail-filter/afew/afew-1.1.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
15 |
mail-filter/afew/metadata.xml | 22 ++++++++++++++++++++++ |
16 |
3 files changed, 60 insertions(+) |
17 |
|
18 |
diff --git a/mail-filter/afew/Manifest b/mail-filter/afew/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..c5c0c489951 |
21 |
--- /dev/null |
22 |
+++ b/mail-filter/afew/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST afew-1.1.0.tar.gz 31119 SHA256 07bffe3263b97acc862bc75e43d0bbc80982de5f6139be91610f0ef2996977b8 SHA512 4f3c7234b15184b03264763cd271503cc8e49d9698169744718f17d6c4af9674bb50e592b23875991f9b1671b40dbea960a0e6153fa731aee92d4d1bd5c4548f WHIRLPOOL 6359122490c81607432a36a8475ce919f66c9201962e4706f592683f97d1562910092e55417c0cfdafb8ae2a9b61da32ba6d11a70cc931b052cae433c8ae4c4e |
25 |
|
26 |
diff --git a/mail-filter/afew/afew-1.1.0.ebuild b/mail-filter/afew/afew-1.1.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..056d2071a9b |
29 |
--- /dev/null |
30 |
+++ b/mail-filter/afew/afew-1.1.0.ebuild |
31 |
@@ -0,0 +1,37 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+DISTUTILS_SINGLE_IMPL=1 |
38 |
+PYTHON_COMPAT=( python{3_4,3_5,3_6} ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Initial tagging script for Notmuch" |
43 |
+HOMEPAGE="https://github.com/afewmail/afew" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="ISC" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="" |
50 |
+ |
51 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
52 |
+RDEPEND="dev-python/chardet[${PYTHON_USEDEP}] |
53 |
+ net-mail/notmuch[python,${PYTHON_USEDEP}]" |
54 |
+ |
55 |
+DOCS=( "README.rst" ) |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ sed -r \ |
59 |
+ -e "s/^([[:space:]]+)use_scm_version=.*,$/\1version='${PV}',/" \ |
60 |
+ -e "/^([[:space:]]+)setup_requires=.*,$/d" \ |
61 |
+ -i setup.py || die |
62 |
+ distutils-r1_src_prepare |
63 |
+} |
64 |
+ |
65 |
+src_install() { |
66 |
+ distutils-r1_src_install |
67 |
+ dodoc afew/defaults/afew.config |
68 |
+} |
69 |
|
70 |
diff --git a/mail-filter/afew/metadata.xml b/mail-filter/afew/metadata.xml |
71 |
new file mode 100644 |
72 |
index 00000000000..cf80ebdd8a7 |
73 |
--- /dev/null |
74 |
+++ b/mail-filter/afew/metadata.xml |
75 |
@@ -0,0 +1,22 @@ |
76 |
+<?xml version="1.0" encoding="UTF-8"?> |
77 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
78 |
+<pkgmetadata> |
79 |
+ <maintainer type="person"> |
80 |
+ <email>aidecoe@g.o</email> |
81 |
+ <name>Amadeusz Żołnowski</name> |
82 |
+ </maintainer> |
83 |
+ <longdescription lang="en"> |
84 |
+ afew is an initial tagging script for Notmuch. Its basic task is to |
85 |
+ provide automatic tagging each time new mail is registered with Notmuch. |
86 |
+ |
87 |
+ In addition to more elementary features such as adding tags based on |
88 |
+ e-mail headers or maildir folders, handling killed threads and spam, it |
89 |
+ can do some heavy magic in order to learn how to initially tag your |
90 |
+ mails based on their content. |
91 |
+ |
92 |
+ In move mode, afew will move mails between maildir folders according to |
93 |
+ configurable rules that can contain arbitrary notmuch queries to match |
94 |
+ against any searchable attributes. |
95 |
+ </longdescription> |
96 |
+</pkgmetadata> |
97 |
+ |