Permalink
Browse files

new package: mail-filter/afew

Rels bug #404077.

(Portage version: 2.1.10.62/git/Linux x86_64, signed Manifest commit with key E1DBFAB5)
  • Loading branch information...
1 parent 9ca073d commit 402afcc26323c8a6d62befa673c371b85559df15 @aidecoe committed May 19, 2012
Showing with 105 additions and 0 deletions.
  1. +10 −0 mail-filter/afew/ChangeLog
  2. +17 −0 mail-filter/afew/Manifest
  3. +56 −0 mail-filter/afew/afew-9999.ebuild
  4. +22 −0 mail-filter/afew/metadata.xml
@@ -0,0 +1,10 @@
+# ChangeLog for mail-filter/afew
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*afew-9999 (19 May 2012)
+
+ 19 May 2012; Amadeusz Żołnowski <aidecoe@gentoo.org> +afew-9999.ebuild,
+ +metadata.xml:
+ Initial ebuild.
+
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+EBUILD afew-9999.ebuild 888 RMD160 fb554fd328257b87ffb24e3bf08d15df1a934b1b SHA1 11dd953f3d06ec44f7a579af713fea4828931ddb SHA256 f5e5dd0dfcb22606572db91f6917cdb8aeb8bce289cd45034a1a5b73af420bef
+MISC ChangeLog 255 RMD160 ed57a162237d63c5fa6708f1115e4fdde0034117 SHA1 f0707cf410c5081c00cba060c73dab9ee6e18174 SHA256 d2c540cf56ebc57a1696649ce154cddb7602e836a7a3f63fb631e63d0dd84b7d
+MISC metadata.xml 869 RMD160 0b9ecf117ec35dbe72416749dbb621071a9f6275 SHA1 70c1e71a52ae005c44dcee0be061da39e983331c SHA256 d1134c2c3e636bb9880156fe1ff76fe2e42d959459bf1cef1070fa8af26b1ca6
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBAgAGBQJPt1TcAAoJEPATRTHh2/q1+1sH/1Amn3ijTwWFDaZB2I1zJTsz
+7zdn/YeZv+tYx054isPAFBS0QHpQwFQYzuJiwDD5TM4JJ26axsn7BrTzSn+XucRX
+4rxld5NfnOjfHYf+R69EdG+VD0H47nyt3QQ1gLxDXThoYWakmrugN5UoJnkt2I+5
+0DFtdZw9AYF/ErX9TrIE3UiVrmufumN9ciywfE/4Plcp4tj1BSfP9e+KJv6KCV4F
+Nipc9ES5xLvhpTds1iX0/p7/4dkV8iyf/qZy6p8tsGG0lZDz4iNgc5ZcLsR4IHwN
+WvxS3R27YHp4g7myX+3V8BxbbgQgpkpCbHlXWSdE/2GQPNgS0GDuXmPNDi4mIBc=
+=RFYu
+-----END PGP SIGNATURE-----
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+PYTHON_DEPEND="2:2.7 3:3.2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[456] 3.[01]"
+
+inherit distutils git-2
+
+DESCRIPTION="Initial tagging script for Notmuch"
+HOMEPAGE="https://github.com/teythoon/afew"
+EGIT_REPO_URI="git://github.com/teythoon/afew.git"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+DEPEND="
+ doc? ( dev-python/sphinx )
+ "
+RDEPEND="app-text/dbacl
+ net-mail/notmuch"
+
+src_prepare() {
+ distutils_src_prepare
+
+ local md
+ for md in *.md; do
+ mv "${md}" "${md%.md}"
+ done
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ pushd docs || die
+ emake html
+ popd || die
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ dodoc afew/defaults/afew.config
+
+ if use doc; then
+ dohtml -r docs/build/html/*
+ dodoc docs/move_mode
+ fi
+}
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+</pkgmetadata>
+

0 comments on commit 402afcc

Please sign in to comment.