commit:     574464e23a823bd88e122017cb2ee5f8121cffdf
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 20:01:00 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Thu Dec 29 21:38:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574464e2

net-mail/notmuch: Keep only latest patch versions

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-mail/notmuch/Manifest                          |   2 -
 .../files/0.23-0001-emacs-id-buttonization.patch   |  43 -----
 .../files/0.23-0002-emacs-search-face-bugfix.patch |  36 ----
 net-mail/notmuch/notmuch-0.22.2.ebuild             | 198 --------------------
 net-mail/notmuch/notmuch-0.23.1.ebuild             | 200 ---------------------
 net-mail/notmuch/notmuch-0.23.2.ebuild             | 200 ---------------------
 6 files changed, 679 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 56ecce2..e69e076 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -4,6 +4,4 @@ DIST notmuch-0.19.tar.gz 659038 SHA256 
396fc6548423785ebbbe9a6cce321d957d3b2e856
 DIST notmuch-0.20.2.tar.gz 652945 SHA256 
f741a26345bff389fd8a4a119c4174c6585730f71844809583a54ef2a865adec SHA512 
08ab75df324f232edd7c36f73d01d7453c058ffb55c4f548afdf9abe843317c1d7066f21e7600c66c53577f7d31787914bf69743aa5d221e239e182452681c75
 WHIRLPOOL 
1698cb1b09046f50a57ebf23625a2dd68f86cac7cb1142be81e77b5625e49960cb2311c8acff44de0894238bced48853cdd72b7edf34109ecee0bc53d5b086fc
 DIST notmuch-0.21.tar.gz 663600 SHA256 
d06f8ffed168c7d53ffc449dd611038b5fa90f7ee22d58f3bec3b379571e25b3 SHA512 
2485c422433be21f6bf89aaf997e1468c31a52029ddc8336e78a632b292c659569448c29813ea550ed27fb6815558522a451a7fa10e8fb3f87d9538b4dd7b01a
 WHIRLPOOL 
303c6427822272834e3d95ac94760f0fbaf3f2947a984a6770a9b2918fe0fbad289ef95fb9a8300cb6db08ab3ef0ff56810b3a60879c6a2a3eac524689f0a2f0
 DIST notmuch-0.22.2.tar.gz 683796 SHA256 
6cd19c61634079981b2d8f4b7cb4eb953cba2a36272520603682d813d2bd7ed1 SHA512 
cc11feb8d1c2c7959a42e032c1e36e828290a8e8477af8936a27654117fbc2e080c71fe69ec92bd80763d9d3b163d45b7c0fa9fe9c4ec649600fa928110da4ee
 WHIRLPOOL 
6aa41fa26a92a11393193b6f7e147b69de00f57fe712486805b2b7019d9bf9887d6d10962ef4144ca9ef07d6f63bbb1ddb2f7104c6eb89841285620d439743be
-DIST notmuch-0.23.1.tar.gz 690069 SHA256 
e8012a1aa9afa47dfeb78f826610577e6bf9714e0933f28139c8611aad96d180 SHA512 
e19bdc525090abcd4d476e4fd77d22e43001dee9b9202c45877b40d8c76bb9f522df61c19448ca42f6812e23e590e9241bda354c28205f479da50fb3ebd7bbb1
 WHIRLPOOL 
b6f34bfa23aa2ed4d970696d5eedbc9d96f754bc88370bd777a9bafac835caf795df7e7f81e28892a014861bcb1512fd5bbb5ce225058f0cdec1858a167e6668
-DIST notmuch-0.23.2.tar.gz 690833 SHA256 
edfd7528d43bf1e1ab2620607f9fdcf772603455a61c2eb49978619c352c97bc SHA512 
487f70ef613962275dc81532cea62f287933bdb7a695466ce5ce0c5913ce06597abb152bac7126457997da710bbd716d30cee408a83b6bad4343407a5a9a202e
 WHIRLPOOL 
e5057e4490d949462e7f08530176a0b3c32a31e92402210cd02e11cb18c87f33d3e9705edd84284d0622e25a043d35a2d093bd0a0a9007123e87196ab699a885
 DIST notmuch-0.23.3.tar.gz 691361 SHA256 
0f5da5cf0203b774e345c50d56e975a87c2fc5407ef4ea284b6e2b55a8951882 SHA512 
232a4133d70d074e6d38b00471145ecec342a5e138822cce01b6915e2b3de29fc1181e116d1df30e2fea04d519f53297fd8ea0e9d0df91bc8d6fce549feed1e3
 WHIRLPOOL 
82c30f3137132504ed41c42619c3645b74680d01a835e6074122b6ff3ab8d1a5dfe138a583872d09ea9f70a7312021fafa1bd2c08c3b6b9a319f55e5c81f28ff

diff --git a/net-mail/notmuch/files/0.23-0001-emacs-id-buttonization.patch 
b/net-mail/notmuch/files/0.23-0001-emacs-id-buttonization.patch
deleted file mode 100644
index 0c05373..00000000
--- a/net-mail/notmuch/files/0.23-0001-emacs-id-buttonization.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From b913a28f65e32380a84da735e0524f8d5c127f93 Mon Sep 17 00:00:00 2001
-From: David Bremner <[email protected]>
-Date: Sun, 9 Oct 2016 19:30:44 -0300
-Subject: [PATCH 1/3] emacs/show: force notmuch-show-buttonise-links to act on
- lines
-
-This seems to fix a problem with emacs 25 creating partial buttons by
-calling n-s-b-l with a region that does not include the whole button.
-I'm not 100% sure it's legit to act outside the region passed by
-jit-lock, but goto-address-fontify-region (where I borrowed the code
-from) already does this, so this patch to not make things worse.
----
- emacs/notmuch-show.el | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
-index 641398d..e7d16f8 100644
---- a/emacs/notmuch-show.el
-+++ b/emacs/notmuch-show.el
-@@ -1174,13 +1174,15 @@ This also turns id:\"<message id>\"-parts and mid: 
links into
- buttons for a corresponding notmuch search."
-   (goto-address-fontify-region start end)
-   (save-excursion
--    (let (links)
--      (goto-char start)
--      (while (re-search-forward notmuch-id-regexp end t)
-+    (let (links
-+        (beg-line (progn (goto-char start) (line-beginning-position)))
-+        (end-line (progn (goto-char end) (line-end-position))))
-+      (goto-char beg-line)
-+      (while (re-search-forward notmuch-id-regexp end-line t)
-       (push (list (match-beginning 0) (match-end 0)
-                   (match-string-no-properties 0)) links))
--      (goto-char start)
--      (while (re-search-forward notmuch-mid-regexp end t)
-+      (goto-char beg-line)
-+      (while (re-search-forward notmuch-mid-regexp end-line t)
-       (let* ((mid-cid (match-string-no-properties 1))
-              (mid (save-match-data
-                     (string-match "^[^/]*" mid-cid)
--- 
-2.10.1
-

diff --git a/net-mail/notmuch/files/0.23-0002-emacs-search-face-bugfix.patch 
b/net-mail/notmuch/files/0.23-0002-emacs-search-face-bugfix.patch
deleted file mode 100644
index 39651cb..00000000
--- a/net-mail/notmuch/files/0.23-0002-emacs-search-face-bugfix.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From e64f1ec1db49406d4834b09d8c4b2aec83ba66cb Mon Sep 17 00:00:00 2001
-From: Mark Walters <[email protected]>
-Date: Wed, 12 Oct 2016 08:39:21 +0100
-Subject: [PATCH 2/3] emacs: search face bugfix
-
-In commit 2a7b11b064233afc4feead876fa396e3c18a6b91 the default faces
-for unread and flagged were accidentally swapped. This swaps them back.
----
- emacs/notmuch.el | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/emacs/notmuch.el b/emacs/notmuch.el
-index 8e14692..48c33fd 100644
---- a/emacs/notmuch.el
-+++ b/emacs/notmuch.el
-@@ -313,7 +313,7 @@ there will be called at other points of notmuch execution."
- 
- (defface notmuch-search-flagged-face
-   '((t
--     (:weight bold)))
-+     (:foreground "blue")))
-   "Face used in search mode face for flagged threads.
- 
- This face is the default value for the \"flagged\" tag in
-@@ -323,7 +323,7 @@ This face is the default value for the \"flagged\" tag in
- 
- (defface notmuch-search-unread-face
-   '((t
--     (:foreground "blue")))
-+     (:weight bold)))
-   "Face used in search mode for unread threads.
- 
- This face is the default value for the \"unread\" tag in
--- 
-2.10.1
-

diff --git a/net-mail/notmuch/notmuch-0.22.2.ebuild 
b/net-mail/notmuch/notmuch-0.22.2.ebuild
deleted file mode 100644
index f65afe4..00000000
--- a/net-mail/notmuch/notmuch-0.22.2.ebuild
+++ /dev/null
@@ -1,198 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \
-       distutils-r1 toolchain-funcs
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="http://notmuchmail.org/";
-SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz
-       test? ( ${HOMEPAGE%/}/releases/test-databases/database-v1.tar.xz )"
-
-LICENSE="GPL-3"
-# Sub-slot corresponds to major wersion of libnotmuch.so.X.Y.  Bump of Y is
-# meant to be binary backward compatible.
-SLOT="0/4"
-KEYWORDS="~alpha ~amd64 ~x86"
-REQUIRED_USE="
-       nmbug? ( python )
-       python? ( ${PYTHON_REQUIRED_USE} )
-       test? ( crypt emacs python valgrind )
-       "
-IUSE="crypt doc emacs mutt nmbug python test valgrind"
-
-CDEPEND="
-       >=app-shells/bash-completion-1.9
-       >=dev-libs/glib-2.22:2
-       >=dev-libs/gmime-2.6.20-r2:2.6
-       >=dev-libs/xapian-1.2.7-r2:=
-       dev-python/sphinx[${PYTHON_USEDEP}]
-       >=sys-libs/zlib-1.2.5.2
-       sys-libs/talloc
-       crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] )
-       emacs? ( >=virtual/emacs-23 )
-       python? ( ${PYTHON_DEPS} )
-       "
-DEPEND="${CDEPEND}
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
-       test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
-               >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb
-               crypt? ( app-crypt/gnupg dev-libs/openssl ) )
-       valgrind? ( dev-util/valgrind )
-       "
-RDEPEND="${CDEPEND}
-       crypt? ( app-crypt/gnupg )
-       nmbug? ( dev-vcs/git )
-       mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
-               dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
-               virtual/perl-Digest-SHA virtual/perl-File-Path 
virtual/perl-Getopt-Long
-               virtual/perl-Pod-Parser )
-       "
-
-DOCS=( AUTHORS NEWS README )
-SITEFILE="50${PN}-gentoo.el"
-MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
-MY_PATCHES=( )
-
-bindings() {
-       local ret=0
-
-       if use $1; then
-               pushd bindings/$1 || die
-               shift
-               "$@"
-               ret=$?
-               popd || die
-       fi
-
-       return $ret
-}
-
-pkg_pretend() {
-       if has_version '<net-mail/notmuch-0.18'; then
-               ewarn
-               ewarn "There are few not backward compatible changes between"
-               ewarn "<notmuch-0.18 and >=notmuch-0.18.  See NEWS file"
-               ewarn "(0.18 section) for details before first use!"
-               ewarn
-       fi
-}
-
-pkg_setup() {
-       if use emacs; then
-               elisp-need-emacs 23 || die "Emacs version too low"
-       fi
-}
-
-src_unpack() {
-       unpack "${P}".tar.gz
-       if use test; then
-               mkdir -p "${S}"/test/test-databases || die
-               cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ 
|| die
-       fi
-}
-
-src_prepare() {
-       [[ "${MY_PATCHES[@]}" ]] && epatch "${MY_PATCHES[@]}"
-
-       bindings python distutils-r1_src_prepare
-       bindings python mv README README-python || die
-       mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
-
-       rm -f Makefile.config # assure that new Makefile.config will be 
generated
-
-       if use test; then
-               append-cflags -g
-               append-cxxflags -g
-       fi
-}
-
-src_configure() {
-       local myeconfargs=(
-               --bashcompletiondir="$(get_bashcompdir)"
-               --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
-               --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}"
-               --without-ruby
-               --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
-               $(use_with emacs)
-       )
-       tc-export CC CXX
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       V=1 default
-       bindings python distutils-r1_src_compile
-
-       if use mutt; then
-               pushd contrib/notmuch-mutt || die
-               emake notmuch-mutt.1
-               popd || die
-       fi
-
-       if use doc; then
-               pydocs() {
-                       pushd docs || die
-                       emake html
-                       mv html ../python || die
-                       popd || die
-               }
-               LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs
-       fi
-}
-
-src_test() {
-       pax-mark -m notmuch
-       LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" V=1 default
-       pax-mark -ze notmuch
-}
-
-src_install() {
-       default
-
-       if use emacs; then
-               elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
-       fi
-
-       if use nmbug; then
-               dobin devel/nmbug/nmbug
-               dobin devel/nmbug/notmuch-report
-       fi
-
-       if use mutt; then
-               pushd contrib/notmuch-mutt || die
-               dobin notmuch-mutt
-               doman notmuch-mutt.1
-               insinto /etc/mutt
-               doins notmuch-mutt.rc
-               dodoc README-mutt
-               popd || die
-       fi
-
-       DOCS="" bindings python distutils-r1_src_install
-       use doc && bindings python dohtml -r python
-}
-
-pkg_preinst() {
-       if use mutt && ! [[ -e ${ROOT}/etc/mutt/notmuch-mutt.rc ]]; then
-               elog "To enable notmuch support in mutt, add the following line 
into"
-               elog "your mutt config file, please:"
-               elog ""
-               elog "  source /etc/mutt/notmuch-mutt.rc"
-       fi
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

diff --git a/net-mail/notmuch/notmuch-0.23.1.ebuild 
b/net-mail/notmuch/notmuch-0.23.1.ebuild
deleted file mode 100644
index 6f18afc..00000000
--- a/net-mail/notmuch/notmuch-0.23.1.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \
-       distutils-r1 toolchain-funcs
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="http://notmuchmail.org/";
-SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz
-       test? ( ${HOMEPAGE%/}/releases/test-databases/database-v1.tar.xz )"
-
-LICENSE="GPL-3"
-# Sub-slot corresponds to major wersion of libnotmuch.so.X.Y.  Bump of Y is
-# meant to be binary backward compatible.
-SLOT="0/4"
-KEYWORDS="~alpha amd64 ~x86"
-REQUIRED_USE="
-       nmbug? ( python )
-       python? ( ${PYTHON_REQUIRED_USE} )
-       test? ( crypt emacs python valgrind )
-       "
-IUSE="crypt doc emacs mutt nmbug python test valgrind"
-
-CDEPEND="
-       >=app-shells/bash-completion-1.9
-       >=dev-libs/glib-2.22:2
-       >=dev-libs/gmime-2.6.20-r2:2.6
-       >=dev-libs/xapian-1.2.7-r2:=
-       dev-python/sphinx[${PYTHON_USEDEP}]
-       >=sys-libs/zlib-1.2.5.2
-       sys-libs/talloc
-       crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] )
-       emacs? ( >=virtual/emacs-23 )
-       python? ( ${PYTHON_DEPS} )
-       "
-DEPEND="${CDEPEND}
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
-       test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
-               >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb
-               crypt? ( app-crypt/gnupg dev-libs/openssl ) )
-       valgrind? ( dev-util/valgrind )
-       "
-RDEPEND="${CDEPEND}
-       crypt? ( app-crypt/gnupg )
-       nmbug? ( dev-vcs/git )
-       mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
-               dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
-               virtual/perl-Digest-SHA virtual/perl-File-Path 
virtual/perl-Getopt-Long
-               virtual/perl-Pod-Parser )
-       "
-
-DOCS=( AUTHORS NEWS README )
-SITEFILE="50${PN}-gentoo.el"
-MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
-
-bindings() {
-       local ret=0
-
-       if use $1; then
-               pushd bindings/$1 || die
-               shift
-               "$@"
-               ret=$?
-               popd || die
-       fi
-
-       return $ret
-}
-
-pkg_pretend() {
-       if has_version '<net-mail/notmuch-0.18'; then
-               ewarn
-               ewarn "There are few not backward compatible changes between"
-               ewarn "<notmuch-0.18 and >=notmuch-0.18.  See NEWS file"
-               ewarn "(0.18 section) for details before first use!"
-               ewarn
-       fi
-}
-
-pkg_setup() {
-       if use emacs; then
-               elisp-need-emacs 23 || die "Emacs version too low"
-       fi
-}
-
-src_unpack() {
-       unpack "${P}".tar.gz
-       if use test; then
-               mkdir -p "${S}"/test/test-databases || die
-               cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ 
|| die
-       fi
-}
-
-src_prepare() {
-       default
-
-       bindings python distutils-r1_src_prepare
-       bindings python mv README README-python || die
-       mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
-
-       rm -f Makefile.config # assure that new Makefile.config will be 
generated
-
-       if use test; then
-               append-cflags -g
-               append-cxxflags -g
-       fi
-}
-
-src_configure() {
-       local myeconfargs=(
-               --bashcompletiondir="$(get_bashcompdir)"
-               --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
-               --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}"
-               --without-ruby
-               --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
-               $(use_with emacs)
-               $(use_with doc api-docs)
-       )
-       tc-export CC CXX
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       V=1 default
-       bindings python distutils-r1_src_compile
-
-       if use mutt; then
-               pushd contrib/notmuch-mutt || die
-               emake notmuch-mutt.1
-               popd || die
-       fi
-
-       if use doc; then
-               pydocs() {
-                       pushd docs || die
-                       emake html
-                       rm -r html/_sources || die
-                       rm html/{objects.inv,.buildinfo} || die
-                       mkdir -p ../html && mv html ../html/python || die
-                       popd || die
-               }
-               LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs
-       fi
-}
-
-src_test() {
-       pax-mark -m notmuch
-       LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" V=1 default
-       pax-mark -ze notmuch
-}
-
-src_install() {
-       default
-
-       if use emacs; then
-               elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
-       fi
-
-       if use nmbug; then
-               dobin devel/nmbug/nmbug
-               dobin devel/nmbug/notmuch-report
-       fi
-
-       if use mutt; then
-               pushd contrib/notmuch-mutt || die
-               dobin notmuch-mutt
-               doman notmuch-mutt.1
-               insinto /etc/mutt
-               doins notmuch-mutt.rc
-               dodoc README-mutt
-               popd || die
-       fi
-
-       DOCS="" bindings python distutils-r1_src_install
-       use doc && bindings python dodoc -r html
-}
-
-pkg_preinst() {
-       if use mutt && ! [[ -e ${ROOT}/etc/mutt/notmuch-mutt.rc ]]; then
-               elog "To enable notmuch support in mutt, add the following line 
into"
-               elog "your mutt config file, please:"
-               elog ""
-               elog "  source /etc/mutt/notmuch-mutt.rc"
-       fi
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

diff --git a/net-mail/notmuch/notmuch-0.23.2.ebuild 
b/net-mail/notmuch/notmuch-0.23.2.ebuild
deleted file mode 100644
index 49aefbf..00000000
--- a/net-mail/notmuch/notmuch-0.23.2.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \
-       distutils-r1 toolchain-funcs
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="http://notmuchmail.org/";
-SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz
-       test? ( ${HOMEPAGE%/}/releases/test-databases/database-v1.tar.xz )"
-
-LICENSE="GPL-3"
-# Sub-slot corresponds to major wersion of libnotmuch.so.X.Y.  Bump of Y is
-# meant to be binary backward compatible.
-SLOT="0/4"
-KEYWORDS="~alpha ~amd64 ~x86"
-REQUIRED_USE="
-       nmbug? ( python )
-       python? ( ${PYTHON_REQUIRED_USE} )
-       test? ( crypt emacs python valgrind )
-       "
-IUSE="crypt doc emacs mutt nmbug python test valgrind"
-
-CDEPEND="
-       >=app-shells/bash-completion-1.9
-       >=dev-libs/glib-2.22:2
-       >=dev-libs/gmime-2.6.20-r2:2.6
-       >=dev-libs/xapian-1.2.7-r2:=
-       dev-python/sphinx[${PYTHON_USEDEP}]
-       >=sys-libs/zlib-1.2.5.2
-       sys-libs/talloc
-       crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] )
-       emacs? ( >=virtual/emacs-23 )
-       python? ( ${PYTHON_DEPS} )
-       "
-DEPEND="${CDEPEND}
-       virtual/pkgconfig
-       doc? ( app-doc/doxygen )
-       test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
-               >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb
-               crypt? ( app-crypt/gnupg dev-libs/openssl ) )
-       valgrind? ( dev-util/valgrind )
-       "
-RDEPEND="${CDEPEND}
-       crypt? ( app-crypt/gnupg )
-       nmbug? ( dev-vcs/git )
-       mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
-               dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
-               virtual/perl-Digest-SHA virtual/perl-File-Path 
virtual/perl-Getopt-Long
-               virtual/perl-Pod-Parser )
-       "
-
-DOCS=( AUTHORS NEWS README )
-SITEFILE="50${PN}-gentoo.el"
-MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
-
-bindings() {
-       local ret=0
-
-       if use $1; then
-               pushd bindings/$1 || die
-               shift
-               "$@"
-               ret=$?
-               popd || die
-       fi
-
-       return $ret
-}
-
-pkg_pretend() {
-       if has_version '<net-mail/notmuch-0.18'; then
-               ewarn
-               ewarn "There are few not backward compatible changes between"
-               ewarn "<notmuch-0.18 and >=notmuch-0.18.  See NEWS file"
-               ewarn "(0.18 section) for details before first use!"
-               ewarn
-       fi
-}
-
-pkg_setup() {
-       if use emacs; then
-               elisp-need-emacs 23 || die "Emacs version too low"
-       fi
-}
-
-src_unpack() {
-       unpack "${P}".tar.gz
-       if use test; then
-               mkdir -p "${S}"/test/test-databases || die
-               cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ 
|| die
-       fi
-}
-
-src_prepare() {
-       default
-
-       bindings python distutils-r1_src_prepare
-       bindings python mv README README-python || die
-       mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
-
-       rm -f Makefile.config # assure that new Makefile.config will be 
generated
-
-       if use test; then
-               append-cflags -g
-               append-cxxflags -g
-       fi
-}
-
-src_configure() {
-       local myeconfargs=(
-               --bashcompletiondir="$(get_bashcompdir)"
-               --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
-               --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}"
-               --without-ruby
-               --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
-               $(use_with emacs)
-               $(use_with doc api-docs)
-       )
-       tc-export CC CXX
-       econf "${myeconfargs[@]}"
-}
-
-src_compile() {
-       V=1 default
-       bindings python distutils-r1_src_compile
-
-       if use mutt; then
-               pushd contrib/notmuch-mutt || die
-               emake notmuch-mutt.1
-               popd || die
-       fi
-
-       if use doc; then
-               pydocs() {
-                       pushd docs || die
-                       emake html
-                       rm -r html/_sources || die
-                       rm html/{objects.inv,.buildinfo} || die
-                       mkdir -p ../html && mv html ../html/python || die
-                       popd || die
-               }
-               LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs
-       fi
-}
-
-src_test() {
-       pax-mark -m notmuch
-       LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" V=1 default
-       pax-mark -ze notmuch
-}
-
-src_install() {
-       default
-
-       if use emacs; then
-               elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
-       fi
-
-       if use nmbug; then
-               dobin devel/nmbug/nmbug
-               dobin devel/nmbug/notmuch-report
-       fi
-
-       if use mutt; then
-               pushd contrib/notmuch-mutt || die
-               dobin notmuch-mutt
-               doman notmuch-mutt.1
-               insinto /etc/mutt
-               doins notmuch-mutt.rc
-               dodoc README-mutt
-               popd || die
-       fi
-
-       DOCS="" bindings python distutils-r1_src_install
-       use doc && bindings python dodoc -r html
-}
-
-pkg_preinst() {
-       if use mutt && ! [[ -e ${ROOT}/etc/mutt/notmuch-mutt.rc ]]; then
-               elog "To enable notmuch support in mutt, add the following line 
into"
-               elog "your mutt config file, please:"
-               elog ""
-               elog "  source /etc/mutt/notmuch-mutt.rc"
-       fi
-}
-
-pkg_postinst() {
-       use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-       use emacs && elisp-site-regen
-}

Reply via email to