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