aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2019-02-17 07:30:33 -0400
committerDavid Bremner <bremner@debian.org>2019-02-17 07:30:33 -0400
commit44862764d27d29fbfb9ded12b1112abe104fb7e1 (patch)
treef26a901f6e28185d60200c9111de30e1c15b4996
parent32fb3c420a408ccfd20301f0c527c4259bf721cc (diff)
parentc3a683299d4c27d6eadaacf4fb516f73a6c69fc3 (diff)
Record notmuch (0.28.2-1) in archive suite sid
-rw-r--r--NEWS14
-rw-r--r--bindings/python/docs/source/conf.py13
-rw-r--r--bindings/python/docs/source/filesystem.rst2
-rw-r--r--bindings/python/docs/source/threads.rst2
-rw-r--r--bindings/python/notmuch/version.py2
-rw-r--r--debian/changelog6
-rw-r--r--emacs/notmuch-crypto.el6
-rw-r--r--version2
8 files changed, 29 insertions, 18 deletions
diff --git a/NEWS b/NEWS
index 7de5ea7f..e469ba06 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,17 @@
+Notmuch 0.28.2 (2019-02-17)
+===========================
+
+Emacs
+-----
+
+Invoke gpg with --batch and --no-tty.
+
+Python Bindings
+---------------
+
+Fix documentation build with Python 3.7. Note that Python >= 3.3 is
+now needed to build this documentation.
+
Notmuch 0.28.1 (2019-02-01)
===========================
diff --git a/bindings/python/docs/source/conf.py b/bindings/python/docs/source/conf.py
index 5b901c4e..8b43c5ca 100644
--- a/bindings/python/docs/source/conf.py
+++ b/bindings/python/docs/source/conf.py
@@ -13,22 +13,13 @@
import sys, os
+from unittest.mock import Mock
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0,os.path.abspath('../..'))
-class Mock(object):
- def __init__(self, *args, **kwargs):
- pass
-
- def __call__(self, *args, **kwargs):
- return Mock()
-
- @classmethod
- def __getattr__(self, name):
- return Mock() if name not in ('__file__', '__path__') else '/dev/null'
-
MOCK_MODULES = [
'ctypes',
]
diff --git a/bindings/python/docs/source/filesystem.rst b/bindings/python/docs/source/filesystem.rst
index 558c93de..13fe1194 100644
--- a/bindings/python/docs/source/filesystem.rst
+++ b/bindings/python/docs/source/filesystem.rst
@@ -15,7 +15,7 @@ Files and directories
instead.
:class:`Directory` -- A directory entry in the database
-------------------------------------------------------
+-------------------------------------------------------
.. autoclass:: Directory
diff --git a/bindings/python/docs/source/threads.rst b/bindings/python/docs/source/threads.rst
index 4324ac82..46ce5be5 100644
--- a/bindings/python/docs/source/threads.rst
+++ b/bindings/python/docs/source/threads.rst
@@ -11,4 +11,4 @@
iterator and broke list(Threads()). Use `len(list(msgs))`
instead.
-.. automethod:: __str__
+ .. automethod:: __str__
diff --git a/bindings/python/notmuch/version.py b/bindings/python/notmuch/version.py
index 7cc4db18..f376f6e6 100644
--- a/bindings/python/notmuch/version.py
+++ b/bindings/python/notmuch/version.py
@@ -1,3 +1,3 @@
# this file should be kept in sync with ../../../version
-__VERSION__ = '0.28.1'
+__VERSION__ = '0.28.2'
SOVERSION = '5'
diff --git a/debian/changelog b/debian/changelog
index fce3e5f3..9ed2547e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+notmuch (0.28.2-1) unstable; urgency=medium
+
+ * [notmuch-emacs] Invoke gpg from with --batch and --no-tty
+
+ -- David Bremner <bremner@debian.org> Sun, 17 Feb 2019 07:30:33 -0400
+
notmuch (0.28.1-1) unstable; urgency=medium
* New upstream bug fix release
diff --git a/emacs/notmuch-crypto.el b/emacs/notmuch-crypto.el
index fc2b5301..353f721e 100644
--- a/emacs/notmuch-crypto.el
+++ b/emacs/notmuch-crypto.el
@@ -142,7 +142,7 @@ mode."
(with-selected-window window
(with-current-buffer buffer
(goto-char (point-max))
- (call-process epg-gpg-program nil t t "--list-keys" fingerprint))
+ (call-process epg-gpg-program nil t t "--batch" "--no-tty" "--list-keys" fingerprint))
(recenter -1))))
(defun notmuch-crypto-sigstatus-error-callback (button)
@@ -153,9 +153,9 @@ mode."
(with-selected-window window
(with-current-buffer buffer
(goto-char (point-max))
- (call-process epg-gpg-program nil t t "--recv-keys" keyid)
+ (call-process epg-gpg-program nil t t "--batch" "--no-tty" "--recv-keys" keyid)
(insert "\n")
- (call-process epg-gpg-program nil t t "--list-keys" keyid))
+ (call-process epg-gpg-program nil t t "--batch" "--no-tty" "--list-keys" keyid))
(recenter -1))
(notmuch-show-refresh-view)))
diff --git a/version b/version
index 48f7a71d..a37255a8 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.28.1
+0.28.2