unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Tanguy Le Carrour <tanguy@bioneland.org>
To: 52075@debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy@bioneland.org>
Subject: [bug#52075] [PATCH v2 3/4] gnu: Add python-notmuch2.
Date: Wed, 24 Nov 2021 15:00:33 +0100	[thread overview]
Message-ID: <20211124140034.3140-3-tanguy@bioneland.org> (raw)
In-Reply-To: <20211124140034.3140-1-tanguy@bioneland.org>

* gnu/packages/mail.scm (python-notmuch2): New variable.
---
 gnu/packages/mail.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 7c7e411d5c..454c15e88b 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -107,6 +107,7 @@ (define-module (gnu packages mail)
   #:use-module (gnu packages language)
   #:use-module (gnu packages libcanberra)
   #:use-module (gnu packages libevent)
+  #:use-module (gnu packages libffi)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
   #:use-module (gnu packages libunwind)
@@ -1511,6 +1512,21 @@ (define-public python-notmuch
 (define-public python2-notmuch
   (package-with-python2 python-notmuch))
 
+(define-public python-notmuch2
+  (package
+    (inherit python-notmuch)
+    (name "python-notmuch2")
+    (propagated-inputs `(("python-cffi" ,python-cffi)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; This python package lives in a subdirectory of the notmuch source
+         ;; tree, so chdir into it before building.
+         (add-after 'unpack 'enter-python-dir
+           (lambda _ (chdir "bindings/python-cffi"))))))
+    (synopsis "Pythonic bindings for the notmuch mail database using CFFI")
+    (license license:gpl3+)))
+
 (define-public muchsync
   (package
     (name "muchsync")
-- 
2.34.0





  parent reply	other threads:[~2021-11-24 14:03 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-24  9:57 [bug#52075] [PATCH 0/4] gnu: alot: Update to 0.10 Tanguy Le Carrour
2021-11-24 10:00 ` [bug#52075] [PATCH 1/4] gnu: python-urwidtrees: Update to 1.0.3 Tanguy Le Carrour
2021-11-24 10:00   ` [bug#52075] [PATCH 2/4] gnu: notmuch: Update to 0.34.1 Tanguy Le Carrour
2021-11-24 10:00   ` [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2 Tanguy Le Carrour
2021-11-24 10:29     ` Nicolas Goaziou
2021-11-24 12:44       ` Tanguy LE CARROUR
2021-11-24 13:21         ` Nicolas Goaziou
2021-11-24 16:53         ` Jack Hill
2021-11-24 17:11           ` Nicolas Goaziou
2021-11-24 17:41             ` Jack Hill
2021-11-27  9:15               ` bug#52075: " Nicolas Goaziou
2021-11-28 17:32                 ` [bug#52075] " Tanguy LE CARROUR
2021-11-24 10:00   ` [bug#52075] [PATCH 4/4] gnu: alot: Update to 0.10 Tanguy Le Carrour
2021-11-24 14:00 ` [bug#52075] [PATCH v2 1/4] gnu: python-urwidtrees: Update to 1.0.3 Tanguy Le Carrour
2021-11-24 14:00   ` [bug#52075] [PATCH v2 2/4] gnu: notmuch: Update to 0.34.1 Tanguy Le Carrour
2021-11-24 14:00   ` Tanguy Le Carrour [this message]
2021-11-24 14:00   ` [bug#52075] [PATCH v2 4/4] gnu: alot: Update to 0.10 Tanguy Le Carrour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211124140034.3140-3-tanguy@bioneland.org \
    --to=tanguy@bioneland.org \
    --cc=52075@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).