[Jakub Wilk] Bug#683515: python3-notmuch
authorDavid Bremner <bremner@unb.ca>
Thu, 2 Aug 2012 15:13:01 +0000 (12:13 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:44 +0000 (09:48 -0800)
81/c697b742de5e777e3a9792c5effee51dd003b2 [new file with mode: 0644]

diff --git a/81/c697b742de5e777e3a9792c5effee51dd003b2 b/81/c697b742de5e777e3a9792c5effee51dd003b2
new file mode 100644 (file)
index 0000000..e1373df
--- /dev/null
@@ -0,0 +1,233 @@
+Return-Path: <bremner@unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9F8CA431FB6\r
+       for <notmuch@notmuchmail.org>; Thu,  2 Aug 2012 08:13:12 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id j86NGIDhUByT for <notmuch@notmuchmail.org>;\r
+       Thu,  2 Aug 2012 08:13:11 -0700 (PDT)\r
+Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id CF807431FAE\r
+       for <notmuch@notmuchmail.org>; Thu,  2 Aug 2012 08:13:11 -0700 (PDT)\r
+Received: from fctnnbsc30w-156034089108.dhcp-dynamic.fibreop.nb.bellaliant.net\r
+       ([156.34.89.108] helo=zancas.localnet)\r
+       by tesseract.cs.unb.ca with esmtpsa\r
+       (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72)\r
+       (envelope-from <bremner@unb.ca>)\r
+       id 1Swx5G-0003Q1-N0; Thu, 02 Aug 2012 12:13:10 -0300\r
+Received: from bremner by zancas.localnet with local (Exim 4.80)\r
+       (envelope-from <bremner@unb.ca>)\r
+       id 1Swx5B-0007PC-9I; Thu, 02 Aug 2012 12:13:01 -0300\r
+From: David Bremner <bremner@unb.ca>\r
+To: "notmuch" <notmuch@notmuchmail.org>\r
+Subject: [Jakub Wilk] Bug#683515: python3-notmuch\r
+User-Agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 02 Aug 2012 12:13:01 -0300\r
+Message-ID: <876291uy2q.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: message/rfc822\r
+Content-Disposition: inline\r
+X-Spam_bar: -\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 02 Aug 2012 15:13:12 -0000\r
+\r
+Return-path: <bounces+20120801-bremner=debian.org@packages.qa.debian.org>\r
+Envelope-to: david@tethera.net\r
+Delivery-date: Wed, 01 Aug 2012 08:51:13 -0300\r
+Received: from [67.202.105.224] (helo=yantan.tethera.net)\r
+       by tesseract.cs.unb.ca with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\r
+       (Exim 4.72)\r
+       (envelope-from <bounces+20120801-bremner=debian.org@packages.qa.debian.org>)\r
+       id 1SwXSH-0002SF-0w\r
+       for david@tethera.net; Wed, 01 Aug 2012 08:51:12 -0300\r
+Received: from quantz.debian.org ([206.12.19.122])\r
+       by yantan.tethera.net with esmtp (Exim 4.72)\r
+       (envelope-from <bounces+20120801-bremner=debian.org@packages.qa.debian.org>)\r
+       id 1SwXSG-0005HX-6c\r
+       for david@tethera.net; Wed, 01 Aug 2012 08:51:08 -0300\r
+Received: from qa by quantz.debian.org with local (Exim 4.72)\r
+       (envelope-from <bounces+20120801-bremner=debian.org@packages.qa.debian.org>)\r
+       id 1SwXSF-0002ZD-Bv\r
+       for david@tethera.net; Wed, 01 Aug 2012 11:51:07 +0000\r
+Received: from buxtehude.debian.org ([140.211.166.26]) from C=NA,ST=NA,\r
+ L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=buxtehude.debian.org,\r
+ EMAIL=hostmaster@buxtehude.debian.org (verified)      by quantz.debian.org with\r
+ esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)       (Exim 4.72)     (envelope-from\r
+ <debbugs@buxtehude.debian.org>)       id 1SwXSE-0002YL-TX     for\r
+ notmuch@packages.qa.debian.org; Wed, 01 Aug 2012 11:51:06 +0000\r
+Received: from debbugs by buxtehude.debian.org with local (Exim 4.72)\r
+ (envelope-from <debbugs@buxtehude.debian.org>)        id 1SwXSC-0002S3-Jp; Wed,\r
+ 01 Aug 2012 11:51:04 +0000\r
+X-Loop: owner@bugs.debian.org\r
+Subject: Bug#683515: python3-notmuch\r
+Reply-To: Jakub Wilk <jwilk@debian.org>, 683515@bugs.debian.org\r
+Resent-From: Jakub Wilk <jwilk@debian.org>\r
+Original-Sender: Jakub Wilk <jwilk@master.debian.org>\r
+Resent-To: debian-bugs-dist@lists.debian.org\r
+Resent-CC: jwilk@debian.org, Carl Worth <cworth@debian.org>\r
+X-Loop: owner@bugs.debian.org\r
+Resent-Date: Wed, 01 Aug 2012 11:51:02 +0000\r
+Resent-Message-ID: <handler.683515.B.13438216898188@bugs.debian.org>\r
+X-Debian-PR-Message: report 683515\r
+X-Debian-PR-Package: src:notmuch\r
+X-Debian-PR-Keywords: patch\r
+X-Debian-PR-Source: notmuch\r
+Received: via spool by submit@bugs.debian.org id=B.13438216898188 (code B);\r
+ Wed, 01 Aug 2012 11:51:02 +0000\r
+Received: (at submit) by bugs.debian.org; 1 Aug 2012 11:48:09 +0000\r
+X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02\r
+       (2010-03-16) on buxtehude.debian.org\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-8.8 required=4.0\r
+ tests=BAYES_00,FOURLA,FROMDEVELOPER,\r
+       MURPHY_DRUGS_REL8,ONEWORD,RCVD_IN_DNSWL_MED,X_DEBBUGS_CC,X_DEBBUGS_NO_ACK\r
+       autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02\r
+X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 151; neutral, 103;\r
+ spammy,       0. spammytokens: hammytokens:0.000-+--(unknown), 0.000-+--(unknown),\r
+       0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown)\r
+Received: from master.debian.org ([70.103.162.29])     from C=NA,ST=NA,\r
+ L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=master.debian.org,\r
+ EMAIL=hostmaster@master.debian.org (verified) by buxtehude.debian.org with\r
+ esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)       (Exim 4.72)     (envelope-from\r
+ <jwilk@debian.org>)   id 1SwXPN-00027t-8o     for submit@bugs.debian.org; Wed,\r
+ 01 Aug 2012 11:48:09 +0000\r
+Received: from jwilk by master.debian.org with local (Exim 4.72)\r
+ (envelope-from <jwilk@debian.org>)    id 1SwXPM-0006VK-IG     for\r
+ submit@bugs.debian.org; Wed, 01 Aug 2012 11:48:08 +0000\r
+Date: Wed, 1 Aug 2012 13:48:05 +0200\r
+From: Jakub Wilk <jwilk@debian.org>\r
+To: Debian Bug Tracking System <submit@bugs.debian.org>\r
+Message-ID: <20120801114805.GA4018@jwilk.net>\r
+X-Reportbug-Version: 6.4.2\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+Sender: Jakub Wilk <jwilk@master.debian.org>\r
+Delivered-To: submit@bugs.debian.org\r
+Delivered-To: notmuch@packages.qa.debian.org\r
+Precedence: list\r
+X-Loop: notmuch@packages.qa.debian.org\r
+X-Debian: PTS\r
+X-Debian-Package: notmuch\r
+X-PTS-Package: notmuch\r
+X-PTS-Keyword: bts\r
+List-Unsubscribe: <mailto:pts@qa.debian.org?body=unsubscribe%20notmuch>\r
+Resent-Sender: Debian QA <qa@quantz.debian.org>\r
+X-Spam-Score: 1.3\r
+X-Spam_bar: +\r
+MIME-Version: 1.0\r
+Content-Type: multipart/mixed; boundary="==-=-="\r
+\r
+--==-=-=\r
+Content-Type: text/plain; format=flowed\r
+Content-Disposition: inline\r
+\r
+Source: notmuch\r
+Version: 0.13.2-1\r
+Severity: wishlist\r
+Tags: patch\r
+\r
+The attached path adds support for Python 3.\r
+\r
+-- \r
+Jakub Wilk\r
+\r
+--==-=-=\r
+Content-Type: text/x-diff\r
+Content-Disposition: attachment; filename=python3-notmuch.diff\r
+\r
+diff -Nru notmuch-0.13.2/debian/control notmuch-0.13.2/debian/control\r
+--- notmuch-0.13.2/debian/control      2012-06-02 23:17:42.000000000 +0200\r
++++ notmuch-0.13.2/debian/control      2012-08-01 12:11:03.000000000 +0200\r
+@@ -14,6 +14,7 @@\r
+  libtalloc-dev,\r
+  libz-dev,\r
+  python-all (>= 2.6.6-3~),\r
++ python3-all (>= 3.1.2-7~),\r
+  emacs23-nox | emacs23 (>=23~) | emacs23-lucid (>=23~),\r
+  gdb,\r
+  dtach (>= 0.8)\r
+@@ -74,6 +75,19 @@\r
+  This package provides a Python interface to the notmuch\r
+  functionality, directly interfacing with a shared notmuch library.\r
+ \r
++Package: python3-notmuch\r
++Architecture: all\r
++Section: python\r
++Depends: ${misc:Depends}, ${python3:Depends}, libnotmuch3\r
++Description: Python 3 interface to the notmuch mail search and index library\r
++ Notmuch is a system for indexing, searching, reading, and tagging\r
++ large collections of email messages in maildir or mh format. It uses\r
++ the Xapian library to provide fast, full-text search with a very\r
++ convenient search syntax.\r
++ .\r
++ This package provides a Python 3 interface to the notmuch\r
++ functionality, directly interfacing with a shared notmuch library.\r
++\r
+ Package: notmuch-emacs\r
+ Architecture: all\r
+ Section: mail\r
+diff -Nru notmuch-0.13.2/debian/python-notmuch.install notmuch-0.13.2/debian/python-notmuch.install\r
+--- notmuch-0.13.2/debian/python-notmuch.install       2012-06-02 23:17:42.000000000 +0200\r
++++ notmuch-0.13.2/debian/python-notmuch.install       2012-08-01 11:26:07.000000000 +0200\r
+@@ -1 +1 @@\r
+-usr/lib/python*\r
++usr/lib/python2*\r
+diff -Nru notmuch-0.13.2/debian/python3-notmuch.install notmuch-0.13.2/debian/python3-notmuch.install\r
+--- notmuch-0.13.2/debian/python3-notmuch.install      1970-01-01 01:00:00.000000000 +0100\r
++++ notmuch-0.13.2/debian/python3-notmuch.install      2012-08-01 11:26:06.000000000 +0200\r
+@@ -0,0 +1 @@\r
++usr/lib/python3*\r
+diff -Nru notmuch-0.13.2/debian/rules notmuch-0.13.2/debian/rules\r
+--- notmuch-0.13.2/debian/rules        2012-06-02 23:17:42.000000000 +0200\r
++++ notmuch-0.13.2/debian/rules        2012-08-01 12:11:02.000000000 +0200\r
+@@ -1,7 +1,9 @@\r
+ #!/usr/bin/make -f\r
+ \r
++python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}\r
++\r
+ %:\r
+-      dh --with python2 $@\r
++      dh --with python2,python3 $@\r
+ \r
+ override_dh_auto_configure:\r
+       dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch\r
+@@ -9,13 +11,16 @@\r
+ override_dh_auto_build:\r
+       dh_auto_build\r
+       dh_auto_build --sourcedirectory bindings/python\r
++      cd bindings/python && $(python3_all) setup.py build\r
+       $(MAKE) -C contrib/notmuch-mutt\r
+ \r
+ override_dh_auto_clean:\r
+       dh_auto_clean\r
+       dh_auto_clean --sourcedirectory bindings/python\r
++      cd bindings/python && $(python3_all) setup.py clean -a\r
+       $(MAKE) -C contrib/notmuch-mutt clean\r
+ \r
+ override_dh_auto_install:\r
+       dh_auto_install\r
+       dh_auto_install --sourcedirectory bindings/python\r
++      cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp\r
+\r
+--==-=-=--\r