From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qPl5NFYQnmF2IQAAgWs5BA (envelope-from ) for ; Wed, 24 Nov 2021 11:13:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aKkxMFYQnmE8CwAAB5/wlQ (envelope-from ) for ; Wed, 24 Nov 2021 10:13:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 884771D741 for ; Wed, 24 Nov 2021 11:13:42 +0100 (CET) Received: from localhost ([::1]:44166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mppHZ-0004lw-8K for larch@yhetil.org; Wed, 24 Nov 2021 05:13:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpp5L-0004K7-DD for guix-patches@gnu.org; Wed, 24 Nov 2021 05:01:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpp5K-0005eT-VJ for guix-patches@gnu.org; Wed, 24 Nov 2021 05:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpp5K-0000JV-UU for guix-patches@gnu.org; Wed, 24 Nov 2021 05:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52075] [PATCH 3/4] gnu: Add python-notmuch2. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Nov 2021 10:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52075 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52075@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 52075-submit@debbugs.gnu.org id=B52075.16377480461138 (code B ref 52075); Wed, 24 Nov 2021 10:01:02 +0000 Received: (at 52075) by debbugs.gnu.org; 24 Nov 2021 10:00:46 +0000 Received: from localhost ([127.0.0.1]:53223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpp54-0000ID-5X for submit@debbugs.gnu.org; Wed, 24 Nov 2021 05:00:46 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48899) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpp4z-0000HY-U9 for 52075@debbugs.gnu.org; Wed, 24 Nov 2021 05:00:42 -0500 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPA id 168D4E0012; Wed, 24 Nov 2021 10:00:35 +0000 (UTC) From: Tanguy Le Carrour Date: Wed, 24 Nov 2021 11:00:15 +0100 Message-Id: <20211124100016.21905-3-tanguy@bioneland.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211124100016.21905-1-tanguy@bioneland.org> References: <20211124100016.21905-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637748822; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=y5HOi8E8tVTsqYrp0blyPdQNQSbYMNW2d12CdSXA7Gs=; b=Ff7WLA57wPfAA8xswcZCPPzBGPaNoigYtTLxKWfr+MtbaOiIJZiu5HzMCw/siCgQ/BZ8qE wvK3ciexn/QEOf2ugKZ9y+0VQtBzwisx1X24xDhAjL+5fifP+7xPZffwcj+00AnyFJoCKK GxdqZCmNzNe1P4WiIFjSXJ7JpxhtdiRxkIUddjCx33N7ewXl1P9Y/EF06XyQ21S8jQGVvu eq8pFS6E1QTFYuMs7vsQmpSKzpfSxzD1k7H8Ukdp1YMM0yK4zFkjEz5LGAi+BjYPQW4qR4 bmpngvKYY56j6JUH8eQiI4aMC3nZHOr+yDuWGVE4JPuFWzSfhgqmi5ZAeGj75g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637748822; a=rsa-sha256; cv=none; b=I4Io5qBI56/61UwwImJTR0JEbVy6hcz0xZGT1xj8LCmwYyf9Is5NjAx+SIwnIPKNZiZou+ ctTQAGNNoz0VychXnu1Gcye8eNUNH9gsj2iTmYdmx4l2dhsMi0wr1sn/vN860dHiME20vo As9bLnXBPwlL+MKIZ2UxMSnjOIdKjx7Srv8irMZUYM6q8pl4NZjMj4FNcxTFdfjbExEStq 4X6n/jVtyHScQzQ4ETRQruXxhi4HTAb+/f2yOouhOJ1qM/sLy5niwj1cdzFrxOh1YF5uCZ T8iREkIC5J/KYZPIwNrriOH9RGU8hBAZTCyCW6ejGojQ/4elKvpLzLLh/EGQvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 884771D741 X-Spam-Score: 2.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: /r752Qe0x2Sd * gnu/packages/mail.scm (python-notmuch2): New variable. --- gnu/packages/mail.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 7c7e411d5c..9dc38708bf 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,29 @@ (define-public python-notmuch (define-public python2-notmuch (package-with-python2 python-notmuch)) +(define-public python-notmuch2 + (package + (name "python-notmuch2") + (version (package-version notmuch)) + ;; The bindings are distributed via the notmuch release tarball. + (source (package-source notmuch)) + (build-system python-build-system) + (inputs `(("notmuch" ,notmuch))) + (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") #t))))) + (home-page (package-home-page notmuch)) + (synopsis "Pythonic bindings for the notmuch mail database using CFFI") + (description + "This package provides Python bindings to use the Notmuch mail indexing +and search library.") + (license license:gpl3+))) + (define-public muchsync (package (name "muchsync") -- 2.34.0