[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2024-05-09 Thread Sam James
commit: 96d14a111d92f4d1aa3203c55cbc91fc1c31bfed
Author: Sam James  gentoo  org>
AuthorDate: Thu May  9 20:18:53 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May  9 20:19:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d14a11

net-mail/notmuch: add 0.38.3

Closes: https://bugs.gentoo.org/885031
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.38.3.ebuild | 299 +
 2 files changed, 300 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 280ff50fa603..4c31c09a6a0f 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,2 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.37.tar.xz 792568 BLAKE2B 
0a968b776efc39ddc09bb2cb2721609fcdf65171978d285b6877abd4c3aa7d0221b25f1052a211be1864c57d961c7a1f0c9915fd9c65497a9e4bce3a2cdbc1c0
 SHA512 
31cac1ff03b139b18a4fec5e29907ba0e3a965f0a7bf5f2f2b0f75980f9663173745be854e83943f344a09cdb7f5615fa48218e327c4ade7a55b3a22b2a9c45e
+DIST notmuch-0.38.3.tar.xz 805416 BLAKE2B 
08f4f5c5732a788a52ca5fb6e6296d7348586796f86cab8273aebf88521e52c52b4515287334d246d030bf3ba0666f24bf0badad843e8b20a1a8bc1da32f6509
 SHA512 
247f8b365a75b29df719403bc2c9645eb669a7ee6eb4c1e0047dcf55fea4d66c8dcb4899162b952643aa6148ec6e1538ebe3e7e8408376153165e394084aed19

diff --git a/net-mail/notmuch/notmuch-0.38.3.ebuild 
b/net-mail/notmuch/notmuch-0.38.3.ebuild
new file mode 100644
index ..4b36d3821319
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.38.3.ebuild
@@ -0,0 +1,299 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   apidoc? ( doc )
+   nmbug? ( python )
+   test? ( crypt emacs python )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-text/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/cffi[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   dev-debug/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   mutt? (
+   dev-perl/File-Which
+   dev-perl/Mail-Box
+   dev-perl/MailTools
+   dev-perl/Term-ReadLine-Gnu
+   virtual/perl-Digest-SHA
+   virtual/perl-File-Path
+   virtual/perl-Getopt-Long
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_setup() {
+   use emacs && elisp-check-emacs-version
+}
+
+src_unpack() {
+   unpack "${P}".tar.xz
+   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
+
+   use python && distutils-r1_src_prepare
+
+ 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2024-05-08 Thread Sam James
commit: 5ff30ab54f80cb65ce9a9349347371d863dae2d8
Author: Sam James  gentoo  org>
AuthorDate: Wed May  8 21:28:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  8 21:28:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff30ab5

net-mail/notmuch: stabilize 0.37-r2 for amd64, arm, arm64, x86

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r2.ebuild 
b/net-mail/notmuch/notmuch-0.37-r2.ebuild
index de653956ff4f..7a7621ec990b 100644
--- a/net-mail/notmuch/notmuch-0.37-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r2.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
 REQUIRED_USE="
${PYTHON_REQUIRED_USE}
apidoc? ( doc )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/

2024-05-08 Thread Sam James
commit: d2d7d6f4c636436cd20138ea0a77e658e0ddcbfc
Author: Sam James  gentoo  org>
AuthorDate: Wed May  8 21:23:31 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May  8 21:25:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d7d6f4

net-mail/notmuch: add py3.12, set DISTUTILS_EXT=1

Closes: https://bugs.gentoo.org/929716
Signed-off-by: Sam James  gentoo.org>

 .../notmuch/files/notmuch-0.37-python3.12.patch|  29 ++
 net-mail/notmuch/notmuch-0.37-r2.ebuild| 305 +
 2 files changed, 334 insertions(+)

diff --git a/net-mail/notmuch/files/notmuch-0.37-python3.12.patch 
b/net-mail/notmuch/files/notmuch-0.37-python3.12.patch
new file mode 100644
index ..b8b668ebcae6
--- /dev/null
+++ b/net-mail/notmuch/files/notmuch-0.37-python3.12.patch
@@ -0,0 +1,29 @@
+https://bugs.gentoo.org/929716
+https://github.com/notmuch/notmuch/commit/3771832b013012e408696897215fd0edde7dce37
+
+From 3771832b013012e408696897215fd0edde7dce37 Mon Sep 17 00:00:00 2001
+From: Michael J Gruber 
+Date: Fri, 16 Jun 2023 13:19:26 +0200
+Subject: [PATCH] python: adjust legacy bindings to py 3.12
+
+Py 3.12 finally pulled the plug on the `SafeConfigParser` class which
+has been deprecated since py 3.2.
+
+We use it in the legacy bindings only, so take the easy route of
+importing `ConfigParser` as `SafeConfigParser` and monkey-patching so
+that the class has the expected interface.
+--- a/bindings/python/notmuch/compat.py
 b/bindings/python/notmuch/compat.py
+@@ -47,7 +47,10 @@ def encode_utf8(value):
+ 
+ return value
+ else:
+-from configparser import SafeConfigParser
++from configparser import ConfigParser as SafeConfigParser
++
++if not hasattr(SafeConfigParser, 'readfp'):   # py >= 3.12
++SafeConfigParser.readfp = SafeConfigParser.read_file
+ 
+ class Python3StringMixIn(object):
+ def __str__(self):
+

diff --git a/net-mail/notmuch/notmuch-0.37-r2.ebuild 
b/net-mail/notmuch/notmuch-0.37-r2.ebuild
new file mode 100644
index ..de653956ff4f
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.37-r2.ebuild
@@ -0,0 +1,305 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
+   apidoc? ( doc )
+   nmbug? ( python )
+   test? ( crypt emacs python )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-text/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/cffi[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   dev-debug/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.37-configure-clang16.patch
+

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-06-11 Thread Michał Górny
commit: 25151232d442bf339577d2f23c5640bcc3dde443
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 11 09:22:48 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 11 09:23:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25151232

net-mail/notmuch: Replace virtual/python-cffi dep

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r1.ebuild | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index 91db038408c4..b84ada4a6410 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
 
 inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
 
@@ -57,7 +57,9 @@ COMMON_DEPEND="
emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
python? (
${PYTHON_DEPS}
-   virtual/python-cffi[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/cffi[${PYTHON_USEDEP}]
+   ' 'python*')
)
 "
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/

2023-05-22 Thread Conrad Kostecki
commit: fbffb06dd2dfb51b6656dcf74caecbc6bbea2b38
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue May 16 16:11:22 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon May 22 21:26:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbffb06d

net-mail/notmuch: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31064
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-mail/notmuch/files/notmuch-0.32.1-tests.patch | 174 --
 1 file changed, 174 deletions(-)

diff --git a/net-mail/notmuch/files/notmuch-0.32.1-tests.patch 
b/net-mail/notmuch/files/notmuch-0.32.1-tests.patch
deleted file mode 100644
index 8a5643254856..
--- a/net-mail/notmuch/files/notmuch-0.32.1-tests.patch
+++ /dev/null
@@ -1,174 +0,0 @@
-From: Tomi Ollila 
-Date: Sat, 22 May 2021 13:39:57 + (+0300)
-Subject: test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()
-X-Git-Url: 
https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=8675be1d307bc2df882107744641f6a7858e65ad;hp=3baa61e0e58402bc50c5df529fcf669bf4b2facb
-
-test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()
-
-notmuch_passwd_sanitize() in test-lib.sh is too generic, it cannot
-work in many cases...
-
-The more specific version _libconfig_sanitize() replaces it in
-T590-libconfig.sh and the code that uses it is modified to output
-the keys (ascending numbers printed in hex) so the sanitizer knows
-what to sanitize in which lines...
-
-"@" + fqdn -> "@FQDN" replacement is used as fqdn could
--- in theory -- be substring of 'USERNAME'.
-
-'user -> 'USER_FULL_NAME replacement to work in cases where user
-is empty -- as only first ' is replaced that works as expected.
-
-In addition to ".(none)" now also ".localdomain" is filtered from
-USERNAME@FQDN.
-
-/dev/fd/{n} is not defined in posix, but it is portable enough
-(if it weren't it is easy to fix -- now code looks clearer).

-
-diff --git a/test/T590-libconfig.sh b/test/T590-libconfig.sh
-index 745e1bb4..bc7298f8 100755
 a/test/T590-libconfig.sh
-+++ b/test/T590-libconfig.sh
-@@ -5,6 +5,25 @@ test_description="library config API"
- 
- add_email_corpus
- 
-+_libconfig_sanitize() {
-+${NOTMUCH_PYTHON} /dev/fd/3 3<<'EOF'
-+import os, sys, pwd, socket
-+
-+pw = pwd.getpwuid(os.getuid())
-+user = pw.pw_name
-+name = pw.pw_gecos.partition(",")[0]
-+fqdn = socket.getaddrinfo(socket.gethostname(), 0, 0,
-+  socket.SOCK_STREAM, 0, socket.AI_CANONNAME)[0][3]
-+for l in sys.stdin:
-+if l[:4] == "08: ":
-+l = l.replace(user, "USERNAME", 1).replace("@" + fqdn, "@FQDN", 1)
-+l = l.replace(".(none)", "", 1).replace(".localdomain", "", 1)
-+elif l[:4] == "10: ":
-+l = l.replace("'" + name, "'USER_FULL_NAME", 1)
-+sys.stdout.write(l)
-+EOF
-+}
-+
- cat < c_head
- #include 
- #include 
-@@ -380,26 +399,26 @@ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR} '' 
%NULL%
-key < NOTMUCH_CONFIG_LAST;
-key = (notmuch_config_key_t)(key + 1)) {
-   const char *val = notmuch_config_get (db, key);
--printf("%s\n", val ? val : "NULL" );
-+  printf("%02d: '%s'\n", key, val ? val : "NULL" );
- }
- }
- EOF
- 
--notmuch_passwd_sanitize < OUTPUT > OUTPUT.clean
-+_libconfig_sanitize < OUTPUT > OUTPUT.clean
- 
- cat <<'EOF' >EXPECTED
- == stdout ==
--MAIL_DIR
--MAIL_DIR
--MAIL_DIR/.notmuch/hooks
--MAIL_DIR/.notmuch/backups
--
--unread;inbox
--
--true
--USERNAME@FQDN
--NULL
--USER_FULL_NAME
-+00: 'MAIL_DIR'
-+01: 'MAIL_DIR'
-+02: 'MAIL_DIR/.notmuch/hooks'
-+03: 'MAIL_DIR/.notmuch/backups'
-+04: ''
-+05: 'unread;inbox'
-+06: ''
-+07: 'true'
-+08: 'USERNAME@FQDN'
-+09: 'NULL'
-+10: 'USER_FULL_NAME'
- == stderr ==
- EOF
- unset MAILDIR
-@@ -694,23 +713,23 @@ cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR} %NULL% 
%NULL%
-key < NOTMUCH_CONFIG_LAST;
-key = (notmuch_config_key_t)(key + 1)) {
-   const char *val = notmuch_config_get (db, key);
--printf("%s\n", val ? val : "NULL" );
-+  printf("%x: '%s'\n", key, val ? val : "NULL" );
- }
- }
- EOF
- cat <<'EOF' >EXPECTED
- == stdout ==
--MAIL_DIR
--MAIL_DIR
--MAIL_DIR/.notmuch/hooks
--MAIL_DIR/.notmuch/backups
--foo;bar;fub
--unread;inbox
--sekrit_junk
--true
--test_su...@notmuchmail.org
--test_suite_ot...@notmuchmail.org;test_su...@otherdomain.org
--Notmuch Test Suite
-+0: 'MAIL_DIR'
-+1: 'MAIL_DIR'
-+2: 'MAIL_DIR/.notmuch/hooks'
-+3: 'MAIL_DIR/.notmuch/backups'
-+4: 'foo;bar;fub'
-+5: 'unread;inbox'
-+6: 'sekrit_junk'
-+7: 'true'
-+8: 'test_su...@notmuchmail.org'
-+9: 'test_suite_ot...@notmuchmail.org;test_su...@otherdomain.org'
-+a: 'Notmuch Test Suite'
- == stderr ==
- EOF
- test_expect_equal_file EXPECTED OUTPUT
-@@ -723,25 +742,26 @@ cat c_head2 - c_tail <<'EOF' | test_C ${MAIL_DIR} 
/nonexistent %NULL%
-key < NOTMUCH_CONFIG_LAST;
-key = (notmuch_config_key_t)(key 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-05-13 Thread Sam James
commit: c81e426e280085dc4025054fefa2ce2448bde3eb
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 00:24:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 00:31:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81e426e

net-mail/notmuch: drop 0.32.2-r1, 0.37

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest |   1 -
 net-mail/notmuch/notmuch-0.32.2-r1.ebuild | 290 -
 net-mail/notmuch/notmuch-0.37.ebuild  | 298 --
 3 files changed, 589 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 501d27e964c0..280ff50fa603 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,2 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
-DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
 DIST notmuch-0.37.tar.xz 792568 BLAKE2B 
0a968b776efc39ddc09bb2cb2721609fcdf65171978d285b6877abd4c3aa7d0221b25f1052a211be1864c57d961c7a1f0c9915fd9c65497a9e4bce3a2cdbc1c0
 SHA512 
31cac1ff03b139b18a4fec5e29907ba0e3a965f0a7bf5f2f2b0f75980f9663173745be854e83943f344a09cdb7f5615fa48218e327c4ade7a55b3a22b2a9c45e

diff --git a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
deleted file mode 100644
index eac23a06ccea..
--- a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
+++ /dev/null
@@ -1,290 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
-
-inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="https://notmuchmail.org/;
-SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
-   test? ( 
https://notmuchmail.org/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/5"
-KEYWORDS="~alpha amd64 arm arm64 ~ppc64 x86 ~x64-macos"
-REQUIRED_USE="
-   apidoc? ( doc )
-   nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( crypt emacs python valgrind )
-"
-IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   app-arch/xz-utils[extra-filters(-)]
-   virtual/pkgconfig
-   apidoc? (
-   app-doc/doxygen
-   dev-lang/perl
-   )
-   doc? (
-   dev-python/sphinx
-   sys-apps/texinfo
-   )
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-   )
-   test? ( sys-process/parallel )
-"
-
-COMMON_DEPEND="
-   dev-libs/glib
-   dev-libs/gmime:3.0[crypt]
-   >=dev-libs/xapian-1.4.0:=
-   sys-libs/talloc
-   sys-libs/zlib:=
-   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
-   python? (
-   ${PYTHON_DEPS}
-   virtual/python-cffi[${PYTHON_USEDEP}]
-   )
-"
-
-DEPEND="${COMMON_DEPEND}
-   test? (
-   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
-   app-misc/dtach
-   sys-devel/gdb
-   crypt? (
-   app-crypt/gnupg
-   dev-libs/openssl
-   )
-   )
-   valgrind? ( dev-util/valgrind )
-"
-
-RDEPEND="${COMMON_DEPEND}
-   crypt? ( app-crypt/gnupg )
-   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
-   dev-perl/Pod-Parser
-   )
-   nmbug? ( dev-vcs/git )
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.32.1-tests.patch"
-)
-
-pkg_setup() {
-   use emacs && elisp-check-emacs-version
-}
-
-src_unpack() {
-   unpack "${P}".tar.xz
-   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() {
-   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-05-13 Thread Sam James
commit: 2ea22c2b901b31252ca72dbf08c13ad37319ad6a
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 00:28:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 00:31:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ea22c2b

net-mail/notmuch: drop invalid USE=valgrind flag (for test suite)

We don't, in general, run Valgrind for test suites in Gentoo because it's
not portable enough and gives inconsistent results, especially under sandbox.

Plus it's confusing given USE=valgrind is effectively a global USE flag (even
if it isn't in use.desc yet) for meaning "enable annotations to enable better
debugging under Valgrind", rather than "run tests under it".

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/metadata.xml   | 1 -
 net-mail/notmuch/notmuch-0.37-r1.ebuild | 5 ++---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index ab7d36e4a67a..0ba2d4d8e3f9 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -16,7 +16,6 @@
Install experimental tag sharing /
pseudo-bug-tracking script for Notmuch
(see http://notmuchmail.org/nmbug/)
-   Depend on dev-util/valgrind 
for test suite


Notmuch is a system for indexing, searching, reading, and 
tagging large

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index a22d4d8d2108..91db038408c4 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -22,9 +22,9 @@ REQUIRED_USE="
${PYTHON_REQUIRED_USE}
apidoc? ( doc )
nmbug? ( python )
-   test? ( crypt emacs python valgrind )
+   test? ( crypt emacs python )
 "
-IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+IUSE="apidoc crypt doc emacs mutt nmbug python test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
@@ -71,7 +71,6 @@ DEPEND="${COMMON_DEPEND}
dev-libs/openssl
)
)
-   valgrind? ( dev-util/valgrind )
 "
 
 RDEPEND="${COMMON_DEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-04-29 Thread Sam James
commit: 2d8e754c9adc1e70c9f27c3fd44f1cfec0f9d9b2
Author: Matt Turner  gentoo  org>
AuthorDate: Thu Apr 27 13:21:26 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 29 06:44:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d8e754c

net-mail/notmuch: Require Python unconditionally

python_setup is called unconditionally (in both src_configure and
src_compile...?) for sphinx, so we must have a Python target set.

Signed-off-by: Matt Turner  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/30775
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index 0fdb5964d10f..a22d4d8d2108 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -19,9 +19,9 @@ LICENSE="GPL-3"
 SLOT="0/5"
 KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
 REQUIRED_USE="
+   ${PYTHON_REQUIRED_USE}
apidoc? ( doc )
nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
test? ( crypt emacs python valgrind )
 "
 IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-03-26 Thread Ulrich Müller
commit: b9dfbbdf3b7fbf5e3e1a98897bf9529418b2e707
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sun Mar 26 16:49:34 2023 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sun Mar 26 16:50:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9dfbbdf

net-mail/notmuch: Drop redundant NEED_EMACS

The default in elisp-common.eclass is 25.3 now.

Signed-off-by: Ulrich Müller  gentoo.org>

 net-mail/notmuch/notmuch-0.32.2-r1.ebuild | 1 -
 net-mail/notmuch/notmuch-0.37-r1.ebuild   | 1 -
 net-mail/notmuch/notmuch-0.37.ebuild  | 1 -
 3 files changed, 3 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
index e95941d04223..eac23a06ccea 100644
--- a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
@@ -4,7 +4,6 @@
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
-NEED_EMACS="24.1"
 PYTHON_COMPAT=( python3_{9..10} pypy3 )
 
 inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index f068e7d081e5..0fdb5964d10f 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -4,7 +4,6 @@
 EAPI=8
 
 DISTUTILS_OPTIONAL=1
-NEED_EMACS="24.1"
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
 inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils

diff --git a/net-mail/notmuch/notmuch-0.37.ebuild 
b/net-mail/notmuch/notmuch-0.37.ebuild
index 496f189cf93b..1436e9ca1bc6 100644
--- a/net-mail/notmuch/notmuch-0.37.ebuild
+++ b/net-mail/notmuch/notmuch-0.37.ebuild
@@ -4,7 +4,6 @@
 EAPI=8
 
 DISTUTILS_OPTIONAL=1
-NEED_EMACS="24.1"
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
 inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-03-06 Thread Arthur Zamarin
commit: ccec4737e48357716b18e092b86255ee07e7d468
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Mar  6 16:54:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Mar  6 16:54:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccec4737

net-mail/notmuch: Stabilize 0.37-r1 amd64, #896150

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index 7e29e3366dd8..b981227e0807 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 arm arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-03-06 Thread Arthur Zamarin
commit: 5307eacc5b6fe67fc2177884d5c3af93bf80ff2d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Mar  6 16:54:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Mar  6 16:54:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5307eacc

net-mail/notmuch: Stabilize 0.37-r1 x86, #896150

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index b981227e0807..f068e7d081e5 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~ppc64 ~riscv x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-03-06 Thread Arthur Zamarin
commit: 90bad122a8e6b8a94878a8a8836411680a26a37d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Mar  6 16:54:12 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Mar  6 16:54:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90bad122

net-mail/notmuch: Stabilize 0.37-r1 arm, #896150

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index 2c77f534aa31..7e29e3366dd8 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-03-06 Thread Arthur Zamarin
commit: ffbef939376f4173f9765c233a7375ade1d6c24f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Mar  6 16:54:09 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Mar  6 16:54:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffbef939

net-mail/notmuch: Stabilize 0.37-r1 arm64, #896150

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-mail/notmuch/notmuch-0.37-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
index f5bd81fbe13f..2c77f534aa31 100644
--- a/net-mail/notmuch/notmuch-0.37-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/

2023-01-13 Thread Sam James
commit: 80e849132c5477f51fcb9323316cc8546ea9564f
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan 13 08:21:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan 13 08:22:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e84913

net-mail/notmuch: fix configure w/ clang 16

Closes: https://bugs.gentoo.org/879739
Signed-off-by: Sam James  gentoo.org>

 .../files/notmuch-0.37-configure-clang16.patch |  24 ++
 net-mail/notmuch/notmuch-0.37-r1.ebuild| 303 +
 2 files changed, 327 insertions(+)

diff --git a/net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch 
b/net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch
new file mode 100644
index ..42c108337771
--- /dev/null
+++ b/net-mail/notmuch/files/notmuch-0.37-configure-clang16.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/879739
+https://nmbug.notmuchmail.org/nmweb/show/20221202191908.848227-1-qsx%40chaotikum.eu
+
+Probe for strcasestr using the C++ compiler
+
+The C++ compiler may define _GNU_SOURCE, causing  to
+declare strcasestr, while the C compiler does not.  As a result,
+the probe may fail, resulting in an incompatible declaration
+of strcasestr in compat/compat.h.
+
+Upstream discussion:
+
+  [PATCH] compat/strcasestr: Include correct header file
+  

+
+--- a/compat/have_strcasestr.c
 b/compat/have_strcasestr.c
+@@ -1,4 +1,5 @@
+ #define _GNU_SOURCE
++#include 
+ #include 
+ 
+ int
+

diff --git a/net-mail/notmuch/notmuch-0.37-r1.ebuild 
b/net-mail/notmuch/notmuch-0.37-r1.ebuild
new file mode 100644
index ..e28a9d0aa38e
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.37-r1.ebuild
@@ -0,0 +1,303 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.37-configure-clang16.patch
+)
+
+pkg_setup() {
+   use emacs && elisp-check-emacs-version
+}
+
+src_unpack() {
+   unpack "${P}".tar.xz
+   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
+
+   use python && 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-01-09 Thread Sam James
commit: 4e0d25e7fc06b82af0a414416f4f5c9e556f1e91
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 10 06:01:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 10 06:01:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0d25e7

net-mail/notmuch: enable py3.11

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.37.ebuild 
b/net-mail/notmuch/notmuch-0.37.ebuild
index 82de22415b12..718c9f43af36 100644
--- a/net-mail/notmuch/notmuch-0.37.ebuild
+++ b/net-mail/notmuch/notmuch-0.37.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_OPTIONAL=1
 NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
 inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2023-01-09 Thread Sam James
commit: db35e12907bff2dbdf4e30460a0afa274bc08228
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan 10 06:01:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan 10 06:01:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db35e129

net-mail/notmuch: drop 0.34.2, 0.34.2-r1

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest |   1 -
 net-mail/notmuch/notmuch-0.34.2-r1.ebuild | 302 --
 net-mail/notmuch/notmuch-0.34.2.ebuild| 302 --
 3 files changed, 605 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 94e01066b6ac..501d27e964c0 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
-DIST notmuch-0.34.2.tar.xz 749384 BLAKE2B 
b8abb99cbb3632bd42742e3f31fb76b7113c2f9c4240081efad940d2fec139f442cc7d21be5b67ca7aca7ce730e9e3b9f8db690ed3a1239946ec490a089b700b
 SHA512 
fd15145404c621fb259b869ddfd77d6302f777a8ead203cfe3a62b66b452f7d3737b214657517c592ce86ce37fb914f800830ea9d05da20d59ec09feaa81d20c
 DIST notmuch-0.37.tar.xz 792568 BLAKE2B 
0a968b776efc39ddc09bb2cb2721609fcdf65171978d285b6877abd4c3aa7d0221b25f1052a211be1864c57d961c7a1f0c9915fd9c65497a9e4bce3a2cdbc1c0
 SHA512 
31cac1ff03b139b18a4fec5e29907ba0e3a965f0a7bf5f2f2b0f75980f9663173745be854e83943f344a09cdb7f5615fa48218e327c4ade7a55b3a22b2a9c45e

diff --git a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
deleted file mode 100644
index 193f0ad1d26f..
--- a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
+++ /dev/null
@@ -1,302 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
-
-inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="https://notmuchmail.org/;
-SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
-   test? ( 
https://notmuchmail.org/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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
-REQUIRED_USE="
-   apidoc? ( doc )
-   nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( crypt emacs python valgrind )
-"
-IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   app-arch/xz-utils[extra-filters(-)]
-   virtual/pkgconfig
-   apidoc? (
-   app-doc/doxygen
-   dev-lang/perl
-   )
-   doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   sys-apps/texinfo
-   )
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-   )
-   test? (
-   app-shells/bash
-   sys-process/parallel
-   )
-"
-
-COMMON_DEPEND="
-   dev-libs/glib
-   dev-libs/gmime:3.0[crypt]
-   >=dev-libs/xapian-1.4.0:=
-   sys-libs/talloc
-   sys-libs/zlib:=
-   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
-   python? (
-   ${PYTHON_DEPS}
-   virtual/python-cffi[${PYTHON_USEDEP}]
-   )
-"
-
-DEPEND="${COMMON_DEPEND}
-   test? (
-   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
-   app-misc/dtach
-   sys-devel/gdb[python]
-   crypt? (
-   app-crypt/gnupg
-   dev-libs/openssl
-   )
-   )
-   valgrind? ( dev-util/valgrind )
-"
-
-RDEPEND="${COMMON_DEPEND}
-   crypt? ( app-crypt/gnupg )
-   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
-   dev-perl/Pod-Parser
-   )
-   nmbug? ( dev-vcs/git )
-"

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-09-30 Thread Sam James
commit: 80d3b2b99abf16781602558dd439dfa5ab3af537
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  1 04:51:45 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  1 04:51:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80d3b2b9

net-mail/notmuch: don't install removed nmbug

Closes: https://bugs.gentoo.org/873421
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.37.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.37.ebuild 
b/net-mail/notmuch/notmuch-0.37.ebuild
index 67c45dcc26f7..82de22415b12 100644
--- a/net-mail/notmuch/notmuch-0.37.ebuild
+++ b/net-mail/notmuch/notmuch-0.37.ebuild
@@ -250,8 +250,8 @@ src_install() {
 
if use nmbug; then
# TODO: those guys need proper deps
-   python_fix_shebang devel/nmbug/{nmbug,notmuch-report}
-   dobin devel/nmbug/{nmbug,notmuch-report}
+   python_fix_shebang devel/nmbug/notmuch-report
+   dobin devel/nmbug/notmuch-report
fi
 
if use mutt; then



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-09-13 Thread Sam James
commit: cba3e865aef60dc06fc919cc7040bf7c82caadd1
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 13 22:46:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 13 22:46:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba3e865

net-mail/notmuch: fix USE=doc

Closes: https://bugs.gentoo.org/869926
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.37.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.37.ebuild 
b/net-mail/notmuch/notmuch-0.37.ebuild
index d3b3da07aebf..67c45dcc26f7 100644
--- a/net-mail/notmuch/notmuch-0.37.ebuild
+++ b/net-mail/notmuch/notmuch-0.37.ebuild
@@ -235,9 +235,6 @@ src_install() {
default
 
if use doc; then
-   pushd doc/_build/man/man1 > /dev/null || die
-   ln notmuch.1 notmuch-setup.1 || die
-   popd > /dev/null || die
if use apidoc; then
# rename overly generic manpage to avoid clashes
mv doc/_build/man/man3/deprecated.3 \



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-09-12 Thread Sam James
commit: 00dc570410286ad60250c21756b88e69b0622670
Author: Austin Ray  austinray  io>
AuthorDate: Sat Jul 30 02:14:50 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 12 19:45:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00dc5704

net-mail/notmuch: add 0.36

Closes: https://bugs.gentoo.org/841215
Signed-off-by: Austin Ray  austinray.io>
Closes: https://github.com/gentoo/gentoo/pull/26659
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest|   1 +
 net-mail/notmuch/notmuch-0.36.ebuild | 302 +++
 2 files changed, 303 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index a56e679e8dd3..30c467b34d9b 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
 DIST notmuch-0.34.2.tar.xz 749384 BLAKE2B 
b8abb99cbb3632bd42742e3f31fb76b7113c2f9c4240081efad940d2fec139f442cc7d21be5b67ca7aca7ce730e9e3b9f8db690ed3a1239946ec490a089b700b
 SHA512 
fd15145404c621fb259b869ddfd77d6302f777a8ead203cfe3a62b66b452f7d3737b214657517c592ce86ce37fb914f800830ea9d05da20d59ec09feaa81d20c
+DIST notmuch-0.36.tar.xz 761260 BLAKE2B 
e5928d316427c0805821be5f3d21c8764fbfd895524954c0bf41593c9c8f72d4c142e8b2a9aacfb36df332f7a1cd9cc16854eabd599db35962fdf5d11746852a
 SHA512 
00f89e46467cad1cb8135644ed6655e88c93edcba553ced503c21e53f048eb49a333127649ea69bd30e164e8322a3e1dd0fcd672b93e087a8b470e60a6e838fa

diff --git a/net-mail/notmuch/notmuch-0.36.ebuild 
b/net-mail/notmuch/notmuch-0.36.ebuild
new file mode 100644
index ..166ca13c6c01
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.36.ebuild
@@ -0,0 +1,302 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-09-12 Thread Sam James
commit: 9aa5fb541a6e3522a5f6146f5f7d7b1e5d1905e8
Author: Sam James  gentoo  org>
AuthorDate: Mon Sep 12 19:48:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Sep 12 19:48:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aa5fb54

net-mail/notmuch: add 0.37, drop 0.36

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest | 2 +-
 net-mail/notmuch/{notmuch-0.36.ebuild => notmuch-0.37.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 30c467b34d9b..94e01066b6ac 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
 DIST notmuch-0.34.2.tar.xz 749384 BLAKE2B 
b8abb99cbb3632bd42742e3f31fb76b7113c2f9c4240081efad940d2fec139f442cc7d21be5b67ca7aca7ce730e9e3b9f8db690ed3a1239946ec490a089b700b
 SHA512 
fd15145404c621fb259b869ddfd77d6302f777a8ead203cfe3a62b66b452f7d3737b214657517c592ce86ce37fb914f800830ea9d05da20d59ec09feaa81d20c
-DIST notmuch-0.36.tar.xz 761260 BLAKE2B 
e5928d316427c0805821be5f3d21c8764fbfd895524954c0bf41593c9c8f72d4c142e8b2a9aacfb36df332f7a1cd9cc16854eabd599db35962fdf5d11746852a
 SHA512 
00f89e46467cad1cb8135644ed6655e88c93edcba553ced503c21e53f048eb49a333127649ea69bd30e164e8322a3e1dd0fcd672b93e087a8b470e60a6e838fa
+DIST notmuch-0.37.tar.xz 792568 BLAKE2B 
0a968b776efc39ddc09bb2cb2721609fcdf65171978d285b6877abd4c3aa7d0221b25f1052a211be1864c57d961c7a1f0c9915fd9c65497a9e4bce3a2cdbc1c0
 SHA512 
31cac1ff03b139b18a4fec5e29907ba0e3a965f0a7bf5f2f2b0f75980f9663173745be854e83943f344a09cdb7f5615fa48218e327c4ade7a55b3a22b2a9c45e

diff --git a/net-mail/notmuch/notmuch-0.36.ebuild 
b/net-mail/notmuch/notmuch-0.37.ebuild
similarity index 99%
rename from net-mail/notmuch/notmuch-0.36.ebuild
rename to net-mail/notmuch/notmuch-0.37.ebuild
index 166ca13c6c01..d3b3da07aebf 100644
--- a/net-mail/notmuch/notmuch-0.36.ebuild
+++ b/net-mail/notmuch/notmuch-0.37.ebuild
@@ -36,7 +36,7 @@ BDEPEND="
dev-lang/perl
)
doc? (
-   dev-python/sphinx
+   dev-python/sphinx[${PYTHON_USEDEP}]
sys-apps/texinfo
)
python? (



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-08-23 Thread Sam James
commit: 07fd9cde32eb83dd60c1b69a34dbacf114b5271e
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 23 18:27:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 18:34:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fd9cde

net-mail/notmuch: fix Sphinx dep

python_check_deps doesn't do anything w/ distutils-r1,
so we settle for the slight over-dep (note that
the configure script imports, so we need the [${PYTHON_USEDEP}])

Bug: https://bugs.gentoo.org/856628
Closes: https://bugs.gentoo.org/866117
Fixes: 8e4a0100e36949f4c4887f00f7dd438dd5a1be75
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.34.2-r1.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
index f375e69ff53c..193f0ad1d26f 100644
--- a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
@@ -36,7 +36,7 @@ BDEPEND="
dev-lang/perl
)
doc? (
-   $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+   dev-python/sphinx[${PYTHON_USEDEP}]
sys-apps/texinfo
)
python? (
@@ -93,10 +93,6 @@ RDEPEND="${COMMON_DEPEND}
 
 SITEFILE="50${PN}-gentoo.el"
 
-python_check_deps() {
-   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
-}
-
 pkg_setup() {
use emacs && elisp-check-emacs-version
 }



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-08-22 Thread Sam James
commit: 8e4a0100e36949f4c4887f00f7dd438dd5a1be75
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 23 05:28:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 23 05:28:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e4a0100

net-mail/notmuch: use python_check_deps for Sphinx

The configure script tries to import Sphinx so we need
Sphinx to be installed for the same Python.

Either we need python_setup in the ebuild because it actually tries to import
sphinx or something (then we need check_deps), or we don't need it at all
and we can simply BDEPEND on it.

And it does try to actually import Sphinx, at least for a configure
test: https://github.com/notmuch/notmuch/blob/master/configure#L935.

Closes: https://bugs.gentoo.org/856628
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.34.2-r1.ebuild | 306 ++
 1 file changed, 306 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.34.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
new file mode 100644
index ..f375e69ff53c
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.34.2-r1.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+python_check_deps() {
+   python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+   use emacs && elisp-check-emacs-version
+}
+
+src_unpack() {
+   unpack "${P}".tar.xz
+   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
+
+   use python && distutils-r1_src_prepare
+
+   mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
+
+   # Override 'install' target, we want to install manpages with doman, 
but let it install texinfo files.
+   sed -i "s/all install-man install-info/all $(usex doc install-info 
'')/" "Makefile.local" || die
+
+   use test && append-flags '-g'
+
+   # Non-autoconf configure
+   [[ ${CHOST} == *-solaris* ]] && append-ldflags '-lnsl' '-lsocket'
+
+   # sphinx-4 broke everything. https://bugs.gentoo.org/789492
+   echo 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-03-03 Thread Yixun Lan
commit: 502d2379ab21749f33e3286e1a52ebb4c5dfd460
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Mar  3 14:45:17 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Mar  3 15:14:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502d2379

net-mail/notmuch: keyword ~riscv

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-mail/notmuch/notmuch-0.34.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.34.2.ebuild 
b/net-mail/notmuch/notmuch-0.34.2.ebuild
index d056fb61c403..c35d6a91e6b8 100644
--- a/net-mail/notmuch/notmuch-0.34.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.34.2.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2022-02-01 Thread Michał Górny
commit: 02b6c8bb32372b6c4047de7dab58fda1dd963b3c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb  1 18:39:14 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  1 18:40:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b6c8bb

net-mail/notmuch: Remove DISTUTILS_USE_SETUPTOOLS

DISTUTILS_USE_SETUPTOOLS is not used with DISTUTILS_OPTIONAL, and now it
triggers a QA warning.  Remove it.

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/notmuch/notmuch-0.32.2-r1.ebuild | 3 +--
 net-mail/notmuch/notmuch-0.34.2.ebuild| 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
index d99d63cef1d2..788bd1925968 100644
--- a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=manual
 NEED_EMACS="24.1"
 PYTHON_COMPAT=( python3_{7..10} pypy3 )
 

diff --git a/net-mail/notmuch/notmuch-0.34.2.ebuild 
b/net-mail/notmuch/notmuch-0.34.2.ebuild
index d7b1744e55c7..d056fb61c403 100644
--- a/net-mail/notmuch/notmuch-0.34.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.34.2.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=manual
 NEED_EMACS="24.1"
 PYTHON_COMPAT=( python3_{7..10} pypy3 )
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-12-20 Thread Georgy Yakovlev
commit: d5719d86bf576ff6730c59a86e672a1bace7447a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Dec 21 04:20:19 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Dec 21 04:20:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5719d86

net-mail/notmuch: drop 0.34.1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   1 -
 net-mail/notmuch/notmuch-0.34.1.ebuild | 303 -
 2 files changed, 304 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index a53e1acf6fcc..a56e679e8dd3 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
-DIST notmuch-0.34.1.tar.xz 748444 BLAKE2B 
f8e2d8041082a95832d0b5bf600b92b5de93e606d99ffdf38ad13bbd80205688780d64a4c64f1db3783eaa56b34f5fef1839430faf058aa5b92053026de06326
 SHA512 
ef1423e049a83f81fb6b5a75f9a35efc0381c661bbe7dabd6b385df829ac4195137ccef3fa1ec652df8eb4566e3d9d30880a4c74497a9668cb3ca240fb88
 DIST notmuch-0.34.2.tar.xz 749384 BLAKE2B 
b8abb99cbb3632bd42742e3f31fb76b7113c2f9c4240081efad940d2fec139f442cc7d21be5b67ca7aca7ce730e9e3b9f8db690ed3a1239946ec490a089b700b
 SHA512 
fd15145404c621fb259b869ddfd77d6302f777a8ead203cfe3a62b66b452f7d3737b214657517c592ce86ce37fb914f800830ea9d05da20d59ec09feaa81d20c

diff --git a/net-mail/notmuch/notmuch-0.34.1.ebuild 
b/net-mail/notmuch/notmuch-0.34.1.ebuild
deleted file mode 100644
index d7b1744e55c7..
--- a/net-mail/notmuch/notmuch-0.34.1.ebuild
+++ /dev/null
@@ -1,303 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=manual
-NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{7..10} pypy3 )
-
-inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="https://notmuchmail.org/;
-SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
-   test? ( 
https://notmuchmail.org/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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
-REQUIRED_USE="
-   apidoc? ( doc )
-   nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( crypt emacs python valgrind )
-"
-IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   app-arch/xz-utils[extra-filters(-)]
-   virtual/pkgconfig
-   apidoc? (
-   app-doc/doxygen
-   dev-lang/perl
-   )
-   doc? (
-   dev-python/sphinx
-   sys-apps/texinfo
-   )
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-   )
-   test? (
-   app-shells/bash
-   sys-process/parallel
-   )
-"
-
-COMMON_DEPEND="
-   dev-libs/glib
-   dev-libs/gmime:3.0[crypt]
-   >=dev-libs/xapian-1.4.0:=
-   sys-libs/talloc
-   sys-libs/zlib:=
-   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
-   python? (
-   ${PYTHON_DEPS}
-   virtual/python-cffi[${PYTHON_USEDEP}]
-   )
-"
-
-DEPEND="${COMMON_DEPEND}
-   test? (
-   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
-   app-misc/dtach
-   sys-devel/gdb[python]
-   crypt? (
-   app-crypt/gnupg
-   dev-libs/openssl
-   )
-   )
-   valgrind? ( dev-util/valgrind )
-"
-
-RDEPEND="${COMMON_DEPEND}
-   crypt? ( app-crypt/gnupg )
-   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
-   dev-perl/Pod-Parser
-   )
-   nmbug? ( dev-vcs/git )
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-pkg_setup() {
-   use emacs && 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-12-20 Thread Georgy Yakovlev
commit: 6bce6b664fa170f0069c1ccae90934c9ec201eb4
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Dec 21 04:19:31 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Dec 21 04:19:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bce6b66

net-mail/notmuch: enable py3.10

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.32.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
index ba302f77adb9..d99d63cef1d2 100644
--- a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 DISTUTILS_OPTIONAL=1
 DISTUTILS_USE_SETUPTOOLS=manual
 NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
 
 inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-12-20 Thread Georgy Yakovlev
commit: 7750aefc9a88435bafbf86135980884126b94828
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Dec 21 04:16:14 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Dec 21 04:16:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7750aefc

net-mail/notmuch: add 0.34.2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.34.2.ebuild | 303 +
 2 files changed, 304 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 8f1c189ad144..a53e1acf6fcc 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
 DIST notmuch-0.34.1.tar.xz 748444 BLAKE2B 
f8e2d8041082a95832d0b5bf600b92b5de93e606d99ffdf38ad13bbd80205688780d64a4c64f1db3783eaa56b34f5fef1839430faf058aa5b92053026de06326
 SHA512 
ef1423e049a83f81fb6b5a75f9a35efc0381c661bbe7dabd6b385df829ac4195137ccef3fa1ec652df8eb4566e3d9d30880a4c74497a9668cb3ca240fb88
+DIST notmuch-0.34.2.tar.xz 749384 BLAKE2B 
b8abb99cbb3632bd42742e3f31fb76b7113c2f9c4240081efad940d2fec139f442cc7d21be5b67ca7aca7ce730e9e3b9f8db690ed3a1239946ec490a089b700b
 SHA512 
fd15145404c621fb259b869ddfd77d6302f777a8ead203cfe3a62b66b452f7d3737b214657517c592ce86ce37fb914f800830ea9d05da20d59ec09feaa81d20c

diff --git a/net-mail/notmuch/notmuch-0.34.2.ebuild 
b/net-mail/notmuch/notmuch-0.34.2.ebuild
new file mode 100644
index ..d7b1744e55c7
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.34.2.ebuild
@@ -0,0 +1,303 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=manual
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_setup() {
+   use emacs && 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-11-23 Thread Georgy Yakovlev
commit: 03be079d5ec70c44f8e3da3b43d7f23cd0fc53c4
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Nov 24 05:25:37 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Nov 24 05:25:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03be079d

net-mail/notmuch: add 0.34.1, drop 0.34

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest   | 2 +-
 net-mail/notmuch/{notmuch-0.34.ebuild => notmuch-0.34.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 2c7d6243648b..8f1c189ad144 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
-DIST notmuch-0.34.tar.xz 748232 BLAKE2B 
161fc1bd047b5489a4f2fd64f4843e73fd82cf6a408ef04ab1bab34df0995fd4199585cf8fa12980a4fdab054d03437323ed366ca87f2f6dad2d006900cad352
 SHA512 
c7c802ee6fc056cb626611e3403541e404c628d238983299faf877e7eca9dfb94bd643c399e6a6cda53b051d2ad837ad03b124a1f44e17c7637a9c9b23e33c73
+DIST notmuch-0.34.1.tar.xz 748444 BLAKE2B 
f8e2d8041082a95832d0b5bf600b92b5de93e606d99ffdf38ad13bbd80205688780d64a4c64f1db3783eaa56b34f5fef1839430faf058aa5b92053026de06326
 SHA512 
ef1423e049a83f81fb6b5a75f9a35efc0381c661bbe7dabd6b385df829ac4195137ccef3fa1ec652df8eb4566e3d9d30880a4c74497a9668cb3ca240fb88

diff --git a/net-mail/notmuch/notmuch-0.34.ebuild 
b/net-mail/notmuch/notmuch-0.34.1.ebuild
similarity index 100%
rename from net-mail/notmuch/notmuch-0.34.ebuild
rename to net-mail/notmuch/notmuch-0.34.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-11-03 Thread Georgy Yakovlev
commit: 5da936cda8b81399d86208a16466257a57c8e75e
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov  4 02:52:17 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov  4 02:58:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da936cd

net-mail/notmuch: add 0.34, enable py3.10

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest|   1 +
 net-mail/notmuch/notmuch-0.34.ebuild | 303 +++
 2 files changed, 304 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index f96fdcb75b4..0b59f5adc3c 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
 DIST notmuch-0.33.2.tar.xz 733228 BLAKE2B 
e0a206695944bd57ab3ba1488bbff10c6744b57126eddeead45653a20df8edde21e0c618f9b4af5731e41bb469538883770ef61da4b28e2fd7dc108d994a7433
 SHA512 
15f4ecbd991df3a64c2b89aeb6bf7649e76ff2010f80120a15c10c9c5e913a90696ef6a760cbea24bbc9a3ca8cae18fada13d80e69c848cc142d355f2a513f5d
+DIST notmuch-0.34.tar.xz 748232 BLAKE2B 
161fc1bd047b5489a4f2fd64f4843e73fd82cf6a408ef04ab1bab34df0995fd4199585cf8fa12980a4fdab054d03437323ed366ca87f2f6dad2d006900cad352
 SHA512 
c7c802ee6fc056cb626611e3403541e404c628d238983299faf877e7eca9dfb94bd643c399e6a6cda53b051d2ad837ad03b124a1f44e17c7637a9c9b23e33c73

diff --git a/net-mail/notmuch/notmuch-0.34.ebuild 
b/net-mail/notmuch/notmuch-0.34.ebuild
new file mode 100644
index 000..d7b1744e55c
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.34.ebuild
@@ -0,0 +1,303 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=manual
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{7..10} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+pkg_setup() {
+   use emacs && 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-11-03 Thread Georgy Yakovlev
commit: 6ee446b03ae65d3c683137e2da3add8d08dbc3a5
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov  4 02:59:39 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov  4 02:59:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee446b0

net-mail/notmuch: drop 0.33.2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   1 -
 net-mail/notmuch/notmuch-0.33.2.ebuild | 303 -
 2 files changed, 304 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 0b59f5adc3c..2c7d6243648 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
-DIST notmuch-0.33.2.tar.xz 733228 BLAKE2B 
e0a206695944bd57ab3ba1488bbff10c6744b57126eddeead45653a20df8edde21e0c618f9b4af5731e41bb469538883770ef61da4b28e2fd7dc108d994a7433
 SHA512 
15f4ecbd991df3a64c2b89aeb6bf7649e76ff2010f80120a15c10c9c5e913a90696ef6a760cbea24bbc9a3ca8cae18fada13d80e69c848cc142d355f2a513f5d
 DIST notmuch-0.34.tar.xz 748232 BLAKE2B 
161fc1bd047b5489a4f2fd64f4843e73fd82cf6a408ef04ab1bab34df0995fd4199585cf8fa12980a4fdab054d03437323ed366ca87f2f6dad2d006900cad352
 SHA512 
c7c802ee6fc056cb626611e3403541e404c628d238983299faf877e7eca9dfb94bd643c399e6a6cda53b051d2ad837ad03b124a1f44e17c7637a9c9b23e33c73

diff --git a/net-mail/notmuch/notmuch-0.33.2.ebuild 
b/net-mail/notmuch/notmuch-0.33.2.ebuild
deleted file mode 100644
index 873e974b815..000
--- a/net-mail/notmuch/notmuch-0.33.2.ebuild
+++ /dev/null
@@ -1,303 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=manual
-NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
-
-inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="https://notmuchmail.org/;
-SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
-   test? ( 
https://notmuchmail.org/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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
-REQUIRED_USE="
-   apidoc? ( doc )
-   nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( crypt emacs python valgrind )
-"
-IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   app-arch/xz-utils[extra-filters(-)]
-   virtual/pkgconfig
-   apidoc? (
-   app-doc/doxygen
-   dev-lang/perl
-   )
-   doc? (
-   dev-python/sphinx
-   sys-apps/texinfo
-   )
-   python? (
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-   )
-   test? (
-   app-shells/bash
-   sys-process/parallel
-   )
-"
-
-COMMON_DEPEND="
-   dev-libs/glib
-   dev-libs/gmime:3.0[crypt]
-   >=dev-libs/xapian-1.4.0:=
-   sys-libs/talloc
-   sys-libs/zlib:=
-   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
-   python? (
-   ${PYTHON_DEPS}
-   virtual/python-cffi[${PYTHON_USEDEP}]
-   )
-"
-
-DEPEND="${COMMON_DEPEND}
-   test? (
-   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
-   app-misc/dtach
-   sys-devel/gdb[python]
-   crypt? (
-   app-crypt/gnupg
-   dev-libs/openssl
-   )
-   )
-   valgrind? ( dev-util/valgrind )
-"
-
-RDEPEND="${COMMON_DEPEND}
-   crypt? ( app-crypt/gnupg )
-   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
-   dev-perl/Pod-Parser
-   )
-   nmbug? ( dev-vcs/git )
-"
-
-SITEFILE="50${PN}-gentoo.el"
-
-pkg_setup() {
-   use emacs && 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-11-03 Thread Georgy Yakovlev
commit: 678a6fa4106e18456ed9dadb6814a673de81fb32
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov  4 02:48:44 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov  4 02:49:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=678a6fa4

net-mail/notmuch: add GMime sandbox violation workaround

 Checking for GMime session key extraction support... * ACCESS DENIED: open_wr: 
/dev/bus/usb/001/011
 notmuch configure compiles a program _check_session_keys.c, inline in 
./configure script
 gmime/gpg/scdaemon tries to open usb devices in GMime test
 we pretend to allow it, without actually allowing it to read or write.
Bug: https://bugs.gentoo.org/821328
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.33.2.ebuild | 8 
 1 file changed, 8 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.33.2.ebuild 
b/net-mail/notmuch/notmuch-0.33.2.ebuild
index 4cc225e3c55..873e974b815 100644
--- a/net-mail/notmuch/notmuch-0.33.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.33.2.ebuild
@@ -142,6 +142,14 @@ src_configure() {
$(use_with emacs)
)
 
+   # FIXME:
+   # Checking for GMime session key extraction support... * ACCESS DENIED: 
open_wr: /dev/bus/usb/001/011
+   # notmuch configure compiles a program _check_session_keys.c, inline in 
./configure script
+   # gmime/gpg/scdaemon tries to open usb devices in GMime test
+   # we pretend to allow it, without actually allowing it to read or write.
+   # https://bugs.gentoo.org/821328
+   addpredict /dev/bus/usb
+
econf "${myconf[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-10-08 Thread Georgy Yakovlev
commit: 3fbc535f74f5ce0d5dd52c22cbc65447559b8e2a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Oct  8 13:38:06 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Oct  8 13:39:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fbc535f

net-mail/notmuch: add 0.33.2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.33.2.ebuild | 295 +
 2 files changed, 296 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 06ca7dc2a96..eac9ca13c4e 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -2,3 +2,4 @@ DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b404677
 DIST notmuch-0.31.3.tar.xz 713900 BLAKE2B 
64aa5c707a74544d31f1dce4e49f3e19cf8c733dfe6f0761dec5522eae94bacf0c01ab7c8212373f1857eeecbad569482365a53a10f56dfee72cefc8d3f4f05a
 SHA512 
99119216b7ef7f9e336b11d03ebb61d9667a8fbddcf6fccc49b17d07f07867f0342b2766375e164b58eaa9a43237ec4d6567d616fe8813b929d28b203aedfa44
 DIST notmuch-0.32.1.tar.xz 725196 BLAKE2B 
6163f512e88f1b9415b93f7c4a146dc1af6e41bacdbbd29bdb48706af4af4822b626a719d50146f0cfe4d35508d8aa767b0e75eadebf9d619912f3ee6ba0e59e
 SHA512 
c561658919a3c19bfe282e28a5c95db5d58030f044307fdfcaee02d3bf6fc15c9ae9d6d9d8a948c9e6f9b54f563dc82cde757a26a7d7c33eb976b3cfe7ce8c36
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
+DIST notmuch-0.33.2.tar.xz 733228 BLAKE2B 
e0a206695944bd57ab3ba1488bbff10c6744b57126eddeead45653a20df8edde21e0c618f9b4af5731e41bb469538883770ef61da4b28e2fd7dc108d994a7433
 SHA512 
15f4ecbd991df3a64c2b89aeb6bf7649e76ff2010f80120a15c10c9c5e913a90696ef6a760cbea24bbc9a3ca8cae18fada13d80e69c848cc142d355f2a513f5d

diff --git a/net-mail/notmuch/notmuch-0.33.2.ebuild 
b/net-mail/notmuch/notmuch-0.33.2.ebuild
new file mode 100644
index 000..4cc225e3c55
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.33.2.ebuild
@@ -0,0 +1,295 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=manual
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? (
+   app-shells/bash
+   sys-process/parallel
+   )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb[python]
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   dev-perl/Pod-Parser
+   )
+   nmbug? ( dev-vcs/git )

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/, net-mail/notmuch/files/

2021-10-08 Thread Georgy Yakovlev
commit: 234b78b66c70f394af18ef2b832df9c3d8cdcd22
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Oct  8 13:38:56 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Oct  8 13:39:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234b78b6

net-mail/notmuch: drop 0.31.3-r1, 0.32.1-r1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   2 -
 .../notmuch/files/notmuch-0.31.3-glib-2.68.patch   |  60 -
 net-mail/notmuch/notmuch-0.31.3-r1.ebuild  | 288 
 net-mail/notmuch/notmuch-0.32.1-r1.ebuild  | 292 -
 4 files changed, 642 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index eac9ca13c4e..f96fdcb75b4 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,5 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
-DIST notmuch-0.31.3.tar.xz 713900 BLAKE2B 
64aa5c707a74544d31f1dce4e49f3e19cf8c733dfe6f0761dec5522eae94bacf0c01ab7c8212373f1857eeecbad569482365a53a10f56dfee72cefc8d3f4f05a
 SHA512 
99119216b7ef7f9e336b11d03ebb61d9667a8fbddcf6fccc49b17d07f07867f0342b2766375e164b58eaa9a43237ec4d6567d616fe8813b929d28b203aedfa44
-DIST notmuch-0.32.1.tar.xz 725196 BLAKE2B 
6163f512e88f1b9415b93f7c4a146dc1af6e41bacdbbd29bdb48706af4af4822b626a719d50146f0cfe4d35508d8aa767b0e75eadebf9d619912f3ee6ba0e59e
 SHA512 
c561658919a3c19bfe282e28a5c95db5d58030f044307fdfcaee02d3bf6fc15c9ae9d6d9d8a948c9e6f9b54f563dc82cde757a26a7d7c33eb976b3cfe7ce8c36
 DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf
 DIST notmuch-0.33.2.tar.xz 733228 BLAKE2B 
e0a206695944bd57ab3ba1488bbff10c6744b57126eddeead45653a20df8edde21e0c618f9b4af5731e41bb469538883770ef61da4b28e2fd7dc108d994a7433
 SHA512 
15f4ecbd991df3a64c2b89aeb6bf7649e76ff2010f80120a15c10c9c5e913a90696ef6a760cbea24bbc9a3ca8cae18fada13d80e69c848cc142d355f2a513f5d

diff --git a/net-mail/notmuch/files/notmuch-0.31.3-glib-2.68.patch 
b/net-mail/notmuch/files/notmuch-0.31.3-glib-2.68.patch
deleted file mode 100644
index 19f00391093..000
--- a/net-mail/notmuch/files/notmuch-0.31.3-glib-2.68.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-https://bugs.gentoo.org/777663
-
-From: David Bremner 
-Date: Mon, 15 Feb 2021 20:43:50 + (-0400)
-Subject: fix build failure with glib 2.67
-X-Git-Tag: archive/debian/0.31.4-1~6
-X-Git-Url: 
https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=6db8b422d91a75b7c16f013f10f41d1109ce5866;hp=1692fe7aa8b137d02817bb11f248d204d6ab4048
-
-fix build failure with glib 2.67
-
-Based on a patch from Michael J Gruber [1].  As of glib 2.67 (more
-specifically [2]), including "gmime-extra.h" inside an extern "C"
-block causes build failures, because glib is using C++ features.
-
-Observing that "gmime-extra.h" is no longer needed in
-notmuch-private.h, which can simply delete that include, but
-we have to correspondingly move the includes which might include
-it (in particular crypto.h) out of the extern "C" block also.
-
-This seems less fragile than only moving gmime-extra, and relying on
-preprocessor sentinels to keep the deeper includes from happening.
-
-Move to the include to the outside of the extern block.
-
-[1]: id:aee618a3d41f7889a7449aa16893e992325a909a.1613055071.git@grubix.eu
-[2]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715

-
-diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
-index 57ec7f72..41aff342 100644
 a/lib/notmuch-private.h
-+++ b/lib/notmuch-private.h
-@@ -31,6 +31,12 @@
- 
- #include "notmuch.h"
- 
-+#include "xutil.h"
-+#include "error_util.h"
-+#include "string-util.h"
-+#include "crypto.h"
-+#include "repair.h"
-+
- NOTMUCH_BEGIN_DECLS
- 
- #include 
-@@ -47,14 +53,6 @@ NOTMUCH_BEGIN_DECLS
- 
- #include 
- 
--#include "gmime-extra.h"
--
--#include "xutil.h"
--#include "error_util.h"
--#include "string-util.h"
--#include "crypto.h"
--#include "repair.h"
--
- #ifdef DEBUG
- # define DEBUG_DATABASE_SANITY 1
- # define DEBUG_THREADING 1

diff --git a/net-mail/notmuch/notmuch-0.31.3-r1.ebuild 
b/net-mail/notmuch/notmuch-0.31.3-r1.ebuild
deleted file mode 100644
index ae71b74055b..000
--- a/net-mail/notmuch/notmuch-0.31.3-r1.ebuild
+++ /dev/null
@@ -1,288 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-DISTUTILS_USE_SETUPTOOLS=manual
-NEED_EMACS="24.1"
-PYTHON_COMPAT=( 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-09-06 Thread Sam James
commit: f36396c4c6ed023f7ff5a46a0ad46bd2fa6dd9c4
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep  7 00:08:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  7 00:08:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36396c4

net-mail/notmuch: Stabilize 0.32.2-r1 arm, #803104

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.32.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
index b06900e9e77..ba302f77adb 100644
--- a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~ppc64 x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-07-26 Thread Sam James
commit: 0908cfa1b9de099202c39bee71d8beeff3df736c
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 26 07:29:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 26 07:29:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0908cfa1

net-mail/notmuch: Stabilize 0.32.2-r1 arm64, #803104

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.32.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
index 5a0146cb8cf..b06900e9e77 100644
--- a/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ppc64 x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-07-17 Thread Andreas K. Hüttel
commit: f8bbb24b87fff28c79c8c783989746c1392ff0ea
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Jul 17 19:34:57 2021 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jul 17 19:34:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8bbb24b

net-mail/notmuch: virtual/perl-Pod-Parser -> dev-perl/Pod-Parser

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 net-mail/notmuch/{notmuch-0.31.3.ebuild => notmuch-0.31.3-r1.ebuild} | 2 +-
 net-mail/notmuch/{notmuch-0.32.1.ebuild => notmuch-0.32.1-r1.ebuild} | 2 +-
 net-mail/notmuch/{notmuch-0.32.2.ebuild => notmuch-0.32.2-r1.ebuild} | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3-r1.ebuild
similarity index 99%
rename from net-mail/notmuch/notmuch-0.31.3.ebuild
rename to net-mail/notmuch/notmuch-0.31.3-r1.ebuild
index 70e772471e1..ae71b74055b 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3-r1.ebuild
@@ -83,7 +83,7 @@ RDEPEND="${COMMON_DEPEND}
virtual/perl-Digest-SHA
virtual/perl-File-Path
virtual/perl-Getopt-Long
-   virtual/perl-Pod-Parser
+   dev-perl/Pod-Parser
)
nmbug? ( dev-vcs/git )
 "

diff --git a/net-mail/notmuch/notmuch-0.32.1.ebuild 
b/net-mail/notmuch/notmuch-0.32.1-r1.ebuild
similarity index 99%
rename from net-mail/notmuch/notmuch-0.32.1.ebuild
rename to net-mail/notmuch/notmuch-0.32.1-r1.ebuild
index 2382baa059e..78bf6a0ccc8 100644
--- a/net-mail/notmuch/notmuch-0.32.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.1-r1.ebuild
@@ -84,7 +84,7 @@ RDEPEND="${COMMON_DEPEND}
virtual/perl-Digest-SHA
virtual/perl-File-Path
virtual/perl-Getopt-Long
-   virtual/perl-Pod-Parser
+   dev-perl/Pod-Parser
)
nmbug? ( dev-vcs/git )
 "

diff --git a/net-mail/notmuch/notmuch-0.32.2.ebuild 
b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
similarity index 99%
rename from net-mail/notmuch/notmuch-0.32.2.ebuild
rename to net-mail/notmuch/notmuch-0.32.2-r1.ebuild
index 2c5173f19db..5a0146cb8cf 100644
--- a/net-mail/notmuch/notmuch-0.32.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.2-r1.ebuild
@@ -84,7 +84,7 @@ RDEPEND="${COMMON_DEPEND}
virtual/perl-Digest-SHA
virtual/perl-File-Path
virtual/perl-Getopt-Long
-   virtual/perl-Pod-Parser
+   dev-perl/Pod-Parser
)
nmbug? ( dev-vcs/git )
 "



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-06-29 Thread Georgy Yakovlev
commit: 45048aa34b393539dca583fc557ab9e76a655819
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Jun 29 15:39:54 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Jun 29 15:40:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45048aa3

net-mail/notmuch: add 0.32.2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.32.2.ebuild | 292 +
 2 files changed, 293 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index a3ebf895d3a..06ca7dc2a96 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.31.3.tar.xz 713900 BLAKE2B 
64aa5c707a74544d31f1dce4e49f3e19cf8c733dfe6f0761dec5522eae94bacf0c01ab7c8212373f1857eeecbad569482365a53a10f56dfee72cefc8d3f4f05a
 SHA512 
99119216b7ef7f9e336b11d03ebb61d9667a8fbddcf6fccc49b17d07f07867f0342b2766375e164b58eaa9a43237ec4d6567d616fe8813b929d28b203aedfa44
 DIST notmuch-0.32.1.tar.xz 725196 BLAKE2B 
6163f512e88f1b9415b93f7c4a146dc1af6e41bacdbbd29bdb48706af4af4822b626a719d50146f0cfe4d35508d8aa767b0e75eadebf9d619912f3ee6ba0e59e
 SHA512 
c561658919a3c19bfe282e28a5c95db5d58030f044307fdfcaee02d3bf6fc15c9ae9d6d9d8a948c9e6f9b54f563dc82cde757a26a7d7c33eb976b3cfe7ce8c36
+DIST notmuch-0.32.2.tar.xz 725652 BLAKE2B 
02801f57bd62b8020298babcc8243276f95fb535621178b2b0b8dfb58d14e8123b7b1fa7d2c246c9e005ca2c7c2d594aeea710408c3d14f26ffcd550c03b4d9a
 SHA512 
e4151cb3ba0e5d26e67572a37c3132d0e35af5d9ca4339d88d8ba25385b6022c376a75abcffb57fda3242c836f6e40dec39c4038674682616b6e5785223295bf

diff --git a/net-mail/notmuch/notmuch-0.32.2.ebuild 
b/net-mail/notmuch/notmuch-0.32.2.ebuild
new file mode 100644
index 000..2c5173f19db
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.32.2.ebuild
@@ -0,0 +1,292 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=manual
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common flag-o-matic 
pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+   )
+   test? ( sys-process/parallel )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.32.1-tests.patch"
+)
+
+pkg_setup() {
+   use emacs && 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-06-28 Thread Georgy Yakovlev
commit: b302352ba6c27571abf97dc259df2e49ced3cd41
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jun 28 20:44:08 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jun 28 20:44:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b302352b

net-mail/notmuch: bdepend on app-arch/xz-utils[extra-filters(-)]

Closes: https://bugs.gentoo.org/798465
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 1 +
 net-mail/notmuch/notmuch-0.32.1.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 9e7e89f755b..70e772471e1 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -30,6 +30,7 @@ IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
virtual/pkgconfig
apidoc? (
app-doc/doxygen

diff --git a/net-mail/notmuch/notmuch-0.32.1.ebuild 
b/net-mail/notmuch/notmuch-0.32.1.ebuild
index 26acc520cdb..2382baa059e 100644
--- a/net-mail/notmuch/notmuch-0.32.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.32.1.ebuild
@@ -30,6 +30,7 @@ IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
+   app-arch/xz-utils[extra-filters(-)]
virtual/pkgconfig
apidoc? (
app-doc/doxygen



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/

2021-06-13 Thread Georgy Yakovlev
commit: 719fd8b321b84fe261561a78f6d73212a31f0bec
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jun 13 07:08:45 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jun 13 07:09:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719fd8b3

net-mail/notmuch: add 0.32.1

Closes: https://bugs.gentoo.org/791079
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest |   1 +
 net-mail/notmuch/files/notmuch-0.32.1-tests.patch | 174 +
 net-mail/notmuch/notmuch-0.32.1.ebuild| 291 ++
 3 files changed, 466 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 447108fd721..a3ebf895d3a 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,2 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.31.3.tar.xz 713900 BLAKE2B 
64aa5c707a74544d31f1dce4e49f3e19cf8c733dfe6f0761dec5522eae94bacf0c01ab7c8212373f1857eeecbad569482365a53a10f56dfee72cefc8d3f4f05a
 SHA512 
99119216b7ef7f9e336b11d03ebb61d9667a8fbddcf6fccc49b17d07f07867f0342b2766375e164b58eaa9a43237ec4d6567d616fe8813b929d28b203aedfa44
+DIST notmuch-0.32.1.tar.xz 725196 BLAKE2B 
6163f512e88f1b9415b93f7c4a146dc1af6e41bacdbbd29bdb48706af4af4822b626a719d50146f0cfe4d35508d8aa767b0e75eadebf9d619912f3ee6ba0e59e
 SHA512 
c561658919a3c19bfe282e28a5c95db5d58030f044307fdfcaee02d3bf6fc15c9ae9d6d9d8a948c9e6f9b54f563dc82cde757a26a7d7c33eb976b3cfe7ce8c36

diff --git a/net-mail/notmuch/files/notmuch-0.32.1-tests.patch 
b/net-mail/notmuch/files/notmuch-0.32.1-tests.patch
new file mode 100644
index 000..8a564325485
--- /dev/null
+++ b/net-mail/notmuch/files/notmuch-0.32.1-tests.patch
@@ -0,0 +1,174 @@
+From: Tomi Ollila 
+Date: Sat, 22 May 2021 13:39:57 + (+0300)
+Subject: test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()
+X-Git-Url: 
https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=8675be1d307bc2df882107744641f6a7858e65ad;hp=3baa61e0e58402bc50c5df529fcf669bf4b2facb
+
+test: replace notmuch_passwd_sanitize() with _libconfig_sanitize()
+
+notmuch_passwd_sanitize() in test-lib.sh is too generic, it cannot
+work in many cases...
+
+The more specific version _libconfig_sanitize() replaces it in
+T590-libconfig.sh and the code that uses it is modified to output
+the keys (ascending numbers printed in hex) so the sanitizer knows
+what to sanitize in which lines...
+
+"@" + fqdn -> "@FQDN" replacement is used as fqdn could
+-- in theory -- be substring of 'USERNAME'.
+
+'user -> 'USER_FULL_NAME replacement to work in cases where user
+is empty -- as only first ' is replaced that works as expected.
+
+In addition to ".(none)" now also ".localdomain" is filtered from
+USERNAME@FQDN.
+
+/dev/fd/{n} is not defined in posix, but it is portable enough
+(if it weren't it is easy to fix -- now code looks clearer).
+---
+
+diff --git a/test/T590-libconfig.sh b/test/T590-libconfig.sh
+index 745e1bb4..bc7298f8 100755
+--- a/test/T590-libconfig.sh
 b/test/T590-libconfig.sh
+@@ -5,6 +5,25 @@ test_description="library config API"
+ 
+ add_email_corpus
+ 
++_libconfig_sanitize() {
++${NOTMUCH_PYTHON} /dev/fd/3 3<<'EOF'
++import os, sys, pwd, socket
++
++pw = pwd.getpwuid(os.getuid())
++user = pw.pw_name
++name = pw.pw_gecos.partition(",")[0]
++fqdn = socket.getaddrinfo(socket.gethostname(), 0, 0,
++  socket.SOCK_STREAM, 0, socket.AI_CANONNAME)[0][3]
++for l in sys.stdin:
++if l[:4] == "08: ":
++l = l.replace(user, "USERNAME", 1).replace("@" + fqdn, "@FQDN", 1)
++l = l.replace(".(none)", "", 1).replace(".localdomain", "", 1)
++elif l[:4] == "10: ":
++l = l.replace("'" + name, "'USER_FULL_NAME", 1)
++sys.stdout.write(l)
++EOF
++}
++
+ cat < c_head
+ #include 
+ #include 
+@@ -380,26 +399,26 @@ cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR} '' 
%NULL%
+key < NOTMUCH_CONFIG_LAST;
+key = (notmuch_config_key_t)(key + 1)) {
+   const char *val = notmuch_config_get (db, key);
+-printf("%s\n", val ? val : "NULL" );
++  printf("%02d: '%s'\n", key, val ? val : "NULL" );
+ }
+ }
+ EOF
+ 
+-notmuch_passwd_sanitize < OUTPUT > OUTPUT.clean
++_libconfig_sanitize < OUTPUT > OUTPUT.clean
+ 
+ cat <<'EOF' >EXPECTED
+ == stdout ==
+-MAIL_DIR
+-MAIL_DIR
+-MAIL_DIR/.notmuch/hooks
+-MAIL_DIR/.notmuch/backups
+-
+-unread;inbox
+-
+-true
+-USERNAME@FQDN
+-NULL
+-USER_FULL_NAME
++00: 'MAIL_DIR'
++01: 'MAIL_DIR'
++02: 'MAIL_DIR/.notmuch/hooks'
++03: 'MAIL_DIR/.notmuch/backups'
++04: ''
++05: 'unread;inbox'
++06: ''
++07: 'true'
++08: 'USERNAME@FQDN'
++09: 'NULL'
++10: 'USER_FULL_NAME'
+ == stderr ==
+ EOF
+ unset MAILDIR

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-05-25 Thread Georgy Yakovlev
commit: ebe5bb74574a84a4d7b795183d6c1185a7d19827
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May 25 18:10:38 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May 25 18:10:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebe5bb74

net-mail/notmuch: QA fix DISTUTILS_USE_SETUPTOOLS warning

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index e6d8d047fd8..9e7e89f755b 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
+DISTUTILS_USE_SETUPTOOLS=manual
 NEED_EMACS="24.1"
 PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
 
@@ -39,6 +40,7 @@ BDEPEND="
sys-apps/texinfo
)
python? (
+   dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
)
 "



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-05-17 Thread Georgy Yakovlev
commit: 4c8699592530829a23cce78c61136a333713e47b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon May 17 06:00:22 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon May 17 06:00:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c869959

net-mail/notmuch: unlock sphinx dep

Closes: https://bugs.gentoo.org/789492
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 946fb55ae69..e6d8d047fd8 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -35,10 +35,12 @@ BDEPEND="
dev-lang/perl
)
doc? (
-   https://bugs.gentoo.org/789492
+   echo 'man_make_section_directory = False' >> doc/conf.py || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/, net-mail/notmuch/files/

2021-05-16 Thread Georgy Yakovlev
commit: ecf8400d1d765ac5a48ba241042ee79b8cb7106a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon May 17 03:18:59 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon May 17 03:19:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf8400d

net-mail/notmuch: drop old

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   4 -
 ...-Use-loopback-IP-address-rather-than-name.patch |  61 -
 net-mail/notmuch/notmuch-0.29.3-r2.ebuild  | 230 -
 net-mail/notmuch/notmuch-0.30-r1.ebuild| 214 
 net-mail/notmuch/notmuch-0.31-r2.ebuild| 276 
 net-mail/notmuch/notmuch-0.31.2.ebuild | 277 -
 net-mail/notmuch/notmuch-0.31.ebuild   | 216 
 7 files changed, 1278 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 7b8d75a5a02..447108fd721 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,6 +1,2 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
-DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65
-DIST notmuch-0.30.tar.xz 711904 BLAKE2B 
fb1523f3939b78797e448e804fc52c4fe1e4e8ff87b346917488d3911027b9ccb67b9fddf611f0e960fd1e158463cbe005e038f31bb54549e2a922926dd512bd
 SHA512 
a5c812eb141c293c61b5483eafd31d3e3ab19b2c84429a1558986c415d30ead4afa79db64b2672e9549a40f5eb4c69e54ea5beeaeb9c783051c3f965a65e
-DIST notmuch-0.31.2.tar.xz 713388 BLAKE2B 
20029f55206b66e7956316fca2d16ae53a49fc196ea2e730ae5ebd96ce893fa2065b7eee9b625629bbb0d3816a70d98e8943920cf8895ef81a97a1d8dc59dd62
 SHA512 
b134ef79648cb6fe9f17b2f1b600d651d57359ae9fa576c808b794aa64a09955f0597a624cc3c498da4ef56e44bca6bb485bc402c2dff48cd000959f9a9ceeaa
 DIST notmuch-0.31.3.tar.xz 713900 BLAKE2B 
64aa5c707a74544d31f1dce4e49f3e19cf8c733dfe6f0761dec5522eae94bacf0c01ab7c8212373f1857eeecbad569482365a53a10f56dfee72cefc8d3f4f05a
 SHA512 
99119216b7ef7f9e336b11d03ebb61d9667a8fbddcf6fccc49b17d07f07867f0342b2766375e164b58eaa9a43237ec4d6567d616fe8813b929d28b203aedfa44
-DIST notmuch-0.31.tar.xz 713144 BLAKE2B 
91b0a01543e438e6ccb40a01ad0a100a5c6ae15fe832bb29367d4bc288dae5a915f89a743ecee814041caf53430e2593cb4b5f69faaec396ad6dacfe8cc67d2f
 SHA512 
928acc07b9dbed4275e7d39d94202bea7685e9d433a7bf4c07e40e191ed4fe8cf15ac04c18792e46f4605ffac548b942998005d8176a58ad76c82d4085a408e5

diff --git 
a/net-mail/notmuch/files/0.29.3-0001-Use-loopback-IP-address-rather-than-name.patch
 
b/net-mail/notmuch/files/0.29.3-0001-Use-loopback-IP-address-rather-than-name.patch
deleted file mode 100644
index e4722469595..000
--- 
a/net-mail/notmuch/files/0.29.3-0001-Use-loopback-IP-address-rather-than-name.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
- 
-Date: Sun, 7 Jul 2019 11:33:09 +0100
-Subject: [PATCH] Use loopback IP address rather than name
-

- test/smtp-dummy.c | 8 
- test/test-lib.sh  | 2 +-
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
-index a7c1fe4f..822a986a 100644
 a/test/smtp-dummy.c
-+++ b/test/smtp-dummy.c
-@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char 
*command)
-   fprintf (peer, "502 not implemented\r\n");
-   fflush (peer);
- } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
--  fprintf (peer, "250 localhost\r\n");
-+  fprintf (peer, "250 127.0.0.1\r\n");
-   fflush (peer);
- } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 ||
-  STRNCMP_LITERAL (command, "RCPT TO:") == 0) {
-@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output)
- size_t line_size;
- ssize_t line_len;
- 
--fprintf (peer, "220 localhost smtp-dummy\r\n");
-+fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n");
- fflush (peer);
- 
- while ((line_len = getline (, _size, peer)) != -1) {
-@@ -183,9 +183,9 @@ main (int argc, char *argv[])
-   goto DONE;
- }
- 
--hostinfo = gethostbyname ("localhost");
-+hostinfo = gethostbyname ("127.0.0.1");
- if (hostinfo == NULL) {
--  fprintf (stderr, "Unknown host: localhost\n");
-+  fprintf (stderr, "Unknown host: 127.0.0.1\n");
-   ret = 1;
-   goto DONE;
- }
-diff --git 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-05-16 Thread Sam James
commit: a47cabe36a218eccf3f6cc499eac853313f2ed65
Author: Sam James  gentoo  org>
AuthorDate: Mon May 17 01:59:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 17 01:59:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47cabe3

net-mail/notmuch: Stabilize 0.31.3 x86, #787695

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 8deec498a21..946fb55ae69 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-05-16 Thread Sam James
commit: 110462b4b9dd782e91b8c7b19486d0608f1839cc
Author: Sam James  gentoo  org>
AuthorDate: Mon May 17 01:19:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May 17 01:19:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=110462b4

net-mail/notmuch: Stabilize 0.31.3 amd64, #787695

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index b1be4d8f3e5..8deec498a21 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-05-11 Thread Georgy Yakovlev
commit: dcf68c68c3e842a8d55fefb218474ec5b03b10b3
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May 11 19:18:26 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May 11 19:19:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf68c68

net-mail/notmuch: require older sphinx

Bug: https://bugs.gentoo.org/789492
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 57d73612bb3..b1be4d8f3e5 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -35,7 +35,7 @@ BDEPEND="
dev-lang/perl
)
doc? (
-   dev-python/sphinx
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/

2021-04-13 Thread Sam James
commit: a1438a27f486f6c314f1ebf1a01d76703bc0cf19
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 14 00:15:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 14 00:27:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1438a27

net-mail/notmuch: add upstream glib 2.68 patch

Closes: https://bugs.gentoo.org/777663
Signed-off-by: Sam James  gentoo.org>

 .../notmuch/files/notmuch-0.31.3-glib-2.68.patch   | 60 ++
 net-mail/notmuch/notmuch-0.31.3.ebuild |  4 ++
 2 files changed, 64 insertions(+)

diff --git a/net-mail/notmuch/files/notmuch-0.31.3-glib-2.68.patch 
b/net-mail/notmuch/files/notmuch-0.31.3-glib-2.68.patch
new file mode 100644
index 000..19f00391093
--- /dev/null
+++ b/net-mail/notmuch/files/notmuch-0.31.3-glib-2.68.patch
@@ -0,0 +1,60 @@
+https://bugs.gentoo.org/777663
+
+From: David Bremner 
+Date: Mon, 15 Feb 2021 20:43:50 + (-0400)
+Subject: fix build failure with glib 2.67
+X-Git-Tag: archive/debian/0.31.4-1~6
+X-Git-Url: 
https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=6db8b422d91a75b7c16f013f10f41d1109ce5866;hp=1692fe7aa8b137d02817bb11f248d204d6ab4048
+
+fix build failure with glib 2.67
+
+Based on a patch from Michael J Gruber [1].  As of glib 2.67 (more
+specifically [2]), including "gmime-extra.h" inside an extern "C"
+block causes build failures, because glib is using C++ features.
+
+Observing that "gmime-extra.h" is no longer needed in
+notmuch-private.h, which can simply delete that include, but
+we have to correspondingly move the includes which might include
+it (in particular crypto.h) out of the extern "C" block also.
+
+This seems less fragile than only moving gmime-extra, and relying on
+preprocessor sentinels to keep the deeper includes from happening.
+
+Move to the include to the outside of the extern block.
+
+[1]: id:aee618a3d41f7889a7449aa16893e992325a909a.1613055071.git@grubix.eu
+[2]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715
+---
+
+diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
+index 57ec7f72..41aff342 100644
+--- a/lib/notmuch-private.h
 b/lib/notmuch-private.h
+@@ -31,6 +31,12 @@
+ 
+ #include "notmuch.h"
+ 
++#include "xutil.h"
++#include "error_util.h"
++#include "string-util.h"
++#include "crypto.h"
++#include "repair.h"
++
+ NOTMUCH_BEGIN_DECLS
+ 
+ #include 
+@@ -47,14 +53,6 @@ NOTMUCH_BEGIN_DECLS
+ 
+ #include 
+ 
+-#include "gmime-extra.h"
+-
+-#include "xutil.h"
+-#include "error_util.h"
+-#include "string-util.h"
+-#include "crypto.h"
+-#include "repair.h"
+-
+ #ifdef DEBUG
+ # define DEBUG_DATABASE_SANITY 1
+ # define DEBUG_THREADING 1

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index d538001bf03..2d374bfe7e8 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -85,6 +85,10 @@ RDEPEND="${COMMON_DEPEND}
 
 SITEFILE="50${PN}-gentoo.el"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-glib-2.68.patch
+)
+
 pkg_setup() {
use emacs && elisp-check-emacs-version
 }



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-02-27 Thread Sam James
commit: d4116cf2637e10b8f6f37c3c6dda7935d3b2f30a
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 27 20:47:56 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 27 20:57:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4116cf2

net-mail/notmuch: add Python 3.9 to stable

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.30-r1.ebuild | 4 ++--
 net-mail/notmuch/notmuch-0.31-r2.ebuild | 2 +-
 net-mail/notmuch/notmuch-0.31.ebuild| 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.30-r1.ebuild 
b/net-mail/notmuch/notmuch-0.30-r1.ebuild
index 5bc0909030c..2e892bb5e51 100644
--- a/net-mail/notmuch/notmuch-0.30-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.30-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
 NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
pax-utils toolchain-funcs

diff --git a/net-mail/notmuch/notmuch-0.31-r2.ebuild 
b/net-mail/notmuch/notmuch-0.31-r2.ebuild
index fc743453f79..cc1c03f51da 100644
--- a/net-mail/notmuch/notmuch-0.31-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.31-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/net-mail/notmuch/notmuch-0.31.ebuild 
b/net-mail/notmuch/notmuch-0.31.ebuild
index 03f24db64a5..7e7b6616497 100644
--- a/net-mail/notmuch/notmuch-0.31.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DISTUTILS_OPTIONAL=1
 NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
pax-utils toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-01-02 Thread Sam James
commit: db32ab134c3da5bfbe8a580873acda6f8dea3dfb
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  2 22:34:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 22:35:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db32ab13

net-mail/notmuch: ROOT -> EROOT

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 5f806e985b5..b769f25d217 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -253,7 +253,7 @@ src_install() {
 
 pkg_preinst() {
local _rcfile="/etc/mutt/notmuch-mutt.rc"
-   if use mutt && ! [[ -e ${ROOT}${_rcfile} ]]; then
+   if use mutt && ! [[ -e "${EROOT}"${_rcfile} ]]; then
elog "To enable notmuch support in mutt, add the following line"
elog "to your mutt config file:"
elog ""



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-01-02 Thread Sam James
commit: 4a34d1bb2561b8da03f2f6b9759ccf2bc2ed73df
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  2 22:15:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 22:15:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a34d1bb

net-mail/notmuch: restore dropped ~x64-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
index 88f4451fc0b..5f806e985b5 100644
--- a/net-mail/notmuch/notmuch-0.31.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2021-01-02 Thread Sam James
commit: 1e109f6216fcf48bf701224b4dd81e1db657a180
Author: Ralph Seichter  seichter  de>
AuthorDate: Sun Dec 27 21:43:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 22:14:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e109f62

net-mail/notmuch: Bump to version 0.31.3

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/18846
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.31.3.ebuild | 276 +
 2 files changed, 277 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 9456c2345c8..7b8d75a5a02 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -2,4 +2,5 @@ DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b404677
 DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65
 DIST notmuch-0.30.tar.xz 711904 BLAKE2B 
fb1523f3939b78797e448e804fc52c4fe1e4e8ff87b346917488d3911027b9ccb67b9fddf611f0e960fd1e158463cbe005e038f31bb54549e2a922926dd512bd
 SHA512 
a5c812eb141c293c61b5483eafd31d3e3ab19b2c84429a1558986c415d30ead4afa79db64b2672e9549a40f5eb4c69e54ea5beeaeb9c783051c3f965a65e
 DIST notmuch-0.31.2.tar.xz 713388 BLAKE2B 
20029f55206b66e7956316fca2d16ae53a49fc196ea2e730ae5ebd96ce893fa2065b7eee9b625629bbb0d3816a70d98e8943920cf8895ef81a97a1d8dc59dd62
 SHA512 
b134ef79648cb6fe9f17b2f1b600d651d57359ae9fa576c808b794aa64a09955f0597a624cc3c498da4ef56e44bca6bb485bc402c2dff48cd000959f9a9ceeaa
+DIST notmuch-0.31.3.tar.xz 713900 BLAKE2B 
64aa5c707a74544d31f1dce4e49f3e19cf8c733dfe6f0761dec5522eae94bacf0c01ab7c8212373f1857eeecbad569482365a53a10f56dfee72cefc8d3f4f05a
 SHA512 
99119216b7ef7f9e336b11d03ebb61d9667a8fbddcf6fccc49b17d07f07867f0342b2766375e164b58eaa9a43237ec4d6567d616fe8813b929d28b203aedfa44
 DIST notmuch-0.31.tar.xz 713144 BLAKE2B 
91b0a01543e438e6ccb40a01ad0a100a5c6ae15fe832bb29367d4bc288dae5a915f89a743ecee814041caf53430e2593cb4b5f69faaec396ad6dacfe8cc67d2f
 SHA512 
928acc07b9dbed4275e7d39d94202bea7685e9d433a7bf4c07e40e191ed4fe8cf15ac04c18792e46f4605ffac548b942998005d8176a58ad76c82d4085a408e5

diff --git a/net-mail/notmuch/notmuch-0.31.3.ebuild 
b/net-mail/notmuch/notmuch-0.31.3.ebuild
new file mode 100644
index 000..88f4451fc0b
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.31.3.ebuild
@@ -0,0 +1,276 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common eutils 
flag-o-matic pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   mutt? (
+   dev-perl/File-Which
+   dev-perl/Mail-Box
+   dev-perl/MailTools
+   dev-perl/String-ShellQuote
+   dev-perl/Term-ReadLine-Gnu
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-12-01 Thread Sam James
commit: 5e4caa3b49c02fd9d38ac09cad3cb0e35ac6663b
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec  1 09:14:32 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec  1 09:38:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e4caa3b

net-mail/notmuch: ~x64-macos keyworded

Package-Manager: Portage-3.0.10.2-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.2.ebuild 
b/net-mail/notmuch/notmuch-0.31.2.ebuild
index 75002126583..26c459bf4d0 100644
--- a/net-mail/notmuch/notmuch-0.31.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.2.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 x86 ~x64-macos"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-11-12 Thread Thomas Deutschmann
commit: e12f42318b802301c7073da9b9a7ebbe65fe9036
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Nov 12 23:53:24 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Nov 12 23:53:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12f4231

net-mail/notmuch: x86 stable (bug #747643)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-mail/notmuch/notmuch-0.31.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.2.ebuild 
b/net-mail/notmuch/notmuch-0.31.2.ebuild
index bf63e1d7f55..75002126583 100644
--- a/net-mail/notmuch/notmuch-0.31.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.2.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 x86"
 REQUIRED_USE="
apidoc? ( doc )
nmbug? ( python )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-11-08 Thread Georgy Yakovlev
commit: 023537dc0c603d0811825c38407c415e137adcfd
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Nov  9 01:05:06 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Nov  9 01:06:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023537dc

net-mail/notmuch: bump to 0.31.2

crypt tests fixed

Bug: https://bugs.gentoo.org/749969
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.31.2.ebuild | 277 +
 2 files changed, 278 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 734ae5657a7..9456c2345c8 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,5 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65
 DIST notmuch-0.30.tar.xz 711904 BLAKE2B 
fb1523f3939b78797e448e804fc52c4fe1e4e8ff87b346917488d3911027b9ccb67b9fddf611f0e960fd1e158463cbe005e038f31bb54549e2a922926dd512bd
 SHA512 
a5c812eb141c293c61b5483eafd31d3e3ab19b2c84429a1558986c415d30ead4afa79db64b2672e9549a40f5eb4c69e54ea5beeaeb9c783051c3f965a65e
+DIST notmuch-0.31.2.tar.xz 713388 BLAKE2B 
20029f55206b66e7956316fca2d16ae53a49fc196ea2e730ae5ebd96ce893fa2065b7eee9b625629bbb0d3816a70d98e8943920cf8895ef81a97a1d8dc59dd62
 SHA512 
b134ef79648cb6fe9f17b2f1b600d651d57359ae9fa576c808b794aa64a09955f0597a624cc3c498da4ef56e44bca6bb485bc402c2dff48cd000959f9a9ceeaa
 DIST notmuch-0.31.tar.xz 713144 BLAKE2B 
91b0a01543e438e6ccb40a01ad0a100a5c6ae15fe832bb29367d4bc288dae5a915f89a743ecee814041caf53430e2593cb4b5f69faaec396ad6dacfe8cc67d2f
 SHA512 
928acc07b9dbed4275e7d39d94202bea7685e9d433a7bf4c07e40e191ed4fe8cf15ac04c18792e46f4605ffac548b942998005d8176a58ad76c82d4085a408e5

diff --git a/net-mail/notmuch/notmuch-0.31.2.ebuild 
b/net-mail/notmuch/notmuch-0.31.2.ebuild
new file mode 100644
index 000..bf63e1d7f55
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.31.2.ebuild
@@ -0,0 +1,277 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+
+inherit bash-completion-r1 desktop distutils-r1 elisp-common eutils 
flag-o-matic pax-utils toolchain-funcs xdg-utils
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
+REQUIRED_USE="
+   apidoc? ( doc )
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="apidoc crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   apidoc? (
+   app-doc/doxygen
+   dev-lang/perl
+   )
+   doc? (
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+   python? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.0:=
+   sys-libs/talloc
+   sys-libs/zlib:=
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   virtual/python-cffi[${PYTHON_USEDEP}]
+   )
+"
+
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-11-06 Thread Georgy Yakovlev
commit: bd3fdbaac0e87a731c9c30a97518a2af32885331
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Nov  6 17:54:00 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Nov  6 17:56:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd3fdbaa

net-mail/notmuch: fix doc installation with USE=mutt

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.31-r2.ebuild | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.31-r2.ebuild 
b/net-mail/notmuch/notmuch-0.31-r2.ebuild
index bd9a233912c..88f4451fc0b 100644
--- a/net-mail/notmuch/notmuch-0.31-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.31-r2.ebuild
@@ -83,7 +83,6 @@ RDEPEND="${COMMON_DEPEND}
nmbug? ( dev-vcs/git )
 "
 
-DOCS=( AUTHORS NEWS README )
 SITEFILE="50${PN}-gentoo.el"
 
 pkg_setup() {
@@ -209,8 +208,6 @@ python_install() {
 src_install() {
default
 
-   local DOCS=( README{,.rst} INSTALL NEWS )
-
if use doc; then
pushd doc/_build/man/man1 > /dev/null || die
ln notmuch.1 notmuch-setup.1 || die
@@ -241,10 +238,11 @@ src_install() {
doman notmuch-mutt.1
insinto /etc/mutt
doins notmuch-mutt.rc
-   DOCS+=( README-mutt )
+   dodoc README-mutt
popd > /dev/null || die
fi
 
+   local DOCS=( README{,.rst} INSTALL NEWS )
einstalldocs
 
if use python; then



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-11-01 Thread Georgy Yakovlev
commit: 4f258f9568e49252afc2d91a65d14a205fc513ef
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Nov  1 12:00:53 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Nov  1 12:01:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f258f95

net-mail/notmuch: fix whitespace

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.31-r2.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31-r2.ebuild 
b/net-mail/notmuch/notmuch-0.31-r2.ebuild
index f9466e5398c..bd9a233912c 100644
--- a/net-mail/notmuch/notmuch-0.31-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.31-r2.ebuild
@@ -223,7 +223,6 @@ src_install() {
doman doc/_build/man/man?/*.?
fi
 
-
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
domenu emacs/notmuch-emacs-mua.desktop



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-11-01 Thread Georgy Yakovlev
commit: eea839184e207cb2cf161cae0b5e25085bd33328
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Nov  1 11:25:22 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Nov  1 11:49:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea83918

net-mail/notmuch: add myself to metadata.xml, remove proxy-maint

this is very high-profile package was in a bad state.
Take over from proxy-maint for maintenance.

Bug: https://bugs.gentoo.org/751535
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index 9c4dc0d6dd2..457dfaca90f 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -1,14 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
+   
+   gyakov...@gentoo.org
+   Georgy Yakovlev
+   

gen...@seichter.de
Ralph Seichter

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

Provide doxygen generated API docs
Install API documentation



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-11-01 Thread Georgy Yakovlev
commit: 539a232d6c9d5faca4e067bcf9c96cccac3acdc7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Nov  1 05:59:13 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Nov  1 11:49:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=539a232d

net-mail/notmuch: QA revbump: fix multiple issues

add apidoc flag, which depends on doxygen
split doxygen dep under apidoc flag
apidoc depends on doc, add required_use
add py3.9 and pypy3 support (all tests pass)
switch to cffi virtual
add missing PYTHON_USEDEP to cffi
add desktop file installation for emacs
regen desktop database if required
add python tests and pytest dep
remove mock dep, works fine with stdlib one
add perl dep where appropriate for some scripts
add missing subslot on zlib
use standard python subphase functions instead of bindings()
fix makefile target sed
use more standard funtion calls instead of hard to read hacks
work around a Makefile race emacs doc generation, it needs -j1
add python documentation installation
add basic docs, switch to einstalldocs
prevent automagic dependency on gnu parallel in tests
make tests more verbose
prevent automagic dependency on sphinx (bug #751535)
fix manpage installation
fix manpage compression
fix texinfo file installation
fix missing manpage symlink
fix overly generic manpage name
fix nmbug & friends shebangs
silence pushd/popd calls
move around some deps
misc style changes

TODO: more cleanup needed. nmbug need python dependencies.
TODO: remove old bindings to fix setuptools warning.
TODO: crypto tests fail ( probably #749969 )

Bug: https://bugs.gentoo.org/751535
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/metadata.xml   |   1 +
 net-mail/notmuch/notmuch-0.31-r1.ebuild | 213 
 net-mail/notmuch/notmuch-0.31-r2.ebuild | 279 
 3 files changed, 280 insertions(+), 213 deletions(-)

diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index 799fdb5f19a..9c4dc0d6dd2 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -10,6 +10,7 @@
Proxy Maintainers


+   Provide doxygen generated API docs
Install API documentation
Support decryption and verification of 
PGP/MIME
messages and in Emacs UI - encryption; support also 
S/MIME

diff --git a/net-mail/notmuch/notmuch-0.31-r1.ebuild 
b/net-mail/notmuch/notmuch-0.31-r1.ebuild
deleted file mode 100644
index 07472ca4b03..000
--- a/net-mail/notmuch/notmuch-0.31-r1.ebuild
+++ /dev/null
@@ -1,213 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_OPTIONAL=1
-NEED_EMACS="24.1"
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
-   pax-utils toolchain-funcs
-
-DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
-HOMEPAGE="https://notmuchmail.org/;
-SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
-   test? ( 
https://notmuchmail.org/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/5"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
-REQUIRED_USE="
-   nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( crypt emacs python valgrind )
-"
-IUSE="crypt doc emacs mutt nmbug python test valgrind"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-   virtual/pkgconfig
-   doc? (
-   app-doc/doxygen
-   dev-python/mock[${PYTHON_USEDEP}]
-   dev-python/sphinx
-   sys-apps/texinfo
-   )
-"
-COMMON_DEPEND="
-   dev-libs/glib
-   dev-libs/gmime:3.0[crypt]
-   >=dev-libs/xapian-1.4.0:=
-   sys-libs/talloc
-   sys-libs/zlib
-   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
-   python? (
-   ${PYTHON_DEPS}
-   dev-python/cffi
-   )
-"
-DEPEND="${COMMON_DEPEND}
-   test? (
-   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
-   app-misc/dtach
-   sys-devel/gdb
-   crypt? (
-   app-crypt/gnupg
-   dev-libs/openssl
-   )
-   )
-   valgrind? ( dev-util/valgrind )
-"
-RDEPEND="${COMMON_DEPEND}
-   crypt? ( app-crypt/gnupg )
-   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
-   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-10-27 Thread Sam James
commit: 7cb1220db1121d31b4fbf02462e7b160ccfb15ed
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 27 23:25:39 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 27 23:25:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb1220d

net-mail/notmuch: Keyword 0.31-r1 arm, #751022

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31-r1.ebuild 
b/net-mail/notmuch/notmuch-0.31-r1.ebuild
index f5fd2cc5cf8..07472ca4b03 100644
--- a/net-mail/notmuch/notmuch-0.31-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.31-r1.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-09-29 Thread Sam James
commit: 5322b12b01353ee81cc4ecc7c6da151f287c4fa9
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep 30 02:19:30 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 30 02:22:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5322b12b

net-mail/notmuch: tighten xapian dep in 0.31

I can't reproduce this *but* upstream state [0][1]
we need >=dev-libs/xapian-1.4.0, so let's
require it, although most people should be fine
in ~.

[0] 
https://git.notmuchmail.org/git?p=notmuch;a=commit;h=00cdfe10717020423870fdaf56e973db9aba9f5a
[1] 
https://git.notmuchmail.org/git?p=notmuch;a=commit;h=2c7b3d3a80d40c25e2991e2659c6a6006b50fb08

Closes: https://bugs.gentoo.org/744136
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31-r1.ebuild 
b/net-mail/notmuch/notmuch-0.31-r1.ebuild
index bd42a123206..f5fd2cc5cf8 100644
--- a/net-mail/notmuch/notmuch-0.31-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.31-r1.ebuild
@@ -40,7 +40,7 @@ BDEPEND="
 COMMON_DEPEND="
dev-libs/glib
dev-libs/gmime:3.0[crypt]
-   dev-libs/xapian:=
+   >=dev-libs/xapian-1.4.0:=
sys-libs/talloc
sys-libs/zlib
emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-09-29 Thread Sam James
commit: 2fecb2f18a2d2fb688fafb288972326f320d6813
Author: Ralph Seichter  seichter  de>
AuthorDate: Mon Sep 14 00:04:11 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep 30 02:10:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fecb2f1

net-mail/notmuch: Unconditionally install man-pages

Installation of man-pages no longer depends on the "doc" use flag.

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/17533
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31-r1.ebuild | 213 
 1 file changed, 213 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.31-r1.ebuild 
b/net-mail/notmuch/notmuch-0.31-r1.ebuild
new file mode 100644
index 000..bd42a123206
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.31-r1.ebuild
@@ -0,0 +1,213 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
+   pax-utils toolchain-funcs
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 ~x86"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+"
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   dev-libs/xapian:=
+   sys-libs/talloc
+   sys-libs/zlib
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/cffi
+   )
+"
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+DOCS=( AUTHORS NEWS README )
+SITEFILE="50${PN}-gentoo.el"
+
+bindings() {
+   local rc=0
+   if use python; then
+   # CFFI based bindings (recommended)
+   pushd bindings/python-cffi || die
+   ${@}
+   rc=${?}
+   popd || die
+
+   # Old deprecated bindings, #736204. These are known to cause
+   # memory loss and other issues. Avoid if at all possible.
+   pushd bindings/python || die
+   ${@}
+   rc=${?}
+   popd || die
+   fi
+   return ${rc}
+}
+
+pkg_setup() {
+   use emacs && elisp-check-emacs-version
+}
+
+src_unpack() {
+   unpack "${P}".tar.xz
+   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() {
+   local _deps=""
+   default
+
+   # Python bindings
+   bindings distutils-r1_src_prepare
+   mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
+
+   # Override dependencies for 'install' target
+   use doc && _deps="install-info"
+   sed -e "s/^install:.\+/install: all ${_deps}/" -i Makefile.local || die
+
+   if use test; then
+   append-cflags -g
+   append-cxxflags -g
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # Non-autoconf configure
+   append-ldflags -lnsl -lsocket
+   fi
+}
+
+src_configure() {
+   python_setup # For sphinx
+   local _args=(
+   --bashcompletiondir="$(get_bashcompdir)"
+   --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-09-20 Thread Sam James
commit: cd3176afc4436be504ab422edd186ad29abd6091
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 20 17:33:39 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 20 17:33:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3176af

net-mail/notmuch: Stabilize 0.30-r1 amd64, #737522

Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.30-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.30-r1.ebuild 
b/net-mail/notmuch/notmuch-0.30-r1.ebuild
index 35f5ab16a29..36c6213ab65 100644
--- a/net-mail/notmuch/notmuch-0.30-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.30-r1.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="~alpha amd64 ~arm64 ~ppc64 x86"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-09-13 Thread Sam James
commit: 7e4b6ac81db837203050d528fd4788138ce1f602
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep 13 23:20:23 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 13 23:20:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4b6ac8

net-mail/notmuch: subscribe to xapian subslot again

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.31.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.31.ebuild 
b/net-mail/notmuch/notmuch-0.31.ebuild
index 86e0349ec42..dc44f4976cc 100644
--- a/net-mail/notmuch/notmuch-0.31.ebuild
+++ b/net-mail/notmuch/notmuch-0.31.ebuild
@@ -40,7 +40,7 @@ BDEPEND="
 COMMON_DEPEND="
dev-libs/glib
dev-libs/gmime:3.0[crypt]
-   dev-libs/xapian
+   dev-libs/xapian:=
sys-libs/talloc
sys-libs/zlib
emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-09-13 Thread Sam James
commit: 641e4e1496f112179178b3edc28e022186988ccd
Author: Ralph Seichter  seichter  de>
AuthorDate: Sun Sep  6 16:08:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 13 23:20:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641e4e14

net-mail/notmuch: Bump to version 0.31

Technical changes in release 0.31 include support for Emacs 27.1
and Xapian 1.5 (the current development version)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/17441
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/Manifest|   1 +
 net-mail/notmuch/notmuch-0.31.ebuild | 216 +++
 2 files changed, 217 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index a3c78e6376f..734ae5657a7 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65
 DIST notmuch-0.30.tar.xz 711904 BLAKE2B 
fb1523f3939b78797e448e804fc52c4fe1e4e8ff87b346917488d3911027b9ccb67b9fddf611f0e960fd1e158463cbe005e038f31bb54549e2a922926dd512bd
 SHA512 
a5c812eb141c293c61b5483eafd31d3e3ab19b2c84429a1558986c415d30ead4afa79db64b2672e9549a40f5eb4c69e54ea5beeaeb9c783051c3f965a65e
+DIST notmuch-0.31.tar.xz 713144 BLAKE2B 
91b0a01543e438e6ccb40a01ad0a100a5c6ae15fe832bb29367d4bc288dae5a915f89a743ecee814041caf53430e2593cb4b5f69faaec396ad6dacfe8cc67d2f
 SHA512 
928acc07b9dbed4275e7d39d94202bea7685e9d433a7bf4c07e40e191ed4fe8cf15ac04c18792e46f4605ffac548b942998005d8176a58ad76c82d4085a408e5

diff --git a/net-mail/notmuch/notmuch-0.31.ebuild 
b/net-mail/notmuch/notmuch-0.31.ebuild
new file mode 100644
index 000..86e0349ec42
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.31.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
+   pax-utils toolchain-funcs
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 ~x86"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+"
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   dev-libs/xapian
+   sys-libs/talloc
+   sys-libs/zlib
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/cffi
+   )
+"
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+DOCS=( AUTHORS NEWS README )
+SITEFILE="50${PN}-gentoo.el"
+
+bindings() {
+   local rc=0
+   if use python; then
+   # CFFI based bindings (recommended)
+   pushd bindings/python-cffi || die
+   ${@}
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-09-03 Thread Thomas Deutschmann
commit: 5327a451d9fe34f670bc2401b13648451535a36f
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Sep  3 14:25:33 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Sep  3 14:25:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5327a451

net-mail/notmuch: x86 stable (bug #737522)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-mail/notmuch/notmuch-0.30-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.30-r1.ebuild 
b/net-mail/notmuch/notmuch-0.30-r1.ebuild
index 87312c1e943..35f5ab16a29 100644
--- a/net-mail/notmuch/notmuch-0.30-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.30-r1.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 x86"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-08-24 Thread Sam James
commit: 69df55e0f867f3bf3f62f36b9ee59b7ee52268f6
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 25 01:48:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 25 01:48:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69df55e0

net-mail/notmuch: arm64 keyworded (bug #734840)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.30-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.30-r1.ebuild 
b/net-mail/notmuch/notmuch-0.30-r1.ebuild
index 2806d20a9ff..87312c1e943 100644
--- a/net-mail/notmuch/notmuch-0.30-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.30-r1.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc64 ~x86"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-08-09 Thread Joonas Niilola
commit: 924742c75fda580701838e7af38d6a7af0db6da3
Author: Joonas Niilola  gentoo  org>
AuthorDate: Sun Aug  9 06:44:39 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Aug  9 07:13:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924742c7

net-mail/notmuch: install deprecated python bindings on 0.30

 - There are still some packages in ::gentoo repo that depend on
   the deprecated 'notmuch' python modules. As other major
   distributions still provide these bindings, we should enable them
   too and give some extra time for other upstreams to update into
   using 'notmuch2'.

Closes: https://bugs.gentoo.org/736204
Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/notmuch/{notmuch-0.30.ebuild => notmuch-0.30-r1.ebuild} | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.30.ebuild 
b/net-mail/notmuch/notmuch-0.30-r1.ebuild
similarity index 97%
rename from net-mail/notmuch/notmuch-0.30.ebuild
rename to net-mail/notmuch/notmuch-0.30-r1.ebuild
index 9ef69706432..2806d20a9ff 100644
--- a/net-mail/notmuch/notmuch-0.30.ebuild
+++ b/net-mail/notmuch/notmuch-0.30-r1.ebuild
@@ -87,6 +87,12 @@ bindings() {
${@}
rc=${?}
popd || die
+
+   # Old deprecated bindings, #736204
+   pushd bindings/python || die
+   ${@}
+   rc=${?}
+   popd || die
fi
return ${rc}
 }



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-07-23 Thread Kent Fredric
commit: afa01ace9947762238a58f98abf526df092a8cbb
Author: Kent Fredric  gentoo  org>
AuthorDate: Thu Jul 23 11:57:09 2020 +
Commit: Kent Fredric  gentoo  org>
CommitDate: Thu Jul 23 12:46:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa01ace

net-mail/notmuch: Drop x64-solaris re bug #690140

Depends:
- dev-perl/String-ShellQuote

Bug: https://bugs.gentoo.org/690140
Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Kent Fredric  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r2.ebuild | 2 +-
 net-mail/notmuch/notmuch-0.30.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
index f5584225048..9d7b13f40a9 100644
--- a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~ppc64 x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 ~ppc64 x86"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )

diff --git a/net-mail/notmuch/notmuch-0.30.ebuild 
b/net-mail/notmuch/notmuch-0.30.ebuild
index 290ff14631b..9ef69706432 100644
--- a/net-mail/notmuch/notmuch-0.30.ebuild
+++ b/net-mail/notmuch/notmuch-0.30.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~ppc64 ~x86"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-07-20 Thread Sam James
commit: aeaee14b3c12795a02cbd143574e982ab692a334
Author: Ralph Seichter  seichter  de>
AuthorDate: Mon Jul 20 22:46:36 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 20 23:30:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeaee14b

net-mail/notmuch: Post-stabilisation cleanup

Remove obsolete ebuilds.

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/16754
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r1.ebuild | 232 -
 net-mail/notmuch/notmuch-0.29.3.ebuild| 233 --
 2 files changed, 465 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
deleted file mode 100644
index 13810a43d49..000
--- a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{3_6,3_7} )
-
-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="https://notmuchmail.org/;
-SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
-   test? ( 
https://notmuchmail.org/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/5"
-KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~x64-solaris"
-REQUIRED_USE="
-   nmbug? ( python )
-   python? ( ${PYTHON_REQUIRED_USE} )
-   test? ( crypt emacs python valgrind )
-   "
-IUSE="crypt doc emacs mutt nmbug python test valgrind"
-
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-   !!=dev-libs/glib-2.22:2
-   >=dev-libs/gmime-3.0.3:3.0[crypt]
-   >=dev-libs/xapian-1.4.8:=
-   dev-python/sphinx
-   sys-apps/texinfo
-   >=sys-libs/zlib-1.2.5.2
-   sys-libs/talloc
-   emacs? ( >=app-editors/emacs-24.1:* )
-   python? ( ${PYTHON_DEPS} )
-   "
-DEPEND="${CDEPEND}
-   virtual/pkgconfig
-   doc? (
-   app-doc/doxygen
-   dev-python/mock[${PYTHON_USEDEP}]
-   )
-   test? (
-   app-misc/dtach
-   >=app-editors/emacs-24.1:*[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 )
-NEED_EMACS="24.1"
-SITEFILE="50${PN}-gentoo.el"
-MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
-PATCHES=(
-   "${FILESDIR}"/${PV}-0001-Use-loopback-IP-address-rather-than-name.patch
-)
-
-bindings() {
-   local ret=0
-
-   if use $1; then
-   pushd bindings/$1 || die
-   shift
-   "$@"
-   ret=$?
-   popd || die
-   fi
-
-   return $ret
-}
-
-pkg_pretend() {
-   if has_version '=notmuch-0.18.  See NEWS file"
-   ewarn "(0.18 section) for details before first use!"
-   ewarn
-   fi
-}
-
-pkg_setup() {
-   use emacs && elisp-check-emacs-version
-}
-
-src_unpack() {
-   unpack "${P}".tar.xz
-   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
-
-   # assure that new Makefile.config will be generated
-   rm -f Makefile.config || die
-
-   sed -e 's@^install: all install-man install-info$@install: all 
install-info@' -i Makefile.local
-
-   if use test; then
-   append-cflags -g
-   append-cxxflags -g
-   fi
-
-   if [[ ${CHOST} == *-solaris* ]] ; then
-   append-ldflags -lnsl -lsocket   # non-autoconf configure
-   fi
-}
-
-src_configure() {
-   python_setup  # for sphinx
-
-   local myeconfargs=(
-   --bashcompletiondir="$(get_bashcompdir)"
-   --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
-   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-07-19 Thread Sam James
commit: 3b42ba6e0fb70161812f637bac2b50832ad161fe
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 19 21:48:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 19 21:48:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b42ba6e

net-mail/notmuch: x86 stable (bug #732238)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
index ed8634d1ae0..f5584225048 100644
--- a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~ppc64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 ~ppc64 x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-07-19 Thread Sam James
commit: f237d8aed699bc33c38fa1dde3959c4978bbb548
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 19 21:48:06 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 19 21:48:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f237d8ae

net-mail/notmuch: amd64 stable (bug #732238)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
index 7750baa97ae..ed8634d1ae0 100644
--- a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
@@ -19,7 +19,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 ~ppc64 ~x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-07-14 Thread Joonas Niilola
commit: a1a1d15c423ca60bfc83e559a3efd82e05bc1f26
Author: Ralph Seichter  seichter  de>
AuthorDate: Sat Jul 11 18:21:28 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Jul 14 09:39:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a1d15c

net-mail/notmuch: Bump to version 0.30

Feature release 0.30, see https://notmuchmail.org/news/ .
This ebuild adds support for Python 3.8 and for the new
Python CFFI bindings (package name "notmuch2").

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/16668
Signed-off-by: Joonas Niilola  gentoo.org>

 net-mail/notmuch/Manifest|   1 +
 net-mail/notmuch/metadata.xml|   2 +-
 net-mail/notmuch/notmuch-0.30.ebuild | 208 +++
 3 files changed, 210 insertions(+), 1 deletion(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index f0b08dea803..a3c78e6376f 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,2 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65
+DIST notmuch-0.30.tar.xz 711904 BLAKE2B 
fb1523f3939b78797e448e804fc52c4fe1e4e8ff87b346917488d3911027b9ccb67b9fddf611f0e960fd1e158463cbe005e038f31bb54549e2a922926dd512bd
 SHA512 
a5c812eb141c293c61b5483eafd31d3e3ab19b2c84429a1558986c415d30ead4afa79db64b2672e9549a40f5eb4c69e54ea5beeaeb9c783051c3f965a65e

diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index e5089957cda..799fdb5f19a 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -19,7 +19,7 @@
Install experimental tag sharing /
pseudo-bug-tracking script for Notmuch
(see http://notmuchmail.org/nmbug/)
-   Depend on dev-util/vagrind for test 
suite
+   Depend on dev-util/valgrind for test 
suite


Notmuch is a system for indexing, searching, reading, and 
tagging large

diff --git a/net-mail/notmuch/notmuch-0.30.ebuild 
b/net-mail/notmuch/notmuch-0.30.ebuild
new file mode 100644
index 000..290ff14631b
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.30.ebuild
@@ -0,0 +1,208 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
+   pax-utils toolchain-funcs
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+"
+COMMON_DEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.14:=
+   sys-libs/talloc
+   sys-libs/zlib
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? (
+   ${PYTHON_DEPS}
+   dev-python/cffi
+   )
+"
+DEPEND="${COMMON_DEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? (
+   app-crypt/gnupg
+   dev-libs/openssl
+   )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+RDEPEND="${COMMON_DEPEND}
+   crypt? ( app-crypt/gnupg )
+   mutt? (
+   dev-perl/File-Which
+   dev-perl/Mail-Box
+   dev-perl/MailTools
+   dev-perl/String-ShellQuote
+   dev-perl/Term-ReadLine-Gnu
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-05-23 Thread Andreas K. Hüttel
commit: 76371e7a6fe33fc8ebd38b56d5ac45eed4af1e52
Author: Ralph Seichter  seichter  de>
AuthorDate: Fri May 22 16:37:45 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat May 23 13:45:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76371e7a

net-mail/notmuch: Fix runtime dependencies

* Updated ebuild for EAPI 7.

* Fix: Earlier ebuild versions had unconditional dependencies on Sphinx
  and Texinfo even at runtime. Moved dependencies to BDEPEND and tied
  them to USE=doc.

* Fix: Install Texinfo documentation only when USE=doc is specified.

Closes: https://bugs.gentoo.org/711052
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ralph Seichter  seichter.de>
Closes: https://github.com/gentoo/gentoo/pull/15918
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r2.ebuild | 230 ++
 1 file changed, 230 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r2.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
new file mode 100644
index 000..7750baa97ae
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.29.3-r2.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_OPTIONAL=1
+NEED_EMACS="24.1"
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit bash-completion-r1 distutils-r1 elisp-common eutils flag-o-matic \
+   pax-utils readme.gentoo-r1 toolchain-funcs
+
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
+HOMEPAGE="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+"
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   dev-python/sphinx
+   sys-apps/texinfo
+   )
+"
+CDEPEND="
+   dev-libs/glib
+   dev-libs/gmime:3.0[crypt]
+   >=dev-libs/xapian-1.4.8:=
+   sys-libs/talloc
+   sys-libs/zlib
+   emacs? ( >=app-editors/emacs-${NEED_EMACS}:* )
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${CDEPEND}
+   test? (
+   >=app-editors/emacs-${NEED_EMACS}:*[libxml2]
+   app-misc/dtach
+   sys-devel/gdb
+   crypt? ( app-crypt/gnupg dev-libs/openssl )
+   )
+   valgrind? ( dev-util/valgrind )
+"
+RDEPEND="${CDEPEND}
+   crypt? ( app-crypt/gnupg )
+   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
+   )
+   nmbug? ( dev-vcs/git )
+"
+
+DOCS=( AUTHORS NEWS README )
+DOC_CONTENTS="There are a few backward-incompatible changes between
+notmuch version 0.18 < x <= 0.18. Please consult the NEWS file (0.18
+section) before first use."
+MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
+PATCHES=(
+   "${FILESDIR}/${PV}-0001-Use-loopback-IP-address-rather-than-name.patch"
+)
+SITEFILE="50${PN}-gentoo.el"
+
+bindings() {
+   local rc=0
+   if use $1; then
+   pushd bindings/$1 || die
+   shift
+   "$@"
+   rc=$?
+   popd || die
+   fi
+   return $rc
+}
+
+pkg_setup() {
+   use emacs && elisp-check-emacs-version
+}
+
+src_unpack() {
+   unpack "${P}".tar.xz
+   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() {
+   local _deps=""
+   default
+
+   # Python bindings
+   bindings python distutils-r1_src_prepare
+   bindings python mv README README-python || die
+   mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
+
+   # Ensure that a new Makefile.config will be generated
+   rm -f Makefile.config || die
+
+   # Override dependencies for 'install' target
+   use doc && _deps="install-info"
+   sed -e "s/^install:.\+/install: all ${_deps}/" -i Makefile.local || die
+
+   if use test; then
+   append-cflags -g
+   append-cxxflags -g
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   # 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-05-19 Thread Georgy Yakovlev
commit: c57dfa733c3f42d3d5f5fade77fbcbe50c4212e2
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed May 20 05:50:11 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed May 20 05:50:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57dfa73

net-mail/notmuch: add ~ppc64 keyword

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
index d2dc1e110e9..13810a43d49 100644
--- a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~ppc64 ~x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-05-11 Thread Amadeusz Piotr Żołnowski
commit: 013081aec337ae1d013edc2566bff5dcb0248c7b
Author: Ralph Seichter  seichter  de>
AuthorDate: Mon May 11 15:52:56 2020 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Mon May 11 21:30:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=013081ae

net-mail/notmuch: Add myself as maintainer

As discussed on the gentoo-dev mailing list.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ralph Seichter  seichter.de>
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-mail/notmuch/metadata.xml b/net-mail/notmuch/metadata.xml
index f865390fdc3..e5089957cda 100644
--- a/net-mail/notmuch/metadata.xml
+++ b/net-mail/notmuch/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   gen...@seichter.de
+   Ralph Seichter
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

Install API documentation
Support decryption and verification of 
PGP/MIME



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-05-07 Thread Michał Górny
commit: 69cc53791baf45c652ebc53461a02191467b4366
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  7 15:12:18 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  7 15:12:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69cc5379

net-mail/notmuch: Remove py2.7

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
index d43493b3fad..d2dc1e110e9 100644
--- a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \
distutils-r1 toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-03-04 Thread Amadeusz Piotr Żołnowski
commit: 68ee1bf682140f439186c5e6bdcaedcbf19f7444
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Wed Mar  4 22:15:12 2020 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Wed Mar  4 22:17:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ee1bf6

net-mail/notmuch: Fix error on configure with 'crypt' flag disabled

Bug: https://bugs.gentoo.org/707656
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3-r1.ebuild | 232 ++
 1 file changed, 232 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.29.3-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
new file mode 100644
index 000..d43493b3fad
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.29.3-r1.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+
+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="https://notmuchmail.org/;
+SRC_URI="https://notmuchmail.org/releases/${P}.tar.xz
+   test? ( 
https://notmuchmail.org/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/5"
+KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+   "
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+
+RESTRICT="!test? ( test )"
+
+CDEPEND="
+   !!=dev-libs/glib-2.22:2
+   >=dev-libs/gmime-3.0.3:3.0[crypt]
+   >=dev-libs/xapian-1.4.8:=
+   dev-python/sphinx
+   sys-apps/texinfo
+   >=sys-libs/zlib-1.2.5.2
+   sys-libs/talloc
+   emacs? ( >=app-editors/emacs-24.1:* )
+   python? ( ${PYTHON_DEPS} )
+   "
+DEPEND="${CDEPEND}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+   test? (
+   app-misc/dtach
+   >=app-editors/emacs-24.1:*[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 )
+NEED_EMACS="24.1"
+SITEFILE="50${PN}-gentoo.el"
+MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
+PATCHES=(
+   "${FILESDIR}"/${PV}-0001-Use-loopback-IP-address-rather-than-name.patch
+)
+
+bindings() {
+   local ret=0
+
+   if use $1; then
+   pushd bindings/$1 || die
+   shift
+   "$@"
+   ret=$?
+   popd || die
+   fi
+
+   return $ret
+}
+
+pkg_pretend() {
+   if has_version '=notmuch-0.18.  See NEWS file"
+   ewarn "(0.18 section) for details before first use!"
+   ewarn
+   fi
+}
+
+pkg_setup() {
+   use emacs && elisp-check-emacs-version
+}
+
+src_unpack() {
+   unpack "${P}".tar.xz
+   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
+
+   # assure that new Makefile.config will be generated
+   rm -f Makefile.config || die
+
+   sed -e 's@^install: all install-man install-info$@install: all 
install-info@' -i Makefile.local
+
+   if use test; then
+   append-cflags -g
+   append-cxxflags -g
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   append-ldflags -lnsl -lsocket   # non-autoconf configure
+   fi
+}
+
+src_configure() {
+   python_setup  # for sphinx
+
+   local myeconfargs=(
+   --bashcompletiondir="$(get_bashcompdir)"
+   --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
+   --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}"
+   --without-desktop
+   --without-ruby
+   

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-02-11 Thread Michał Górny
commit: e9adb96dcd2416ae8ac8038506209b0ea48829c6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 12:05:48 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:16:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9adb96d

net-mail/notmuch: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3.ebuild 
b/net-mail/notmuch/notmuch-0.29.3.ebuild
index c8ab2a40897..35caf2d2747 100644
--- a/net-mail/notmuch/notmuch-0.29.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7} )
 
 inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \
distutils-r1 toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/

2020-02-01 Thread Amadeusz Piotr Żołnowski
commit: e705c4ca0409cb296a8e79c5adccc633456d0406
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Sat Feb  1 23:32:54 2020 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Sat Feb  1 23:37:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e705c4ca

net-mail/notmuch: Remove vulnerable versions

Bug: https://bugs.gentoo.org/701350
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |   2 -
 ...-Use-loopback-IP-address-rather-than-name.patch |  61 --
 ...-Use-loopback-IP-address-rather-than-name.patch |  62 --
 .../0002-Fix-jobserver-unavailable-warning.patch   |  26 ---
 net-mail/notmuch/notmuch-0.28.4.ebuild | 232 
 net-mail/notmuch/notmuch-0.29.2.ebuild | 233 -
 6 files changed, 616 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 8dc7ed23286..f0b08dea803 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,2 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
-DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
-DIST notmuch-0.29.2.tar.xz 660520 BLAKE2B 
f87889db5fa1049b2b91a9ea8abe917e5645860a5c163c73a57197ede904aa335c0f3b37cc2a7ff2465c30e94eb25b113bebd074aa9e92c84383457600e1de82
 SHA512 
0e345c4ecca8410eedb14154bcb3c327353a0984f30b7fd6c526deefcfe17aa74ca8fb4b4d28e93decca8c8914f7d60ca2c9485750001b14d67d7d33d4721bb3
 DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65

diff --git 
a/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch
 
b/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch
deleted file mode 100644
index e4722469595..000
--- 
a/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
- 
-Date: Sun, 7 Jul 2019 11:33:09 +0100
-Subject: [PATCH] Use loopback IP address rather than name
-

- test/smtp-dummy.c | 8 
- test/test-lib.sh  | 2 +-
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
-index a7c1fe4f..822a986a 100644
 a/test/smtp-dummy.c
-+++ b/test/smtp-dummy.c
-@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char 
*command)
-   fprintf (peer, "502 not implemented\r\n");
-   fflush (peer);
- } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
--  fprintf (peer, "250 localhost\r\n");
-+  fprintf (peer, "250 127.0.0.1\r\n");
-   fflush (peer);
- } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 ||
-  STRNCMP_LITERAL (command, "RCPT TO:") == 0) {
-@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output)
- size_t line_size;
- ssize_t line_len;
- 
--fprintf (peer, "220 localhost smtp-dummy\r\n");
-+fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n");
- fflush (peer);
- 
- while ((line_len = getline (, _size, peer)) != -1) {
-@@ -183,9 +183,9 @@ main (int argc, char *argv[])
-   goto DONE;
- }
- 
--hostinfo = gethostbyname ("localhost");
-+hostinfo = gethostbyname ("127.0.0.1");
- if (hostinfo == NULL) {
--  fprintf (stderr, "Unknown host: localhost\n");
-+  fprintf (stderr, "Unknown host: 127.0.0.1\n");
-   ret = 1;
-   goto DONE;
- }
-diff --git a/test/test-lib.sh b/test/test-lib.sh
-index 616cb674..dd887773 100644
 a/test/test-lib.sh
-+++ b/test/test-lib.sh
-@@ -336,7 +336,7 @@ emacs_deliver_message ()
- test_emacs \
-   "(let ((message-send-mail-function 'message-smtpmail-send-it)
-  (mail-host-address \"example.com\")
-- (smtpmail-smtp-server \"localhost\")
-+ (smtpmail-smtp-server \"127.0.0.1\")
-  (smtpmail-smtp-service \"${smtp_dummy_port}\"))
-  (notmuch-mua-mail)
-  (message-goto-to)
--- 
-2.19.2
-

diff --git 
a/net-mail/notmuch/files/0001-Use-loopback-IP-address-rather-than-name.patch 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-01-30 Thread Agostino Sarubbo
commit: 891cd13de918bb2d0b5b0dcf43e2ee0d452a969b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 30 12:14:29 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 30 12:14:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891cd13d

net-mail/notmuch: x86 stable wrt bug #701350

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3.ebuild 
b/net-mail/notmuch/notmuch-0.29.3.ebuild
index c583ca34020..c8ab2a40897 100644
--- a/net-mail/notmuch/notmuch-0.29.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2020-01-30 Thread Agostino Sarubbo
commit: 8e5eee205bdd41635d11cfafd955f8401cd9f83b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 30 10:09:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 30 10:09:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5eee20

net-mail/notmuch: amd64 stable wrt bug #701350

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/notmuch/notmuch-0.29.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.3.ebuild 
b/net-mail/notmuch/notmuch-0.29.3.ebuild
index b10795cfe09..c583ca34020 100644
--- a/net-mail/notmuch/notmuch-0.29.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 ~x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-12-21 Thread Ulrich Müller
commit: 46f58b50d48de2d1d751ae1a3e6111cc0d8e0887
Author: Ulrich Müller  gentoo  org>
AuthorDate: Sat Dec 21 11:22:41 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Sat Dec 21 11:26:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f58b50

net-mail/notmuch: Update for elisp-common.eclass changes.

Function elisp-need-emacs is deprecated, replace it by assigning
NEED_EMACS and calling elisp-check-emacs-version in pkg_setup.

Require emacs-24.1 as minimum version, because it is the first version
with libxml2 support.

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 net-mail/notmuch/notmuch-0.28.4.ebuild | 9 -
 net-mail/notmuch/notmuch-0.29.2.ebuild | 9 -
 net-mail/notmuch/notmuch-0.29.3.ebuild | 9 -
 3 files changed, 12 insertions(+), 15 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.28.4.ebuild 
b/net-mail/notmuch/notmuch-0.28.4.ebuild
index 2856cf698a2..c43123227e0 100644
--- a/net-mail/notmuch/notmuch-0.28.4.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.4.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
-   emacs? ( >=app-editors/emacs-23.1:* )
+   emacs? ( >=app-editors/emacs-24.1:* )
python? ( ${PYTHON_DEPS} )
"
 DEPEND="${CDEPEND}
@@ -49,7 +49,7 @@ DEPEND="${CDEPEND}
)
test? (
app-misc/dtach
-   || ( >=app-editors/emacs-23[libxml2] 
>=app-editors/emacs-vcs-23[libxml2] )
+   >=app-editors/emacs-24.1:*[libxml2]
sys-devel/gdb
crypt? ( app-crypt/gnupg dev-libs/openssl )
)
@@ -72,6 +72,7 @@ RDEPEND="${CDEPEND}
"
 
 DOCS=( AUTHORS NEWS README )
+NEED_EMACS="24.1"
 SITEFILE="50${PN}-gentoo.el"
 MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
 PATCHES=(
@@ -104,9 +105,7 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-   if use emacs; then
-   elisp-need-emacs 23 || die "Emacs version too low"
-   fi
+   use emacs && elisp-check-emacs-version
 }
 
 src_unpack() {

diff --git a/net-mail/notmuch/notmuch-0.29.2.ebuild 
b/net-mail/notmuch/notmuch-0.29.2.ebuild
index f848c35df5e..4ee535926dd 100644
--- a/net-mail/notmuch/notmuch-0.29.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.2.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
-   emacs? ( >=app-editors/emacs-23.1:* )
+   emacs? ( >=app-editors/emacs-24.1:* )
python? ( ${PYTHON_DEPS} )
"
 DEPEND="${CDEPEND}
@@ -49,7 +49,7 @@ DEPEND="${CDEPEND}
)
test? (
app-misc/dtach
-   || ( >=app-editors/emacs-23[libxml2] 
>=app-editors/emacs-vcs-23[libxml2] )
+   >=app-editors/emacs-24.1:*[libxml2]
sys-devel/gdb
crypt? ( app-crypt/gnupg dev-libs/openssl )
)
@@ -72,6 +72,7 @@ RDEPEND="${CDEPEND}
"
 
 DOCS=( AUTHORS NEWS README )
+NEED_EMACS="24.1"
 SITEFILE="50${PN}-gentoo.el"
 MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
 PATCHES=(
@@ -103,9 +104,7 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-   if use emacs; then
-   elisp-need-emacs 23 || die "Emacs version too low"
-   fi
+   use emacs && elisp-check-emacs-version
 }
 
 src_unpack() {

diff --git a/net-mail/notmuch/notmuch-0.29.3.ebuild 
b/net-mail/notmuch/notmuch-0.29.3.ebuild
index f848c35df5e..4ee535926dd 100644
--- a/net-mail/notmuch/notmuch-0.29.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
-   emacs? ( >=app-editors/emacs-23.1:* )
+   emacs? ( >=app-editors/emacs-24.1:* )
python? ( ${PYTHON_DEPS} )
"
 DEPEND="${CDEPEND}
@@ -49,7 +49,7 @@ DEPEND="${CDEPEND}
)
test? (
app-misc/dtach
-   || ( >=app-editors/emacs-23[libxml2] 
>=app-editors/emacs-vcs-23[libxml2] )
+   >=app-editors/emacs-24.1:*[libxml2]
sys-devel/gdb
crypt? ( app-crypt/gnupg dev-libs/openssl )
)
@@ -72,6 +72,7 @@ RDEPEND="${CDEPEND}
"
 
 DOCS=( AUTHORS NEWS README )
+NEED_EMACS="24.1"
 SITEFILE="50${PN}-gentoo.el"
 MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
 PATCHES=(
@@ -103,9 +104,7 @@ pkg_pretend() {
 }
 
 pkg_setup() {
-   if use emacs; then
-   elisp-need-emacs 23 || die "Emacs version too low"
-   fi
+   use emacs && elisp-check-emacs-version
 }
 
 src_unpack() {



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-12-20 Thread Ulrich Müller
commit: ad20ea864c90b303cdb20da3bcb36e7fcd99
Author: Ulrich Müller  gentoo  org>
AuthorDate: Fri Dec 20 16:27:15 2019 +
Commit: Ulrich Müller  gentoo  org>
CommitDate: Fri Dec 20 22:48:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad20ea86

net-mail/notmuch: Update virtual/emacs dependency.

The virtual is deprecated, depend on app-editors/emacs instead.

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller  gentoo.org>

 net-mail/notmuch/notmuch-0.28.4.ebuild | 2 +-
 net-mail/notmuch/notmuch-0.29.2.ebuild | 2 +-
 net-mail/notmuch/notmuch-0.29.3.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.28.4.ebuild 
b/net-mail/notmuch/notmuch-0.28.4.ebuild
index 578ec430d1c..2856cf698a2 100644
--- a/net-mail/notmuch/notmuch-0.28.4.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.4.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
-   emacs? ( >=virtual/emacs-23 )
+   emacs? ( >=app-editors/emacs-23.1:* )
python? ( ${PYTHON_DEPS} )
"
 DEPEND="${CDEPEND}

diff --git a/net-mail/notmuch/notmuch-0.29.2.ebuild 
b/net-mail/notmuch/notmuch-0.29.2.ebuild
index e845830282d..f848c35df5e 100644
--- a/net-mail/notmuch/notmuch-0.29.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.2.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
-   emacs? ( >=virtual/emacs-23 )
+   emacs? ( >=app-editors/emacs-23.1:* )
python? ( ${PYTHON_DEPS} )
"
 DEPEND="${CDEPEND}

diff --git a/net-mail/notmuch/notmuch-0.29.3.ebuild 
b/net-mail/notmuch/notmuch-0.29.3.ebuild
index e845830282d..f848c35df5e 100644
--- a/net-mail/notmuch/notmuch-0.29.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.3.ebuild
@@ -38,7 +38,7 @@ CDEPEND="
>=sys-libs/zlib-1.2.5.2
sys-libs/talloc
crypt? ( dev-libs/gmime:3.0[crypt] )
-   emacs? ( >=virtual/emacs-23 )
+   emacs? ( >=app-editors/emacs-23.1:* )
python? ( ${PYTHON_DEPS} )
"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/, net-mail/notmuch/files/

2019-11-27 Thread Amadeusz Piotr Żołnowski
commit: c7b44fa58efd3f42ff1186459a63c8c27e64e419
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Wed Nov 27 23:10:29 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Wed Nov 27 23:11:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b44fa5

net-mail/notmuch: Bump to 0.29.3

Remove 0.29.2-r1 as 0.29.3 has the backported patch and one more
additional fix.

Bug: https://bugs.gentoo.org/701350
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |  1 +
 ...dump.c-Fix-output-file-being-closed-twice.patch | 20 ---
 ...-Use-loopback-IP-address-rather-than-name.patch | 61 ++
 ...much-0.29.2-r1.ebuild => notmuch-0.29.3.ebuild} |  1 -
 4 files changed, 62 insertions(+), 21 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index fdfe821babe..8dc7ed23286 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
 DIST notmuch-0.29.2.tar.xz 660520 BLAKE2B 
f87889db5fa1049b2b91a9ea8abe917e5645860a5c163c73a57197ede904aa335c0f3b37cc2a7ff2465c30e94eb25b113bebd074aa9e92c84383457600e1de82
 SHA512 
0e345c4ecca8410eedb14154bcb3c327353a0984f30b7fd6c526deefcfe17aa74ca8fb4b4d28e93decca8c8914f7d60ca2c9485750001b14d67d7d33d4721bb3
+DIST notmuch-0.29.3.tar.xz 660536 BLAKE2B 
bd5d62eba06102acbc0615cd97ac9ff5578c1f68d50b24a79ea9fb1ea77850d84e0713fb648cb04e74a61ac3321ea5ef82db714786adf38ea10d00c5846decff
 SHA512 
b1e0b47ebf2d2de0ccd39976782eb8a7b417e36f2f9d78ef19e27e55719a02ee919508843a0eaf258f58138914ab2e8796d2fc1782b9cfe2d8937abb6184be65

diff --git 
a/net-mail/notmuch/files/0.29.2-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
 
b/net-mail/notmuch/files/0.29.2-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
deleted file mode 100644
index cafef61ce75..000
--- 
a/net-mail/notmuch/files/0.29.2-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 a/notmuch-dump.c   2019-07-24 17:11:02.899384482 +0200
-+++ b/notmuch-dump.c   2019-07-24 17:12:08.100487117 +0200
-@@ -329,13 +329,15 @@
-   }
- }
- 
--if (gzclose_w (output) != Z_OK) {
-+ret = gzclose_w (output);
-+if (ret) {
-   fprintf (stderr, "Error closing %s: %s\n", name_for_error,
-gzerror (output, NULL));
-   ret = EXIT_FAILURE;
-   output = NULL;
-   goto DONE;
--}
-+} else
-+output = NULL;
- 
- if (output_file_name) {
-   ret = rename (tempname, output_file_name);

diff --git 
a/net-mail/notmuch/files/0.29.3-0001-Use-loopback-IP-address-rather-than-name.patch
 
b/net-mail/notmuch/files/0.29.3-0001-Use-loopback-IP-address-rather-than-name.patch
new file mode 100644
index 000..e4722469595
--- /dev/null
+++ 
b/net-mail/notmuch/files/0.29.3-0001-Use-loopback-IP-address-rather-than-name.patch
@@ -0,0 +1,61 @@
+From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
+ 
+Date: Sun, 7 Jul 2019 11:33:09 +0100
+Subject: [PATCH] Use loopback IP address rather than name
+
+---
+ test/smtp-dummy.c | 8 
+ test/test-lib.sh  | 2 +-
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
+index a7c1fe4f..822a986a 100644
+--- a/test/smtp-dummy.c
 b/test/smtp-dummy.c
+@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char 
*command)
+   fprintf (peer, "502 not implemented\r\n");
+   fflush (peer);
+ } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
+-  fprintf (peer, "250 localhost\r\n");
++  fprintf (peer, "250 127.0.0.1\r\n");
+   fflush (peer);
+ } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 ||
+  STRNCMP_LITERAL (command, "RCPT TO:") == 0) {
+@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output)
+ size_t line_size;
+ ssize_t line_len;
+ 
+-fprintf (peer, "220 localhost smtp-dummy\r\n");
++fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n");
+ fflush (peer);
+ 
+ while ((line_len = getline (, _size, peer)) != -1) {
+@@ -183,9 +183,9 @@ main (int argc, char *argv[])
+   goto DONE;
+ }
+ 
+-hostinfo = gethostbyname ("localhost");
++

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-11-24 Thread Mikle Kolyada
commit: 333f05948c39e7176a3c745977cd814c1c2c6d1a
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov 24 14:02:42 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov 24 14:02:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333f0594

net-mail/notmuch: RESTRICT="!test? ( test )" force

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-mail/notmuch/notmuch-0.28.4.ebuild| 2 ++
 net-mail/notmuch/notmuch-0.29.2-r1.ebuild | 2 ++
 net-mail/notmuch/notmuch-0.29.2.ebuild| 2 ++
 3 files changed, 6 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.28.4.ebuild 
b/net-mail/notmuch/notmuch-0.28.4.ebuild
index fa6fbf55ee1..578ec430d1c 100644
--- a/net-mail/notmuch/notmuch-0.28.4.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.4.ebuild
@@ -26,6 +26,8 @@ REQUIRED_USE="
"
 IUSE="crypt doc emacs mutt nmbug python test valgrind"
 
+RESTRICT="!test? ( test )"
+
 CDEPEND="
!!=dev-libs/glib-2.22:2

diff --git a/net-mail/notmuch/notmuch-0.29.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.2-r1.ebuild
index afeb087aa58..6edb84f72d2 100644
--- a/net-mail/notmuch/notmuch-0.29.2-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.2-r1.ebuild
@@ -26,6 +26,8 @@ REQUIRED_USE="
"
 IUSE="crypt doc emacs mutt nmbug python test valgrind"
 
+RESTRICT="!test? ( test )"
+
 CDEPEND="
!!=dev-libs/glib-2.22:2

diff --git a/net-mail/notmuch/notmuch-0.29.2.ebuild 
b/net-mail/notmuch/notmuch-0.29.2.ebuild
index f96e581b17a..e845830282d 100644
--- a/net-mail/notmuch/notmuch-0.29.2.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.2.ebuild
@@ -26,6 +26,8 @@ REQUIRED_USE="
"
 IUSE="crypt doc emacs mutt nmbug python test valgrind"
 
+RESTRICT="!test? ( test )"
+
 CDEPEND="
!!=dev-libs/glib-2.22:2



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/, net-mail/notmuch/

2019-11-19 Thread Amadeusz Piotr Żołnowski
commit: 1829e6ca181daa325d442f8d5cf500c88937ed7a
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Tue Nov 19 22:15:11 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Tue Nov 19 22:15:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1829e6ca

net-mail/notmuch: Remove older micro version

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |   1 -
 ...-Use-loopback-IP-address-rather-than-name.patch |  61 --
 net-mail/notmuch/notmuch-0.29.1-r1.ebuild  | 232 -
 net-mail/notmuch/notmuch-0.29.1.ebuild | 232 -
 4 files changed, 526 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 5fccb1523e7..fdfe821babe 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,4 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
-DIST notmuch-0.29.1.tar.xz 660352 BLAKE2B 
d145aba2d1a376e8cbcff3d51f9a7093649912a54273f91cce2a56fb414e222c2bbf0aeb510894278bf7dca8a96412400d55897a4d42281ab9c110d9bc8207a6
 SHA512 
9b76a7c8c62cb67b64a0008f80a82eeecccd20267ddba67d4d96a768815466c305f154769947bb9526e02c7a1696faaf69e94b90007603b185589be0c7c2a5d8
 DIST notmuch-0.29.2.tar.xz 660520 BLAKE2B 
f87889db5fa1049b2b91a9ea8abe917e5645860a5c163c73a57197ede904aa335c0f3b37cc2a7ff2465c30e94eb25b113bebd074aa9e92c84383457600e1de82
 SHA512 
0e345c4ecca8410eedb14154bcb3c327353a0984f30b7fd6c526deefcfe17aa74ca8fb4b4d28e93decca8c8914f7d60ca2c9485750001b14d67d7d33d4721bb3

diff --git 
a/net-mail/notmuch/files/0.29.1-0001-Use-loopback-IP-address-rather-than-name.patch
 
b/net-mail/notmuch/files/0.29.1-0001-Use-loopback-IP-address-rather-than-name.patch
deleted file mode 100644
index e4722469595..000
--- 
a/net-mail/notmuch/files/0.29.1-0001-Use-loopback-IP-address-rather-than-name.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
- 
-Date: Sun, 7 Jul 2019 11:33:09 +0100
-Subject: [PATCH] Use loopback IP address rather than name
-

- test/smtp-dummy.c | 8 
- test/test-lib.sh  | 2 +-
- 2 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
-index a7c1fe4f..822a986a 100644
 a/test/smtp-dummy.c
-+++ b/test/smtp-dummy.c
-@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char 
*command)
-   fprintf (peer, "502 not implemented\r\n");
-   fflush (peer);
- } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
--  fprintf (peer, "250 localhost\r\n");
-+  fprintf (peer, "250 127.0.0.1\r\n");
-   fflush (peer);
- } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 ||
-  STRNCMP_LITERAL (command, "RCPT TO:") == 0) {
-@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output)
- size_t line_size;
- ssize_t line_len;
- 
--fprintf (peer, "220 localhost smtp-dummy\r\n");
-+fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n");
- fflush (peer);
- 
- while ((line_len = getline (, _size, peer)) != -1) {
-@@ -183,9 +183,9 @@ main (int argc, char *argv[])
-   goto DONE;
- }
- 
--hostinfo = gethostbyname ("localhost");
-+hostinfo = gethostbyname ("127.0.0.1");
- if (hostinfo == NULL) {
--  fprintf (stderr, "Unknown host: localhost\n");
-+  fprintf (stderr, "Unknown host: 127.0.0.1\n");
-   ret = 1;
-   goto DONE;
- }
-diff --git a/test/test-lib.sh b/test/test-lib.sh
-index 616cb674..dd887773 100644
 a/test/test-lib.sh
-+++ b/test/test-lib.sh
-@@ -336,7 +336,7 @@ emacs_deliver_message ()
- test_emacs \
-   "(let ((message-send-mail-function 'message-smtpmail-send-it)
-  (mail-host-address \"example.com\")
-- (smtpmail-smtp-server \"localhost\")
-+ (smtpmail-smtp-server \"127.0.0.1\")
-  (smtpmail-smtp-service \"${smtp_dummy_port}\"))
-  (notmuch-mua-mail)
-  (message-goto-to)
--- 
-2.19.2
-

diff --git a/net-mail/notmuch/notmuch-0.29.1-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
deleted file mode 100644
index f96e581b17a..000
--- a/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
+++ /dev/null
@@ -1,232 +0,0 @@
-# Copyright 1999-2019 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/, net-mail/notmuch/files/

2019-11-19 Thread Amadeusz Piotr Żołnowski
commit: e82526f2930f637f23c19bc22aedb11fe9ba
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Tue Nov 19 22:12:01 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Tue Nov 19 22:12:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82526f2

net-mail/notmuch: Fix notmuch-dump sigabrt

Thanks to Ralph Seichter for providing the patch.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 ...dump.c-Fix-output-file-being-closed-twice.patch |  20 ++
 net-mail/notmuch/notmuch-0.29.2-r1.ebuild  | 233 +
 2 files changed, 253 insertions(+)

diff --git 
a/net-mail/notmuch/files/0.29.2-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
 
b/net-mail/notmuch/files/0.29.2-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
new file mode 100644
index 000..cafef61ce75
--- /dev/null
+++ 
b/net-mail/notmuch/files/0.29.2-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
@@ -0,0 +1,20 @@
+--- a/notmuch-dump.c   2019-07-24 17:11:02.899384482 +0200
 b/notmuch-dump.c   2019-07-24 17:12:08.100487117 +0200
+@@ -329,13 +329,15 @@
+   }
+ }
+ 
+-if (gzclose_w (output) != Z_OK) {
++ret = gzclose_w (output);
++if (ret) {
+   fprintf (stderr, "Error closing %s: %s\n", name_for_error,
+gzerror (output, NULL));
+   ret = EXIT_FAILURE;
+   output = NULL;
+   goto DONE;
+-}
++} else
++output = NULL;
+ 
+ if (output_file_name) {
+   ret = rename (tempname, output_file_name);

diff --git a/net-mail/notmuch/notmuch-0.29.2-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.2-r1.ebuild
new file mode 100644
index 000..afeb087aa58
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.29.2-r1.ebuild
@@ -0,0 +1,233 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+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="https://notmuchmail.org/;
+SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.xz
+   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/5"
+KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+   "
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+
+CDEPEND="
+   !!=dev-libs/glib-2.22:2
+   >=dev-libs/gmime-3.0.3:3.0
+   >=dev-libs/xapian-1.4.8:=
+   dev-python/sphinx
+   sys-apps/texinfo
+   >=sys-libs/zlib-1.2.5.2
+   sys-libs/talloc
+   crypt? ( dev-libs/gmime:3.0[crypt] )
+   emacs? ( >=virtual/emacs-23 )
+   python? ( ${PYTHON_DEPS} )
+   "
+DEPEND="${CDEPEND}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+   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"
+PATCHES=(
+   "${FILESDIR}"/${PV}-0001-Use-loopback-IP-address-rather-than-name.patch
+   
"${FILESDIR}"/${PV}-0001-notmuch-dump.c-Fix-output-file-being-closed-twice.patch
+)
+
+bindings() {
+   local ret=0
+
+   if use $1; then
+   pushd bindings/$1 || die
+   shift
+   "$@"
+   ret=$?
+   popd || die
+   fi
+
+   return $ret
+}
+
+pkg_pretend() {
+   if has_version '=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.xz
+   if use test; then
+   mkdir -p 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/files/

2019-10-28 Thread Amadeusz Piotr Żołnowski
commit: 98647e26432c86554baf653ecf58a129fdf0b9ce
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Mon Oct 28 22:03:25 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Mon Oct 28 22:04:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98647e26

net-mail/notmuch: Add missing patch for 0.29.2

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 ...-Use-loopback-IP-address-rather-than-name.patch | 61 ++
 1 file changed, 61 insertions(+)

diff --git 
a/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch
 
b/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch
new file mode 100644
index 000..e4722469595
--- /dev/null
+++ 
b/net-mail/notmuch/files/0.29.2-0001-Use-loopback-IP-address-rather-than-name.patch
@@ -0,0 +1,61 @@
+From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
+ 
+Date: Sun, 7 Jul 2019 11:33:09 +0100
+Subject: [PATCH] Use loopback IP address rather than name
+
+---
+ test/smtp-dummy.c | 8 
+ test/test-lib.sh  | 2 +-
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
+index a7c1fe4f..822a986a 100644
+--- a/test/smtp-dummy.c
 b/test/smtp-dummy.c
+@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char 
*command)
+   fprintf (peer, "502 not implemented\r\n");
+   fflush (peer);
+ } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
+-  fprintf (peer, "250 localhost\r\n");
++  fprintf (peer, "250 127.0.0.1\r\n");
+   fflush (peer);
+ } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 ||
+  STRNCMP_LITERAL (command, "RCPT TO:") == 0) {
+@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output)
+ size_t line_size;
+ ssize_t line_len;
+ 
+-fprintf (peer, "220 localhost smtp-dummy\r\n");
++fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n");
+ fflush (peer);
+ 
+ while ((line_len = getline (, _size, peer)) != -1) {
+@@ -183,9 +183,9 @@ main (int argc, char *argv[])
+   goto DONE;
+ }
+ 
+-hostinfo = gethostbyname ("localhost");
++hostinfo = gethostbyname ("127.0.0.1");
+ if (hostinfo == NULL) {
+-  fprintf (stderr, "Unknown host: localhost\n");
++  fprintf (stderr, "Unknown host: 127.0.0.1\n");
+   ret = 1;
+   goto DONE;
+ }
+diff --git a/test/test-lib.sh b/test/test-lib.sh
+index 616cb674..dd887773 100644
+--- a/test/test-lib.sh
 b/test/test-lib.sh
+@@ -336,7 +336,7 @@ emacs_deliver_message ()
+ test_emacs \
+   "(let ((message-send-mail-function 'message-smtpmail-send-it)
+  (mail-host-address \"example.com\")
+- (smtpmail-smtp-server \"localhost\")
++ (smtpmail-smtp-server \"127.0.0.1\")
+  (smtpmail-smtp-service \"${smtp_dummy_port}\"))
+  (notmuch-mua-mail)
+  (message-goto-to)
+-- 
+2.19.2
+



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-10-27 Thread Amadeusz Piotr Żołnowski
commit: 073f70bdf380eacce235a413fe75127033915578
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Sun Oct 27 19:11:46 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Sun Oct 27 19:12:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073f70bd

net-mail/notmuch: Bump version

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.29.2.ebuild | 232 +
 2 files changed, 233 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 88efb8a8c36..5fccb1523e7 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,3 +1,4 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
 DIST notmuch-0.29.1.tar.xz 660352 BLAKE2B 
d145aba2d1a376e8cbcff3d51f9a7093649912a54273f91cce2a56fb414e222c2bbf0aeb510894278bf7dca8a96412400d55897a4d42281ab9c110d9bc8207a6
 SHA512 
9b76a7c8c62cb67b64a0008f80a82eeecccd20267ddba67d4d96a768815466c305f154769947bb9526e02c7a1696faaf69e94b90007603b185589be0c7c2a5d8
+DIST notmuch-0.29.2.tar.xz 660520 BLAKE2B 
f87889db5fa1049b2b91a9ea8abe917e5645860a5c163c73a57197ede904aa335c0f3b37cc2a7ff2465c30e94eb25b113bebd074aa9e92c84383457600e1de82
 SHA512 
0e345c4ecca8410eedb14154bcb3c327353a0984f30b7fd6c526deefcfe17aa74ca8fb4b4d28e93decca8c8914f7d60ca2c9485750001b14d67d7d33d4721bb3

diff --git a/net-mail/notmuch/notmuch-0.29.2.ebuild 
b/net-mail/notmuch/notmuch-0.29.2.ebuild
new file mode 100644
index 000..f96e581b17a
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.29.2.ebuild
@@ -0,0 +1,232 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+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="https://notmuchmail.org/;
+SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.xz
+   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/5"
+KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+   "
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+
+CDEPEND="
+   !!=dev-libs/glib-2.22:2
+   >=dev-libs/gmime-3.0.3:3.0
+   >=dev-libs/xapian-1.4.8:=
+   dev-python/sphinx
+   sys-apps/texinfo
+   >=sys-libs/zlib-1.2.5.2
+   sys-libs/talloc
+   crypt? ( dev-libs/gmime:3.0[crypt] )
+   emacs? ( >=virtual/emacs-23 )
+   python? ( ${PYTHON_DEPS} )
+   "
+DEPEND="${CDEPEND}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+   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"
+PATCHES=(
+   "${FILESDIR}"/${PV}-0001-Use-loopback-IP-address-rather-than-name.patch
+)
+
+bindings() {
+   local ret=0
+
+   if use $1; then
+   pushd bindings/$1 || die
+   shift
+   "$@"
+   ret=$?
+   popd || die
+   fi
+
+   return $ret
+}
+
+pkg_pretend() {
+   if has_version '=notmuch-0.18.  See NEWS file"
+   ewarn "(0.18 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-09-19 Thread Fabian Groffen
commit: 4179ca5f4cc167dc98e71db943584b2f307d7e90
Author: Fabian Groffen  gentoo  org>
AuthorDate: Thu Sep 19 07:21:18 2019 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Thu Sep 19 07:21:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4179ca5f

net-mail/notmuch: drop gpgme hack, it's a dep problem

Bug: https://bugs.gentoo.org/692098
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Fabian Groffen  gentoo.org>

 net-mail/notmuch/notmuch-0.29.1-r1.ebuild | 5 -
 net-mail/notmuch/notmuch-0.29.1.ebuild| 5 -
 2 files changed, 10 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.29.1-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
index 0124be3ef9a..f96e581b17a 100644
--- a/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
@@ -133,11 +133,6 @@ src_prepare() {
 
if [[ ${CHOST} == *-solaris* ]] ; then
append-ldflags -lnsl -lsocket   # non-autoconf configure
-   # disable gpgme test using too old gpg-key
-   sed -i \
-   -e '/GNUPGHOME=/d' \
-   -e '/SESSION_KEY =/c|| false ;' \
-   configure || die
fi
 }
 

diff --git a/net-mail/notmuch/notmuch-0.29.1.ebuild 
b/net-mail/notmuch/notmuch-0.29.1.ebuild
index 4984cf17d69..951f0faad9e 100644
--- a/net-mail/notmuch/notmuch-0.29.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.1.ebuild
@@ -133,11 +133,6 @@ src_prepare() {
 
if [[ ${CHOST} == *-solaris* ]] ; then
append-ldflags -lnsl -lsocket   # non-autoconf configure
-   # disable gpgme test using too old gpg-key
-   sed -i \
-   -e '/GNUPGHOME=/d' \
-   -e '/SESSION_KEY =/c|| false ;' \
-   configure || die
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-08-31 Thread Amadeusz Piotr Żołnowski
commit: 84d5212b8d6c871de600388f92903ea5b0a5abc1
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Sat Aug 31 21:53:32 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Sat Aug 31 21:54:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d5212b

net-mail/notmuch: Don't require sphinx to have specific python target

Sphinx is used as a tool, not a library. We do not care about its
PYTHON_TARGETS.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/notmuch-0.29.1-r1.ebuild | 237 ++
 1 file changed, 237 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.29.1-r1.ebuild 
b/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
new file mode 100644
index 000..0124be3ef9a
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.29.1-r1.ebuild
@@ -0,0 +1,237 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+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="https://notmuchmail.org/;
+SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.xz
+   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/5"
+KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+   "
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+
+CDEPEND="
+   !!=dev-libs/glib-2.22:2
+   >=dev-libs/gmime-3.0.3:3.0
+   >=dev-libs/xapian-1.4.8:=
+   dev-python/sphinx
+   sys-apps/texinfo
+   >=sys-libs/zlib-1.2.5.2
+   sys-libs/talloc
+   crypt? ( dev-libs/gmime:3.0[crypt] )
+   emacs? ( >=virtual/emacs-23 )
+   python? ( ${PYTHON_DEPS} )
+   "
+DEPEND="${CDEPEND}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+   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"
+PATCHES=(
+   "${FILESDIR}"/${PV}-0001-Use-loopback-IP-address-rather-than-name.patch
+)
+
+bindings() {
+   local ret=0
+
+   if use $1; then
+   pushd bindings/$1 || die
+   shift
+   "$@"
+   ret=$?
+   popd || die
+   fi
+
+   return $ret
+}
+
+pkg_pretend() {
+   if has_version '=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.xz
+   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
+
+   # assure that new Makefile.config will be generated
+   rm -f Makefile.config || die
+
+   sed -e 's@^install: all install-man install-info$@install: all 
install-info@' -i Makefile.local
+
+   if use test; then
+   append-cflags -g
+   append-cxxflags -g
+   fi
+
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   append-ldflags -lnsl -lsocket   # non-autoconf configure
+   # disable gpgme test using too old gpg-key
+   sed -i \
+   -e '/GNUPGHOME=/d' \
+   -e '/SESSION_KEY =/c|| false ;' \
+   configure || die
+   fi
+}
+
+src_configure() {

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-08-31 Thread Fabian Groffen
commit: c254be0749ca0792ec1c68417bd59ff8f725878a
Author: Fabian Groffen  gentoo  org>
AuthorDate: Sat Aug 31 13:12:31 2019 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Sat Aug 31 13:12:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c254be07

net-mail/notmuch: correct gpgme detection on Solaris

Bug: https://bugs.gentoo.org/692098
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Fabian Groffen  gentoo.org>

 net-mail/notmuch/notmuch-0.29.1.ebuild | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.29.1.ebuild 
b/net-mail/notmuch/notmuch-0.29.1.ebuild
index ffa74708369..4984cf17d69 100644
--- a/net-mail/notmuch/notmuch-0.29.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.29.1.ebuild
@@ -131,7 +131,14 @@ src_prepare() {
append-cxxflags -g
fi
 
-   [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
+   if [[ ${CHOST} == *-solaris* ]] ; then
+   append-ldflags -lnsl -lsocket   # non-autoconf configure
+   # disable gpgme test using too old gpg-key
+   sed -i \
+   -e '/GNUPGHOME=/d' \
+   -e '/SESSION_KEY =/c|| false ;' \
+   configure || die
+   fi
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-07-17 Thread Amadeusz Piotr Żołnowski
commit: b385144f462b05745a380bc5ca9304b6e06a55e1
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Wed Jul 17 22:05:05 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Wed Jul 17 22:05:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b385144f

net-mail/notmuch: Remove older stable versions

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |   2 -
 net-mail/notmuch/notmuch-0.23.7.ebuild | 200 
 net-mail/notmuch/notmuch-0.24.2.ebuild | 206 -
 3 files changed, 408 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 2b02ae8e539..88efb8a8c36 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,5 +1,3 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
-DIST notmuch-0.23.7.tar.gz 692230 BLAKE2B 
79e81bde02546589c867d636fd30453beeecfb2a1e16cd512613de96f60674605765d53b52b8ab7479413b38d5db50d684a182139c62888c9dd0551f6eff8dea
 SHA512 
e71da3bd6ce1b344aae79b277b695a4668d4fe1b8838618d6970a0b27df9867bac66a3240473ef31fc30ed8af2b0a558203ed5ffb34da873c991b1ecc6c08522
-DIST notmuch-0.24.2.tar.gz 709272 BLAKE2B 
25ef9db21a9fb009db89e472e06d871e92efc5223ef3edd91716db2a7edb5b8d39df000f540aa30762fe64e05fff221158040b2869fb618c89f9fa36cbe1757f
 SHA512 
fcdc4ad5a65c57dd3077d93aeb384378f8dee105362fa8c2755daf14bbeb5376f8d1580fd79c8bd8e8d2d88cd44846ca9972b2f942133a447eb99d08ef9056dc
 DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
 DIST notmuch-0.29.1.tar.xz 660352 BLAKE2B 
d145aba2d1a376e8cbcff3d51f9a7093649912a54273f91cce2a56fb414e222c2bbf0aeb510894278bf7dca8a96412400d55897a4d42281ab9c110d9bc8207a6
 SHA512 
9b76a7c8c62cb67b64a0008f80a82eeecccd20267ddba67d4d96a768815466c305f154769947bb9526e02c7a1696faaf69e94b90007603b185589be0c7c2a5d8

diff --git a/net-mail/notmuch/notmuch-0.23.7.ebuild 
b/net-mail/notmuch/notmuch-0.23.7.ebuild
deleted file mode 100644
index a6bf7055ece..000
--- a/net-mail/notmuch/notmuch-0.23.7.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python2_7 )
-
-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="https://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="
-   !!=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 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-07-17 Thread Agostino Sarubbo
commit: f4e93d77cec2cc57d17a98aea8e7b0554bf72ae9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jul 17 15:24:17 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jul 17 15:24:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4e93d77

net-mail/notmuch: x86 stable wrt bug #689520

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="x86"

 net-mail/notmuch/notmuch-0.28.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.28.4.ebuild 
b/net-mail/notmuch/notmuch-0.28.4.ebuild
index 94ee48c3ce0..fa6fbf55ee1 100644
--- a/net-mail/notmuch/notmuch-0.28.4.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.4.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha amd64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-07-10 Thread Agostino Sarubbo
commit: 7a557231590ee3397253ff6bc4cc88c8c4dd0d6f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jul 10 11:46:33 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jul 10 11:46:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a557231

net-mail/notmuch: amd64 stable wrt bug #689520

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-mail/notmuch/notmuch-0.28.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/notmuch/notmuch-0.28.4.ebuild 
b/net-mail/notmuch/notmuch-0.28.4.ebuild
index 95e5689f032..94ee48c3ce0 100644
--- a/net-mail/notmuch/notmuch-0.28.4.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.4.ebuild
@@ -18,7 +18,7 @@ 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/5"
-KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+KEYWORDS="~alpha amd64 ~x86 ~x64-solaris"
 REQUIRED_USE="
nmbug? ( python )
python? ( ${PYTHON_REQUIRED_USE} )



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-07-08 Thread Amadeusz Piotr Żołnowski
commit: ad29d5a7889c2d6312b3aba7ad25a2eb90c27b6f
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Mon Jul  8 21:36:02 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Mon Jul  8 21:36:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad29d5a7

net-mail/notmuch: Remove old testing versions

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>
Gentoo-Bug: https://bugs.gentoo.org/670854

 net-mail/notmuch/Manifest  |   5 -
 net-mail/notmuch/notmuch-0.25.3.ebuild | 208 -
 net-mail/notmuch/notmuch-0.26.1.ebuild | 208 -
 net-mail/notmuch/notmuch-0.26.2.ebuild | 208 -
 net-mail/notmuch/notmuch-0.27.ebuild   | 215 --
 net-mail/notmuch/notmuch-0.28.3.ebuild | 231 -
 6 files changed, 1075 deletions(-)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 32f46df03f9..2b02ae8e539 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -1,10 +1,5 @@
 DIST database-v1.tar.xz 204876 BLAKE2B 
846a8d2f17edb61ed1c3d3c655becd1f60b4046772058706f13d516f65421a5105593660f1c556907bb2bb9607a3c2521243d1be07bffb70817ad3b8461680ca
 SHA512 
e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0
 DIST notmuch-0.23.7.tar.gz 692230 BLAKE2B 
79e81bde02546589c867d636fd30453beeecfb2a1e16cd512613de96f60674605765d53b52b8ab7479413b38d5db50d684a182139c62888c9dd0551f6eff8dea
 SHA512 
e71da3bd6ce1b344aae79b277b695a4668d4fe1b8838618d6970a0b27df9867bac66a3240473ef31fc30ed8af2b0a558203ed5ffb34da873c991b1ecc6c08522
 DIST notmuch-0.24.2.tar.gz 709272 BLAKE2B 
25ef9db21a9fb009db89e472e06d871e92efc5223ef3edd91716db2a7edb5b8d39df000f540aa30762fe64e05fff221158040b2869fb618c89f9fa36cbe1757f
 SHA512 
fcdc4ad5a65c57dd3077d93aeb384378f8dee105362fa8c2755daf14bbeb5376f8d1580fd79c8bd8e8d2d88cd44846ca9972b2f942133a447eb99d08ef9056dc
-DIST notmuch-0.25.3.tar.gz 883151 BLAKE2B 
511f93c310e8b82f1b629735cbe626ab1ba8eabf23245ba4aa4c936d4c5d868d9e6d5b0d626f16ce6087245a293cf1acd8bb2e2dd0639729af4b92d558c78051
 SHA512 
1c0fcfdeb7a7eddcd10a8175676679ef6985407732d5bcc15edd327d9985017696cef3287c0398c628a604ae3fbab5d222d71537e37265cf6a594b4914e4599a
-DIST notmuch-0.26.1.tar.gz 906523 BLAKE2B 
da0b06361d586d84bea5c6e28adf7850dcb119e9f70ae67e06ff1438b9d20f4b04707d3e6ee6e755d569d15b8a720506b4c242c0c84258e8f5c8996caa62fc47
 SHA512 
f0d95a0f03535495037c73ab18d1251ece505284736efa5a535fe9bc8aea33954b5c87e5dcdfd30670c8df53178294be520a63e5b19beac7d90f166e616d19dd
-DIST notmuch-0.26.2.tar.gz 907187 BLAKE2B 
81212555d729bd05be2edfb0f3dfd604de9d5f3e99e79ebd24a195441bd3778c7c72abe0b6b569dc1cf2ad9d94af1cbe3ca3aff77f521888b7be2eb08444dde1
 SHA512 
ebd8460c5f08cb8c79dabc1bc1bc32e1f2e1f123d304bb20205d4dedb982186336fd43d0e39acf020ea2563278bee0a063ceb3bf276f1251c099d8fcdd5098e7
-DIST notmuch-0.27.tar.gz 912583 BLAKE2B 
75bb13e9666bd2898f58e5ecdd6a180d0da21188665f107857e6729f057525bb7c94832d140de8ff7b3fd31b51e33bcbe5b59d3fc09ba9a854c1c05499df762e
 SHA512 
7c58c6fe5c3b43a979c3a439a24106417120726fd688b456d9084388ddd7c88ab1b6d99cd4676101f085d60bb37099631caa286b76588fcb041bb004ff325515
-DIST notmuch-0.28.3.tar.gz 921920 BLAKE2B 
9b96a0cac8188bcaf9efab532721449c655fec4dac77c3eb327e576184cb430aa0fffc9ac74af82ad3ad80097afdda5c8accddbee7e5720d180c071d9dd2ef85
 SHA512 
dd3931b78cc27540e962f1fca5f4ebb1c04b2637a5761cda023f307fd9be4b5ddc2af26010330868c55200fa96b60b2a11b3b22d4c20d2a4a2d3787421ed85cf
 DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
 DIST notmuch-0.29.1.tar.xz 660352 BLAKE2B 
d145aba2d1a376e8cbcff3d51f9a7093649912a54273f91cce2a56fb414e222c2bbf0aeb510894278bf7dca8a96412400d55897a4d42281ab9c110d9bc8207a6
 SHA512 
9b76a7c8c62cb67b64a0008f80a82eeecccd20267ddba67d4d96a768815466c305f154769947bb9526e02c7a1696faaf69e94b90007603b185589be0c7c2a5d8

diff --git a/net-mail/notmuch/notmuch-0.25.3.ebuild 
b/net-mail/notmuch/notmuch-0.25.3.ebuild
deleted file mode 100644
index 96cc26fe756..000
--- a/net-mail/notmuch/notmuch-0.25.3.ebuild
+++ /dev/null
@@ -1,208 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DISTUTILS_OPTIONAL=1
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-
-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="https://notmuchmail.org/;
-SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz
-   test? ( 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/, net-mail/notmuch/files/

2019-07-07 Thread Amadeusz Piotr Żołnowski
commit: 46c74f6fc381875d10371ee0f7b262bb141b68ca
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Sun Jul  7 10:36:42 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Sun Jul  7 10:40:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c74f6f

net-mail/notmuch: Bump version

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 ...-Use-loopback-IP-address-rather-than-name.patch |  61 ++
 net-mail/notmuch/notmuch-0.29.1.ebuild | 230 +
 3 files changed, 292 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 353a9c085dc..32f46df03f9 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -7,3 +7,4 @@ DIST notmuch-0.26.2.tar.gz 907187 BLAKE2B 
81212555d729bd05be2edfb0f3dfd604de9d5f
 DIST notmuch-0.27.tar.gz 912583 BLAKE2B 
75bb13e9666bd2898f58e5ecdd6a180d0da21188665f107857e6729f057525bb7c94832d140de8ff7b3fd31b51e33bcbe5b59d3fc09ba9a854c1c05499df762e
 SHA512 
7c58c6fe5c3b43a979c3a439a24106417120726fd688b456d9084388ddd7c88ab1b6d99cd4676101f085d60bb37099631caa286b76588fcb041bb004ff325515
 DIST notmuch-0.28.3.tar.gz 921920 BLAKE2B 
9b96a0cac8188bcaf9efab532721449c655fec4dac77c3eb327e576184cb430aa0fffc9ac74af82ad3ad80097afdda5c8accddbee7e5720d180c071d9dd2ef85
 SHA512 
dd3931b78cc27540e962f1fca5f4ebb1c04b2637a5761cda023f307fd9be4b5ddc2af26010330868c55200fa96b60b2a11b3b22d4c20d2a4a2d3787421ed85cf
 DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7
+DIST notmuch-0.29.1.tar.xz 660352 BLAKE2B 
d145aba2d1a376e8cbcff3d51f9a7093649912a54273f91cce2a56fb414e222c2bbf0aeb510894278bf7dca8a96412400d55897a4d42281ab9c110d9bc8207a6
 SHA512 
9b76a7c8c62cb67b64a0008f80a82eeecccd20267ddba67d4d96a768815466c305f154769947bb9526e02c7a1696faaf69e94b90007603b185589be0c7c2a5d8

diff --git 
a/net-mail/notmuch/files/0.29.1-0001-Use-loopback-IP-address-rather-than-name.patch
 
b/net-mail/notmuch/files/0.29.1-0001-Use-loopback-IP-address-rather-than-name.patch
new file mode 100644
index 000..e4722469595
--- /dev/null
+++ 
b/net-mail/notmuch/files/0.29.1-0001-Use-loopback-IP-address-rather-than-name.patch
@@ -0,0 +1,61 @@
+From 59b5bfb6e2095c62925b31e087571506edae7956 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
+ 
+Date: Sun, 7 Jul 2019 11:33:09 +0100
+Subject: [PATCH] Use loopback IP address rather than name
+
+---
+ test/smtp-dummy.c | 8 
+ test/test-lib.sh  | 2 +-
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/test/smtp-dummy.c b/test/smtp-dummy.c
+index a7c1fe4f..822a986a 100644
+--- a/test/smtp-dummy.c
 b/test/smtp-dummy.c
+@@ -76,7 +76,7 @@ process_command (FILE *peer, FILE *output, const char 
*command)
+   fprintf (peer, "502 not implemented\r\n");
+   fflush (peer);
+ } else if (STRNCMP_LITERAL (command, "HELO ") == 0) {
+-  fprintf (peer, "250 localhost\r\n");
++  fprintf (peer, "250 127.0.0.1\r\n");
+   fflush (peer);
+ } else if (STRNCMP_LITERAL (command, "MAIL FROM:") == 0 ||
+  STRNCMP_LITERAL (command, "RCPT TO:") == 0) {
+@@ -105,7 +105,7 @@ do_smtp_to_file (FILE *peer, FILE *output)
+ size_t line_size;
+ ssize_t line_len;
+ 
+-fprintf (peer, "220 localhost smtp-dummy\r\n");
++fprintf (peer, "220 127.0.0.1 smtp-dummy\r\n");
+ fflush (peer);
+ 
+ while ((line_len = getline (, _size, peer)) != -1) {
+@@ -183,9 +183,9 @@ main (int argc, char *argv[])
+   goto DONE;
+ }
+ 
+-hostinfo = gethostbyname ("localhost");
++hostinfo = gethostbyname ("127.0.0.1");
+ if (hostinfo == NULL) {
+-  fprintf (stderr, "Unknown host: localhost\n");
++  fprintf (stderr, "Unknown host: 127.0.0.1\n");
+   ret = 1;
+   goto DONE;
+ }
+diff --git a/test/test-lib.sh b/test/test-lib.sh
+index 616cb674..dd887773 100644
+--- a/test/test-lib.sh
 b/test/test-lib.sh
+@@ -336,7 +336,7 @@ emacs_deliver_message ()
+ test_emacs \
+   "(let ((message-send-mail-function 'message-smtpmail-send-it)
+  (mail-host-address \"example.com\")
+- (smtpmail-smtp-server \"localhost\")
++ (smtpmail-smtp-server \"127.0.0.1\")
+  (smtpmail-smtp-service \"${smtp_dummy_port}\"))
+  (notmuch-mua-mail)
+  (message-goto-to)
+-- 
+2.19.2
+

diff --git a/net-mail/notmuch/notmuch-0.29.1.ebuild 
b/net-mail/notmuch/notmuch-0.29.1.ebuild
new file mode 100644
index 000..ffa74708369
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.29.1.ebuild
@@ -0,0 +1,230 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed 

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-05-12 Thread Amadeusz Piotr Żołnowski
commit: a1014c9da67e10cd5838516087185511afb596e3
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Sun May 12 20:45:07 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Sun May 12 20:46:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1014c9d

net-mail/notmuch: Bump version

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/Manifest  |   1 +
 net-mail/notmuch/notmuch-0.28.4.ebuild | 231 +
 2 files changed, 232 insertions(+)

diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
index 598baf92cf0..353a9c085dc 100644
--- a/net-mail/notmuch/Manifest
+++ b/net-mail/notmuch/Manifest
@@ -6,3 +6,4 @@ DIST notmuch-0.26.1.tar.gz 906523 BLAKE2B 
da0b06361d586d84bea5c6e28adf7850dcb119
 DIST notmuch-0.26.2.tar.gz 907187 BLAKE2B 
81212555d729bd05be2edfb0f3dfd604de9d5f3e99e79ebd24a195441bd3778c7c72abe0b6b569dc1cf2ad9d94af1cbe3ca3aff77f521888b7be2eb08444dde1
 SHA512 
ebd8460c5f08cb8c79dabc1bc1bc32e1f2e1f123d304bb20205d4dedb982186336fd43d0e39acf020ea2563278bee0a063ceb3bf276f1251c099d8fcdd5098e7
 DIST notmuch-0.27.tar.gz 912583 BLAKE2B 
75bb13e9666bd2898f58e5ecdd6a180d0da21188665f107857e6729f057525bb7c94832d140de8ff7b3fd31b51e33bcbe5b59d3fc09ba9a854c1c05499df762e
 SHA512 
7c58c6fe5c3b43a979c3a439a24106417120726fd688b456d9084388ddd7c88ab1b6d99cd4676101f085d60bb37099631caa286b76588fcb041bb004ff325515
 DIST notmuch-0.28.3.tar.gz 921920 BLAKE2B 
9b96a0cac8188bcaf9efab532721449c655fec4dac77c3eb327e576184cb430aa0fffc9ac74af82ad3ad80097afdda5c8accddbee7e5720d180c071d9dd2ef85
 SHA512 
dd3931b78cc27540e962f1fca5f4ebb1c04b2637a5761cda023f307fd9be4b5ddc2af26010330868c55200fa96b60b2a11b3b22d4c20d2a4a2d3787421ed85cf
+DIST notmuch-0.28.4.tar.gz 922364 BLAKE2B 
f22d52ecc982b086b5d2a67d3b9ae4a379bdcb9e9acf3e77060fd7d97439347e3b4cd767f2c9c3c48657b80f63316f6abc09a653d6791e27b4a8996adccf42a9
 SHA512 
77d7ad81e1f7dc93ae6392346da434f6dc74c21d19be728c2a6ca283c429f36e7081387d223af58eb5f63f5d2a8ad8367f0103f0bb9d052890c07fe419abbee7

diff --git a/net-mail/notmuch/notmuch-0.28.4.ebuild 
b/net-mail/notmuch/notmuch-0.28.4.ebuild
new file mode 100644
index 000..95e5689f032
--- /dev/null
+++ b/net-mail/notmuch/notmuch-0.28.4.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DISTUTILS_OPTIONAL=1
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+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="https://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/5"
+KEYWORDS="~alpha ~amd64 ~x86 ~x64-solaris"
+REQUIRED_USE="
+   nmbug? ( python )
+   python? ( ${PYTHON_REQUIRED_USE} )
+   test? ( crypt emacs python valgrind )
+   "
+IUSE="crypt doc emacs mutt nmbug python test valgrind"
+
+CDEPEND="
+   !!=dev-libs/glib-2.22:2
+   >=dev-libs/gmime-3.0.3:3.0
+   >=dev-libs/xapian-1.4.8:=
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   sys-apps/texinfo
+   >=sys-libs/zlib-1.2.5.2
+   sys-libs/talloc
+   crypt? ( dev-libs/gmime:3.0[crypt] )
+   emacs? ( >=virtual/emacs-23 )
+   python? ( ${PYTHON_DEPS} )
+   "
+DEPEND="${CDEPEND}
+   virtual/pkgconfig
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+   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"
+PATCHES=(
+   "${FILESDIR}"/0001-Use-loopback-IP-address-rather-than-name.patch
+   "${FILESDIR}"/0002-Fix-jobserver-unavailable-warning.patch
+)
+
+bindings() {
+   local ret=0
+
+   if use $1; then
+   pushd bindings/$1 || die
+   shift
+   "$@"
+   ret=$?
+

[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-04-11 Thread Amadeusz Piotr Żołnowski
commit: 9652dac95bc06aa348abdde630c2026782fde984
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Thu Apr 11 22:12:18 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Thu Apr 11 22:14:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9652dac9

net-mail/notmuch: Setup python for Sphinx (to build docs)

Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 net-mail/notmuch/notmuch-0.28.3.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-mail/notmuch/notmuch-0.28.3.ebuild 
b/net-mail/notmuch/notmuch-0.28.3.ebuild
index 9a03251ba48..3ed0b7768a8 100644
--- a/net-mail/notmuch/notmuch-0.28.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.3.ebuild
@@ -136,6 +136,8 @@ src_prepare() {
 }
 
 src_configure() {
+   python_setup  # for sphinx
+
local myeconfargs=(
--bashcompletiondir="$(get_bashcompdir)"
--emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
@@ -151,6 +153,8 @@ src_configure() {
 }
 
 src_compile() {
+   python_setup  # for sphinx
+
V=1 default
bindings python distutils-r1_src_compile
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/

2019-04-01 Thread Robin H. Johnson
commit: 1ded2ac69bd0fcf0edca8a4ee073e6a41dc9bbe4
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Tue Apr  2 05:48:56 2019 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Tue Apr  2 05:50:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ded2ac6

net-mail/notmuch: manpages need USE=doc & mock

Manpages are not built without USE=doc, which needs unittest.mock.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Robin H. Johnson  gentoo.org>

 net-mail/notmuch/notmuch-0.28.3.ebuild | 33 -
 1 file changed, 24 insertions(+), 9 deletions(-)

diff --git a/net-mail/notmuch/notmuch-0.28.3.ebuild 
b/net-mail/notmuch/notmuch-0.28.3.ebuild
index 445fa176ab4..9a03251ba48 100644
--- a/net-mail/notmuch/notmuch-0.28.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.3.ebuild
@@ -41,19 +41,32 @@ CDEPEND="
"
 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 ) )
+   doc? (
+   app-doc/doxygen
+   dev-python/mock[${PYTHON_USEDEP}]
+   )
+   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 )
+   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 )
@@ -169,7 +182,9 @@ src_test() {
 src_install() {
default
 
-   doman doc/_build/man/man?/*.?
+   if use doc; then
+   doman doc/_build/man/man?/*.?
+   fi
 
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die



[gentoo-commits] repo/gentoo:master commit in: net-mail/notmuch/, net-mail/notmuch/files/

2019-03-09 Thread Amadeusz Piotr Żołnowski
commit: af03e8338745901f4c302cdbefd666a0c2b54c2f
Author: Amadeusz Piotr Żołnowski  gentoo  org>
AuthorDate: Sat Mar  9 22:50:50 2019 +
Commit: Amadeusz Piotr Żołnowski  gentoo  org>
CommitDate: Sat Mar  9 22:53:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af03e833

net-mail/notmuch: Fix QA warnings

Fix compressed man pages warning and "jobserver unavailable" warning.

Bug: https://bugs.gentoo.org/670854
Signed-off-by: Amadeusz Piotr Żołnowski  gentoo.org>

 .../0002-Fix-jobserver-unavailable-warning.patch   | 26 ++
 net-mail/notmuch/notmuch-0.28.3.ebuild | 16 +++--
 2 files changed, 35 insertions(+), 7 deletions(-)

diff --git 
a/net-mail/notmuch/files/0002-Fix-jobserver-unavailable-warning.patch 
b/net-mail/notmuch/files/0002-Fix-jobserver-unavailable-warning.patch
new file mode 100644
index 000..85ca4b6d4a5
--- /dev/null
+++ b/net-mail/notmuch/files/0002-Fix-jobserver-unavailable-warning.patch
@@ -0,0 +1,26 @@
+From b5e15feee139096720272d2b435ce7c4114fda15 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Amadeusz=20Piotr=20=C5=BBo=C5=82nowski?=
+ 
+Date: Sat, 9 Mar 2019 22:42:21 +
+Subject: [PATCH 2/2] Fix "jobserver unavailable" warning
+
+---
+ doc/Makefile.local | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/doc/Makefile.local b/doc/Makefile.local
+index bab3d0d2..dfe62295 100644
+--- a/doc/Makefile.local
 b/doc/Makefile.local
+@@ -56,7 +56,7 @@ sphinx-texinfo:
+   $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(DOCBUILDDIR)/texinfo
+ 
+ sphinx-info: sphinx-texinfo
+-  make -C $(DOCBUILDDIR)/texinfo info
++  $(MAKE) -C $(DOCBUILDDIR)/texinfo info
+ 
+ # Use the man page converter that is available. We should never depend
+ # on MAN_ROFF_FILES if a converter is not available.
+-- 
+2.19.2
+

diff --git a/net-mail/notmuch/notmuch-0.28.3.ebuild 
b/net-mail/notmuch/notmuch-0.28.3.ebuild
index cfb18c05180..445fa176ab4 100644
--- a/net-mail/notmuch/notmuch-0.28.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.3.ebuild
@@ -30,7 +30,7 @@ CDEPEND="
!!=dev-libs/glib-2.22:2
>=dev-libs/gmime-3.0.3:3.0
-   >=dev-libs/xapian-1.4.9:=
+   >=dev-libs/xapian-1.4.8:=
dev-python/sphinx[${PYTHON_USEDEP}]
sys-apps/texinfo
>=sys-libs/zlib-1.2.5.2
@@ -59,7 +59,10 @@ RDEPEND="${CDEPEND}
 DOCS=( AUTHORS NEWS README )
 SITEFILE="50${PN}-gentoo.el"
 MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
-PATCHES=( "${FILESDIR}"/0001-Use-loopback-IP-address-rather-than-name.patch )
+PATCHES=(
+   "${FILESDIR}"/0001-Use-loopback-IP-address-rather-than-name.patch
+   "${FILESDIR}"/0002-Fix-jobserver-unavailable-warning.patch
+)
 
 bindings() {
local ret=0
@@ -109,6 +112,8 @@ src_prepare() {
# assure that new Makefile.config will be generated
rm -f Makefile.config || die
 
+   sed -e 's@^install: all install-man install-info$@install: all 
install-info@' -i Makefile.local
+
if use test; then
append-cflags -g
append-cxxflags -g
@@ -164,6 +169,8 @@ src_test() {
 src_install() {
default
 
+   doman doc/_build/man/man?/*.?
+
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
fi
@@ -198,11 +205,6 @@ pkg_preinst() {
 
 pkg_postinst() {
use emacs && elisp-site-regen
-
-   if has_version '=dev-libs/xapian-1.4."
-   fi
 }
 
 pkg_postrm() {



  1   2   >