[PATCH] Build debian package for python-bindings.
authordavid <david@tethera.net>
Sun, 19 Jun 2011 18:16:20 +0000 (15:16 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:38:37 +0000 (09:38 -0800)
32/c137b48207738496bc7f0a9d9cd291785c4f7a [new file with mode: 0644]

diff --git a/32/c137b48207738496bc7f0a9d9cd291785c4f7a b/32/c137b48207738496bc7f0a9d9cd291785c4f7a
new file mode 100644 (file)
index 0000000..399f3dd
--- /dev/null
@@ -0,0 +1,126 @@
+Return-Path: <bremner@tethera.net>\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 A3ACF429E25\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Jun 2011 11:16:32 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 j7LfU1Wmmm2X for <notmuch@notmuchmail.org>;\r
+       Sun, 19 Jun 2011 11:16:31 -0700 (PDT)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 6C727431FB6\r
+       for <notmuch@notmuchmail.org>; Sun, 19 Jun 2011 11:16:31 -0700 (PDT)\r
+Received: from zancas.localnet\r
+       (fctnnbsc30w-142167176081.pppoe-dynamic.High-Speed.nb.bellaliant.net\r
+       [142.167.176.81]) (authenticated bits=0)\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id p5JIGQ6e014493\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);\r
+       Sun, 19 Jun 2011 15:16:27 -0300\r
+Received: from bremner by zancas.localnet with local (Exim 4.76)\r
+       (envelope-from <bremner@tethera.net>)\r
+       id 1QYMXp-00070P-RE; Sun, 19 Jun 2011 15:16:25 -0300\r
+From: david@tethera.net\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] Build debian package for python-bindings.\r
+Date: Sun, 19 Jun 2011 15:16:20 -0300\r
+Message-Id: <1308507380-26896-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 1.7.5.3\r
+Cc: David Bremner <bremner@debian.org>\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: Sun, 19 Jun 2011 18:16:32 -0000\r
+\r
+From: David Bremner <bremner@debian.org>\r
+\r
+This uses dh_python2 (included with sufficiently recent versions of\r
+the python/python-all packages). python-all brings in all of the\r
+supported versions of python. The double calls to dh_auto_install are\r
+to avoid looping over python versions ourselves.\r
+---\r
+ debian/control |   17 ++++++++++++++++-\r
+ debian/rules   |   14 +++++++++++++-\r
+ 2 files changed, 29 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/debian/control b/debian/control\r
+index 3491e9a..2fefcbe 100644\r
+--- a/debian/control\r
++++ b/debian/control\r
+@@ -3,7 +3,9 @@ Section: mail\r
+ Priority: extra\r
+ Maintainer: Carl Worth <cworth@debian.org>\r
+ Uploaders: Jameson Graef Rollins <jrollins@finestructure.net>, martin f. krafft <madduck@debian.org>\r
+-Build-Depends: debhelper (>= 7.0.50~), pkg-config, libxapian-dev, libgmime-2.4-dev, libtalloc-dev, libz-dev, emacs (>= 23~)\r
++Build-Depends: debhelper (>= 7.0.50~), pkg-config, libxapian-dev, \r
++ libgmime-2.4-dev, libtalloc-dev, libz-dev, emacs (>= 23~), \r
++ python-all (>= 2.6.6-3~)\r
+ Standards-Version: 3.9.1.0\r
+ Homepage: http://notmuchmail.org/\r
+ Vcs-Git: git://notmuchmail.org/git/notmuch\r
+@@ -49,3 +51,16 @@ Description: thread-based email index, search and tagging (development)\r
+  .\r
+  This package provides the necessary development libraries and header\r
+  files to allow you to develop new software using libnotmuch.\r
++\r
++Package: python-notmuch\r
++Architecture: all\r
++Section: python\r
++Depends: ${misc:Depends},${python:Depends}, libnotmuch1\r
++Description: python 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 interface to the notmuch\r
++ functionality, directly interfacing with a shared notmuch library.\r
+diff --git a/debian/rules b/debian/rules\r
+index a4b526c..5aa27e8 100755\r
+--- a/debian/rules\r
++++ b/debian/rules\r
+@@ -1,11 +1,23 @@\r
+ #!/usr/bin/make -f\r
\r
+ %:\r
+-      dh $@\r
++      dh --with python2 $@\r
\r
+ override_dh_auto_configure:\r
+       dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch\r
\r
++override_dh_auto_build:\r
++      dh_auto_build\r
++      dh_auto_build --sourcedirectory bindings/python\r
++\r
++override_dh_auto_install:\r
++      dh_auto_install\r
++      dh_auto_install --sourcedirectory bindings/python\r
++\r
++override_dh_auto_clean:\r
++      dh_auto_clean\r
++      dh_auto_clean --sourcedirectory bindings/python\r
++\r
+ override_dh_installdocs:\r
+       dh_installdocs\r
+       install -m644 vim/README debian/notmuch/usr/share/doc/notmuch/README.vim\r
+-- \r
+1.7.5.3\r
+\r