1 Return-Path: <bremner@tethera.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id AD9C3431FDB
\r
6 for <notmuch@notmuchmail.org>; Wed, 16 Jan 2013 04:44:48 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 3VMrQrwkdFVh for <notmuch@notmuchmail.org>;
\r
16 Wed, 16 Jan 2013 04:44:47 -0800 (PST)
\r
17 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])
\r
18 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 1189A431FD5
\r
21 for <notmuch@notmuchmail.org>; Wed, 16 Jan 2013 04:44:44 -0800 (PST)
\r
22 Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net
\r
23 ([156.34.82.78] helo=zancas.localnet)
\r
24 by tesseract.cs.unb.ca with esmtpsa
\r
25 (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80)
\r
26 (envelope-from <bremner@tethera.net>)
\r
27 id 1TvSMC-0002S2-NX; Wed, 16 Jan 2013 08:44:42 -0400
\r
28 Received: from bremner by zancas.localnet with local (Exim 4.80)
\r
29 (envelope-from <bremner@tethera.net>)
\r
30 id 1TvSM7-0004I1-69; Wed, 16 Jan 2013 08:44:35 -0400
\r
31 From: david@tethera.net
\r
32 To: notmuch@notmuchmail.org
\r
33 Subject: [PATCH 4/5] debian: add python 3 bindings
\r
34 Date: Wed, 16 Jan 2013 08:44:21 -0400
\r
35 Message-Id: <1358340262-16304-5-git-send-email-david@tethera.net>
\r
36 X-Mailer: git-send-email 1.7.10.4
\r
37 In-Reply-To: <1358340262-16304-1-git-send-email-david@tethera.net>
\r
38 References: <1358340262-16304-1-git-send-email-david@tethera.net>
\r
40 Cc: David Bremner <bremner@debian.org>
\r
41 X-BeenThere: notmuch@notmuchmail.org
\r
42 X-Mailman-Version: 2.1.13
\r
44 List-Id: "Use and development of the notmuch mail system."
\r
45 <notmuch.notmuchmail.org>
\r
46 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
47 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
48 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
49 List-Post: <mailto:notmuch@notmuchmail.org>
\r
50 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
51 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
52 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
53 X-List-Received-Date: Wed, 16 Jan 2013 12:44:49 -0000
\r
55 From: David Bremner <bremner@debian.org>
\r
57 This patch is due to Jakub Wilk <jwilk@debian.org>.
\r
59 It does add a build depend on python3 for people using the "make
\r
60 debian-snapshot" target.
\r
62 debian/changelog | 4 +++-
\r
63 debian/control | 14 ++++++++++++++
\r
64 debian/python-notmuch.install | 2 +-
\r
65 debian/rules | 5 +++++
\r
66 4 files changed, 23 insertions(+), 2 deletions(-)
\r
68 diff --git a/debian/changelog b/debian/changelog
\r
69 index f4925a1..40b7695 100644
\r
70 --- a/debian/changelog
\r
71 +++ b/debian/changelog
\r
72 @@ -4,8 +4,10 @@ notmuch (0.15~rc1-1) experimental; urgency=low
\r
73 * Change priority to optional (Closes: #687217).
\r
74 * Remove Dm-Upload-Allowed field, as this is no longer used by
\r
76 + * Add python3 bindings, thanks to Jakub Wilk (Closes:
\r
79 - -- David Bremner <bremner@debian.org> Mon, 07 Jan 2013 21:40:52 -0400
\r
80 + -- David Bremner <bremner@debian.org> Wed, 16 Jan 2013 08:25:02 -0400
\r
82 notmuch (0.14-1) experimental; urgency=low
\r
84 diff --git a/debian/control b/debian/control
\r
85 index 75b55a5..5bb0d05 100644
\r
86 --- a/debian/control
\r
87 +++ b/debian/control
\r
88 @@ -14,6 +14,7 @@ Build-Depends:
\r
91 python-all (>= 2.6.6-3~),
\r
92 + python3-all (>= 3.1.2-7~),
\r
93 emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~) |
\r
94 emacs24-nox | emacs24 (>=24~) | emacs24-lucid (>=24~),
\r
96 @@ -75,6 +76,19 @@ Description: python interface to the notmuch mail search and index library
\r
97 This package provides a Python interface to the notmuch
\r
98 functionality, directly interfacing with a shared notmuch library.
\r
100 +Package: python3-notmuch
\r
103 +Depends: ${misc:Depends}, ${python3:Depends}, libnotmuch3
\r
104 +Description: Python 3 interface to the notmuch mail search and index library
\r
105 + Notmuch is a system for indexing, searching, reading, and tagging
\r
106 + large collections of email messages in maildir or mh format. It uses
\r
107 + the Xapian library to provide fast, full-text search with a very
\r
108 + convenient search syntax.
\r
110 + This package provides a Python 3 interface to the notmuch
\r
111 + functionality, directly interfacing with a shared notmuch library.
\r
113 Package: notmuch-emacs
\r
116 diff --git a/debian/python-notmuch.install b/debian/python-notmuch.install
\r
117 index 607c065..b2cc136 100644
\r
118 --- a/debian/python-notmuch.install
\r
119 +++ b/debian/python-notmuch.install
\r
123 diff --git a/debian/rules b/debian/rules
\r
124 index 8e30353..45e970a 100755
\r
130 +python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}
\r
133 dh $@ --with python2
\r
135 @@ -9,13 +11,16 @@ override_dh_auto_configure:
\r
136 override_dh_auto_build:
\r
138 dh_auto_build --sourcedirectory bindings/python
\r
139 + cd bindings/python && $(python3_all) setup.py build
\r
140 $(MAKE) -C contrib/notmuch-mutt
\r
142 override_dh_auto_clean:
\r
144 dh_auto_clean --sourcedirectory bindings/python
\r
145 + cd bindings/python && $(python3_all) setup.py clean -a
\r
146 $(MAKE) -C contrib/notmuch-mutt clean
\r
148 override_dh_auto_install:
\r
150 dh_auto_install --sourcedirectory bindings/python
\r
151 + cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp
\r