From patchwork Thu Jul 9 19:19:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru-Sergiu Marton X-Patchwork-Id: 23144 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0393927BBE3; Thu, 9 Jul 2020 17:20:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 720A927BBE1 for ; Thu, 9 Jul 2020 17:20:12 +0100 (BST) Received: from localhost ([::1]:54896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtZHP-0001ZF-Uc for patchwork@mira.cbaines.net; Thu, 09 Jul 2020 12:20:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtZHH-0001VJ-VQ for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtZHH-0003LQ-Lo for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtZHH-0007xh-Hl for guix-patches@gnu.org; Thu, 09 Jul 2020 12:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42297] [PATCH 06/10] gnu: Add python-emailthreads. Resent-From: Alexandru-Sergiu Marton Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Jul 2020 16:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42297 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42297@debbugs.gnu.org Cc: Alexandru-Sergiu Marton Received: via spool by 42297-submit@debbugs.gnu.org id=B42297.159431159430518 (code B ref 42297); Thu, 09 Jul 2020 16:20:03 +0000 Received: (at 42297) by debbugs.gnu.org; 9 Jul 2020 16:19:54 +0000 Received: from localhost ([127.0.0.1]:41531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtZH7-0007vy-Vc for submit@debbugs.gnu.org; Thu, 09 Jul 2020 12:19:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]:35241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtZH4-0007ub-SX for 42297@debbugs.gnu.org; Thu, 09 Jul 2020 12:19:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 561DD2400FC for <42297@debbugs.gnu.org>; Thu, 9 Jul 2020 18:19:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.ro; s=2017; t=1594311585; bh=PUE2raIuQDPiKyuL4J9Okksj4hNYGBrdRbH2gd+zCs0=; h=From:To:Cc:Subject:Date:From; b=Rto+whAomVmbVVSvQhxf3I03El7wkWbOwU8hC3V/3Va1ogyqosX20mTUwsmFM4q0Z RObH7uUYCZRpG+ySb11iDHGes47rk/SzdLuQ6vXMoxRQ3nzAVRlwhNjE8Ci4dYUog5 RjSwjYm+f5X/M3thw2XI68dNRbRVLHxRwrB+OEDX9CoDW/eD+S39MfE/F9A53XQoG1 MQRS3pvlQ+rI97323ek2J7BNwTvrmPOfg+FIW5Li7xBgNU0jtKYSfpLBZ16foftLmk Ifibq75EhguP9YF1xleUhZHJuRuRv7txZuf5w+vbynX9GtzWUkeBjQfeWmcYzvzwKu FGOskrNasJKLw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4B2hG86tjzz9rxV; Thu, 9 Jul 2020 18:19:44 +0200 (CEST) From: Alexandru-Sergiu Marton Date: Thu, 9 Jul 2020 22:19:14 +0300 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-emailthreads): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 20abc1a9d3..b3dddc57c1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20552,3 +20552,33 @@ CommandServer.") "Unidiff is a simple Python library to parse and interact with unified diff data.") (license license:expat))) + +(define-public python-emailthreads + (package + (name "python-emailthreads") + (version "v0.1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "emailthreads" version)) + (sha256 + (base32 + "128by819l2awvs3gvlcs75s0k8lfl8420s9khjh8bfk8p780rlfm")))) + (build-system python-build-system) + (arguments + `(#:modules ((guix build utils) + (guix build python-build-system)) + #:phases + (modify-phases %standard-phases + (add-before 'build 'prepare-for-tests + (lambda _ + (setenv "PKGVER" (version))))))) + (home-page + "https://github.com/emersion/python-emailthreads") + (synopsis + "Parses email threads into conversation trees") + (description + "Python library to parse and format email threads. Give it a list +of emails that are part of the same thread and it'll build a tree of +responses to the original message.") + (license license:expat)))