From patchwork Fri Apr 30 14:38:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29034 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 20B8A27BC7D; Fri, 30 Apr 2021 15:41:30 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id DB18F27BC7C for ; Fri, 30 Apr 2021 15:41:29 +0100 (BST) Received: from localhost ([::1]:57618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUKd-0008Ce-Cg for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0007NO-Ep for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJG-0002sX-Ew for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJG-00030q-Cx for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 01/10] gnu: Add python-colorful. References: <52c1ff54-1bbe-c04f-5fea-6284f76dc8f8@raghavgururajan.name> In-Reply-To: <52c1ff54-1bbe-c04f-5fea-6284f76dc8f8@raghavgururajan.name> Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979355011408 (code B ref 48091); Fri, 30 Apr 2021 14:40:02 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:10 +0000 Received: from localhost ([127.0.0.1]:59462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIQ-0002xq-63 for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:10 -0400 Received: from out1.migadu.com ([91.121.223.63]:28528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIO-0002xL-5T for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:08 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=QBaiJfLuLArxXw8RgFTxj3jqazBBjxtEIS5Q6JRS5eI=; b=p03RFM2eXo+eZlFkiyiJRWB1jQxmCSLlezYGJEx8bplt4Pt2hdjhuVQciAvU6kr5XGzqv5 d7BaM/budrC/3rrwtC8Fzdei7ZvxSUtc/z3q37Nt1GDU4GC6+P+Ia/izMyQWXobOpllcmN JNyDebHs8Lt4StBsYcUjWdhjI/QvSjKeyoftl44C5p/AkBy8CpSMGzzRyOLkfqlWnz4lJA vbjlob/TjJ6KoUlGpDU5heoUgkCaW4c0SsoP9vRPz8EQCMrtoE3HFyi/mVIKb8UMrXj4LG AfqeA6FqpiHVoZUByxTi7a2fhELz0hwiyRoYQFArMatThdpaB6Wa2eH3lIruLA== Date: Fri, 30 Apr 2021 10:38:49 -0400 Message-Id: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-colorful): New variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6f64e3c8f5..50ba88ab64 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -217,6 +217,34 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) +(define-public python-colorful + (package + (name "python-colorful") + (version "0.5.4") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "colorful" version)) + (sha256 + (base32 "1sh7g2cn1fyz2hzmzs933razdxi2bna9i1lxa790r9pdwba8m146")))) + (build-system python-build-system) + ;; FIXME: tests cannot be computed: + ;; "Can't perform this operation for unregistered loader type" + (arguments + `(#:tests? #f)) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-flake8" ,python-flake8) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-colorama" ,python-colorama))) + (home-page "http://github.com/timofurrer/colorful") + (synopsis "Terminal string styling") + (description "Python-Colorful provides python libraries for string styling +in terminal.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Fri Apr 30 14:38:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29039 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 0A8B727BC7D; Fri, 30 Apr 2021 15:48:57 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id B8FB727BC7C for ; Fri, 30 Apr 2021 15:48:56 +0100 (BST) Received: from localhost ([::1]:49034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcURr-0007zd-VA for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:48:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0007NM-F3 for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJG-0002sW-3P for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJG-00030i-0L for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 02/10] gnu: Add python-yaspin. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979355011401 (code B ref 48091); Fri, 30 Apr 2021 14:40:01 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:10 +0000 Received: from localhost ([127.0.0.1]:59460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIP-0002xh-Sr for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:10 -0400 Received: from out1.migadu.com ([91.121.223.63]:28533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIO-0002xN-Ba for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:08 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793547; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pO7tmaGiuNsgSQ6UZnuSjsdx4R7DlZdkNzq+w2mLDg8=; b=B+bDtzS9xrYOzVYloyS28XECSkoaJ/5Cp3TM672RZX/AahZHdxZGhqrs8AUnTnoaL+ZfGz hdLnUa6IwPgyMMU6dHN9PzfByqAn0WATANjDg061SWY+imtbxOkq4SO85qghQX3wds3i0g avrZikmsa7U6ySczv7xTHmt2z8zNHtfKqy+UUi3rh0jf/mL1+Ol1HKR2VTqhfwAaibTuX3 Kau+B5xuP7KhwIcEFyW8ODo5dJ+jQKjMK9fV7wPAsJ4Jp8E4M6OCPjObrgWlCp5RD6tU/y zcVEYv6PPaZRuDN2iyoBYHF4t2VCb5SOU1Cjn/7nJINaypk+GP1884T5rWKaqw== Date: Fri, 30 Apr 2021 10:38:50 -0400 Message-Id: <20210430143858.10136-2-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-yaspin): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 50ba88ab64..ba7dc6488f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -245,6 +245,26 @@ in terminal.") (license license:expat))) +(define-public python-yaspin + (package + (name "python-yaspin") + (version "1.5.0") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "yaspin" version)) + (sha256 + (base32 "1iirah0kydrdp505qnjj6gi54avcr7z0hbkfx9vmh8myr30rpz6q")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/pavdmyt/yaspin") + (synopsis "Yet Another Terminal Spinner") + (description "Yaspin provides a full-featured terminal spinner to show the +progress during long-hanging operations.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Fri Apr 30 14:38:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29040 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 4F17827BC7C; Fri, 30 Apr 2021 15:49:05 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id D1BBD27BC7D for ; Fri, 30 Apr 2021 15:49:04 +0100 (BST) Received: from localhost ([::1]:49454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUS0-0008As-2F for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:49:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0007NN-FK for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47948) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0002sZ-1E for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJG-00030x-Pm for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 03/10] gnu: Add python-pytest-click. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979355111416 (code B ref 48091); Fri, 30 Apr 2021 14:40:02 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:11 +0000 Received: from localhost ([127.0.0.1]:59464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIQ-0002xx-FB for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:10 -0400 Received: from out1.migadu.com ([91.121.223.63]:28538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIO-0002xO-Ov for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=puINevSXd0Wa2uxspyrI8HIUqyIx42EbZ00FQZaCA/E=; b=hKAqp2NyXivLmDQwDhxKSs3eOi63GmosWdZGDhixmQ6+9r0RClPOwUdur5hYaSlw8E5cvn s28vx12Tt22qXiHBXEaSwAai2OOTvc2PCdXUWXS3r5N56ocYJC/Bv1rvOOCkgq2CYTce2a 9DyiVmiFSMG7/yATw/5KR5uUqpB21H5MEFblteOmflQcAoUNhOGQMUzDshVoHolMbkGSj4 8uKqa/BjhVKh5ke6MOE5qZBINKOprlea3BXcKhBYRhcf4LASxhPlhmTbxgrqB/qT/pdeLI tIVkEbvTLpqA2xNXKFlzCtVXX+R7mNRFG1IU3ez+LKn974Vne1/Gch9WCk8rLQ== Date: Fri, 30 Apr 2021 10:38:51 -0400 Message-Id: <20210430143858.10136-3-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-check.scm (python-pytest-click): New variable. --- gnu/packages/python-check.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b68f23a220..90155a478c 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -46,6 +46,26 @@ #:use-module (guix download) #:use-module (guix build-system python)) +(define-public python-pytest-click + (package + (name "python-pytest-click") + (version "1.0.2") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "pytest_click" version)) + (sha256 + (base32 "1rcv4m850rl7djzdgzz2zhjd8g5ih8w6l0sj2f9hsynymlsq82xl")))) + (build-system python-build-system) + (propagated-inputs + `(("python-click" ,python-click) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/Stranger6667/pytest-click") + (synopsis "Py.test plugin for Click") + (description "Py.test plugin for Click") + (license license:expat))) + (define-public python-testfixtures (package (name "python-testfixtures") From patchwork Fri Apr 30 14:38:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29031 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 9826E27BC7D; Fri, 30 Apr 2021 15:40:48 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 5697927BC7C for ; Fri, 30 Apr 2021 15:40:48 +0100 (BST) Received: from localhost ([::1]:56632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUJz-0007nj-Fn for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:40:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0007Nj-KL for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0002si-BO for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJH-000314-77 for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 04/10] gnu: python-nltk: Update to 3.6.2. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356011468 (code B ref 48091); Fri, 30 Apr 2021 14:40:03 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:20 +0000 Received: from localhost ([127.0.0.1]:59478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIZ-0002yr-S4 for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:20 -0400 Received: from out1.migadu.com ([91.121.223.63]:28544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIP-0002xg-Gi for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:09 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793548; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Hpe+RPYZbJSyuC2RuXsc9Sjhm3NsBYC8gFpNBYcgFpY=; b=sc+iCwBrVEv3raCcv9S7vK+jgqPEpCAyZ3M8SVWWQ2rj0B74AfhbNhPWMtllqbFgjqvzu5 yCaS+0p1S1oP5Vem/0taZRcAl6MJgS7lj0YT+ARuQ6yYCGE5/F7NEfxXEbGs2zcA/GK7vT 83+VYJd9o/jfOw8ntChePA5KvKE6wWu/2JJ8+Ib0Y97/UNerVBjym+YoJ9DNP97lFv5EU+ pnPmAd506DNT8FCR7MyVdfv9wpVNqjHi5WKEO3evYM4gRP5cVA/N2fRewZ/mnAjWOCvdrK EZ66TmzQBkg0nX2Xn63VEg3c/Ejvs3Fl9IQqf9MVZe+EsK4GXQvZ9enx5f5AYw== Date: Fri, 30 Apr 2021 10:38:52 -0400 Message-Id: <20210430143858.10136-4-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches This version is only available in zip format. * gnu/packages/python-xyz.scm (python-nltk)[version]: Update to 3.6.2. [uri]: Use zip extension. [native-inputs]: Add unzip. --- gnu/packages/python-xyz.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ba7dc6488f..2fc30b30f8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15034,18 +15034,20 @@ extracting firmware images") (define-public python-nltk (package (name "python-nltk") - (version "3.2.1") + (version "3.6.2") (source (origin (method url-fetch) - (uri (pypi-uri "nltk" version)) + (uri (pypi-uri "nltk" version ".zip")) (sha256 (base32 - "0skxbhnymwlspjkzga0f7x1hg3y50fwpfghs8g8k7fh6f4nknlym")))) + "1sq32lwgij9h8rsksymnxxr7bqfw3vgx5ijw4azbj6k2xnmmdmap")))) (build-system python-build-system) (arguments '(;; The tests require some extra resources to be downloaded. ;; TODO Try packaging these resources. #:tests? #f)) + (native-inputs + `(("unzip" ,unzip))) (home-page "http://nltk.org/") (synopsis "Natural Language Toolkit") (description "It provides interfaces to over 50 corpora and lexical From patchwork Fri Apr 30 14:38:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29030 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 D29A527BC7D; Fri, 30 Apr 2021 15:40:24 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 9819627BC7C for ; Fri, 30 Apr 2021 15:40:24 +0100 (BST) Received: from localhost ([::1]:55894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUJa-0007S6-3I for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:40:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0007OS-UG for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJH-0002t2-Kx for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJH-00031C-Jn for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 05/10] gnu: Add python-nltk@3.4. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356011475 (code B ref 48091); Fri, 30 Apr 2021 14:40:03 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:20 +0000 Received: from localhost ([127.0.0.1]:59480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIa-0002yv-6i for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:20 -0400 Received: from out1.migadu.com ([91.121.223.63]:28551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIQ-0002xo-DI for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:10 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793549; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l+yzCSbNRq2mVr+qfGFm7jIdHlPtyaEcpH0QO26ys/E=; b=UVqBTsMozFYW0SOIUaHA+9s3r5XEiHZUQu2MMlc/JvyCuwoGpf4gHUVn4Icr3ZWllbouyR 2lHn9LUwQgFR7TS5haxPhyx6ciNZ7vz9qiyA7RBuDEe+xy5YoK3Wb9DU5M3fhE2ic1/Hmz Xj2unk6Idj4hVG55RinPD8zOHICZkm+0pyjTGua9t+vYh3uFB38af9N14dHFLSVFix1erg fQVqBBSGXeUK8YTKSO8P0+vlngv0bMW3ne2UrsWvpp4jJRHNHIVoUvNbjVAfNClS45ryND CPAe5ZCwIHZWc9Gwy+1j/qi8sjuruxSsnA42lcYzNIhOBoRwELVg0pGAvesG3A== Date: Fri, 30 Apr 2021 10:38:53 -0400 Message-Id: <20210430143858.10136-5-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-nltk-3.4): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2fc30b30f8..006ebb1ab0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15056,6 +15056,25 @@ for classification, tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for natural language processing libraries.") (license license:asl2.0))) +;; Versions >=3.5 breaks backward-compatibility, +;; so we keep version 3.4.x around for a while. +(define-public python-nltk-3.4 + (package + (inherit python-nltk) + (name "python-nltk") + (version "3.4.5") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/nltk/nltk") + (commit version))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "1zh8ryzr203zq53nf1wb19gf3bd5y1nd7any56a7vxw4d7hq35nn")))))) + (define-public python2-nltk (package-with-python2 python-nltk)) From patchwork Fri Apr 30 14:38:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29033 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 E277F27BC7D; Fri, 30 Apr 2021 15:41:22 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 9F16927BC7C for ; Fri, 30 Apr 2021 15:41:22 +0100 (BST) Received: from localhost ([::1]:57408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUKX-00086s-T1 for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:41:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJI-0007PA-Aw for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJI-0002tY-1K for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJH-00031J-WD for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 06/10] gnu: Add python-lunr. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356111482 (code B ref 48091); Fri, 30 Apr 2021 14:40:03 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:21 +0000 Received: from localhost ([127.0.0.1]:59482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIa-0002z2-Ew for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:20 -0400 Received: from out1.migadu.com ([91.121.223.63]:28558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIR-0002y5-3l for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:11 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RZc/sAsJdifAyCjy3AM6bTvEpxoEQbiu7DcWja1IrmA=; b=Nj7fU9M7ba/uN+6iCiKLAiWVypGK30h1xbkeM/JbUWOF4r3UA/hzHXWlU0kkOpecS1ZO5r HMiz/rHWtC8jlerx7sNGQmvf+dUhE1os0nUPQ2VjNZxMGKvr74QwyWWmIE2sU7rJotQAbi fWTeF/41u593y0/fZNBpEYGHbhAW4CL6RrjOjv2Wt6VCX4cjwf0S513KBHoJcE+OUDKOZ8 PPwDpVfvvD/YNQGPjxeMoU1DibVoStXBSNz2t3pDhaUdJB+cGiLbBP/SUaADyxWtKSZ2NT ZaiL+x75BwVU/8TxEwPuSGhRD0jTK+b6S4AgHuHzJegQ/8Da6O7744Fc+589Kg== Date: Fri, 30 Apr 2021 10:38:54 -0400 Message-Id: <20210430143858.10136-6-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-lunr): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 006ebb1ab0..1300855e07 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -265,6 +265,31 @@ in terminal.") progress during long-hanging operations.") (license license:expat))) +(define-public python-lunr + (package + (name "python-lunr") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "lunr" version)) + (sha256 + (base32 "106akalywfmnypzkdrhgz4n4740a8xayspybsw59kq06vz8i2qrc")))) + (build-system python-build-system) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-nltk" ,python-nltk-3.4))) + (home-page + "https://github.com/yeraydiazdiaz/lunr.py") + (synopsis "Python implementation of Lunr.js") + (description "Lunar.py aims to bring the simple and powerful full text +search capabilities into Python, guaranteeing results as close as the original +implementation as possible.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Fri Apr 30 14:38:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29038 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 167D227BC7D; Fri, 30 Apr 2021 15:44:37 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 9D22927BC7C for ; Fri, 30 Apr 2021 15:44:36 +0100 (BST) Received: from localhost ([::1]:40332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUNe-0004KE-8u for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJI-0007Q2-Ms for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJI-0002tw-EK for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJI-00031Q-CT for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 07/10] gnu: Add python-mkdocs. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356111491 (code B ref 48091); Fri, 30 Apr 2021 14:40:04 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:21 +0000 Received: from localhost ([127.0.0.1]:59484 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIa-0002z9-S3 for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:21 -0400 Received: from out1.migadu.com ([91.121.223.63]:28563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIR-0002yM-Q8 for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:12 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cxP2JkII2CrL0eNy7KHc0HbY7ZMochpcuAkX6IGH9eY=; b=FsQ9Xio2MDWKZOtKzLGWKSh/dAtEygtOLnULEebE8xySTQ7ywBwkY1fXxmw3m3uz/NRh2S KM9i6CoIA3J1prIXNw6WkbTspZSonXbF8lx1DhleUEdFltXAdyLohvOnF2ZHLpCD9FxAYm qa2EwlTBOQbsENDxTPAtzV2XO6EX2nYPzAnLk5xD8f6tl6ZJYbdrv0+PaFV5Xh/nBmNw2L xZGqlq6pT5ee77dQsJSZhlJTYEjdt9X+nCw/l8vWIg35e2FaJ0529CZy2W5B88yKqLzaxe HuycBMq8/I3VWfXBjl2yTfHfvzc+I9rqsR2s/87q1G1U90Hz3NkZh537Xl2s9g== Date: Fri, 30 Apr 2021 10:38:55 -0400 Message-Id: <20210430143858.10136-7-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-mkdocs): New variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1300855e07..4ade6b3472 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -290,6 +290,42 @@ search capabilities into Python, guaranteeing results as close as the original implementation as possible.") (license license:expat))) +(define-public python-mkdocs + (package + (name "python-mkdocs") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "mkdocs" version)) + (sha256 + (base32 "0fgv5zawpyyv0vd4j5y8m4h058lh9jkwfcm0xy4pg7dr09a1xdph")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Requirements refer to a specific version of dependencies, + ;; which are too old. So we patch to refer to any later version. + (add-after 'unpack 'patch-requirements + (lambda _ + (substitute* "setup.py" + (("==") ">="))))))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-jinja2" ,python-jinja2) + ("python-livereload" ,python-livereload) + ("python-lunr" ,python-lunr) + ("python-markdown" ,python-markdown) + ("python-pyyaml" ,python-pyyaml) + ("python-tornado" ,python-tornado))) + (home-page "https://www.mkdocs.org") + (synopsis "Project documentation with Markdown") + (description "MkDocs is a static site generator that’s geared towards +building project documentation. Documentation source files are written in +Markdown, and configured with a single YAML configuration file.") + (license license:bsd-3))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Fri Apr 30 14:38:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29035 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 0B6A127BC7D; Fri, 30 Apr 2021 15:41:43 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id C9DE627BC7C for ; Fri, 30 Apr 2021 15:41:42 +0100 (BST) Received: from localhost ([::1]:58248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUKs-0008UE-0w for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:41:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJJ-0007Qy-6W for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJI-0002uv-SO for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJI-00031Y-Q5 for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 08/10] gnu: Add python-pymdown-extensions. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356111498 (code B ref 48091); Fri, 30 Apr 2021 14:40:04 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:21 +0000 Received: from localhost ([127.0.0.1]:59486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIb-0002zI-AZ for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:21 -0400 Received: from out1.migadu.com ([91.121.223.63]:28571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIS-0002yT-Fu for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:12 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zq5sSELFux0gHfw4DdiuaOScxYQfPWEtKr2cE9XM4lo=; b=AXUN7O5q56dg5P1SQCu7oRDWCf+ZS/uOLqAteZn8gHVJTwpcIv/w9PzvUpGIFhIuQ6OIki L5A0cflcrNXqOC7dDeKaQ7qmoA0P23M3mZpnmiztJT9bmRxKVz1zn+7cwO8916qeDGaR9i M8rLJbp/scfSJX654ksgY9PQHLOvJxIHOvGVRkgiPpMUWBTrCnOprEtEuRpNZL2692ia1c Ium2NXtOMdRwoPBbIWk7DU5svJa0wRHxO5wrdbFx6P7NM3RR+7+k2QsExwHeFT+RobOY2R f5ZBXrJ5Qe7aAmak3JGczDt4rH8rt5ITW/6W0YGAoi7a/mxPReKygD8MkdgxuA== Date: Fri, 30 Apr 2021 10:38:56 -0400 Message-Id: <20210430143858.10136-8-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pymdown-extensions): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4ade6b3472..e3a03eda55 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -326,6 +326,29 @@ building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.") (license license:bsd-3))) +(define-public python-pymdown-extensions + (package + (name "python-pymdown-extensions") + (version "8.1.1") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "pymdown-extensions" version)) + (sha256 + (base32 "0d8pdndrl1kj105lq7r6kw2dnhcvll6h2qs07w71mcpi7gx728v3")))) + (build-system python-build-system) + ;; FIXME: "AssertionError: False is not true" + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-markdown" ,python-markdown))) + (home-page "https://github.com/facelessuser/pymdown-extensions") + (synopsis "Extension pack for Python Markdown") + (description "PyMdown Extensions is a collection of extensions for Python +Markdown. All extensions are found under the module namespace of pymdownx.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Fri Apr 30 14:38:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29036 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 CEDC927BC7D; Fri, 30 Apr 2021 15:41:43 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 84DD727BC7C for ; Fri, 30 Apr 2021 15:41:43 +0100 (BST) Received: from localhost ([::1]:58314 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUKs-0008Vl-OR for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:41:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJJ-0007RX-IH for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJJ-0002v5-8G for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJJ-00031f-6T for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 09/10] gnu: Add python-mkdocs-material. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356211505 (code B ref 48091); Fri, 30 Apr 2021 14:40:05 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:22 +0000 Received: from localhost ([127.0.0.1]:59488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIb-0002zP-Jg for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:22 -0400 Received: from out1.migadu.com ([91.121.223.63]:28582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIT-0002yZ-EV for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:14 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793552; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wNPyAtE49br39TTV9zPa+fXw67GWcljgCiFTEsNS7uI=; b=VPij6nfpv8D7ew5pOhKNOfvau1482cDOVf8t4tAelyQGL9xG4Q2xmqa8gAzw0rfOUuHGW0 H9NG/SHvy/qeH5xxEH67WY5pKh/xXzQuJTAsTrQ1GIwi5UrayPGc67jWw7kKMmdLHlg8T1 I5Nskk+oBnbhrsqSrybjTPGjxPWFaQSly08UnbBkZzeh2dT37Hq71VW6aJG8RJJjMF6amt jYeLcbsOiIt6jOKLgj2Fobwul50h5X3nfrzh7DNqB8JPLZ91g2deOTlDCoMNPQmxXlGSfh UZtwHfgKnI72AwvH01qFkmjRmG1R20Icj3zaAHp3uIdV0C/9odgwEuf8KBT4tQ== Date: Fri, 30 Apr 2021 10:38:57 -0400 Message-Id: <20210430143858.10136-9-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-mkdocs-material): New variable. --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e3a03eda55..352c9bc8c6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -349,6 +349,40 @@ Markdown, and configured with a single YAML configuration file.") Markdown. All extensions are found under the module namespace of pymdownx.") (license license:expat))) +(define-public python-mkdocs-material + (package + (name "python-mkdocs-material") + (version "7.1.3") + (source + (origin + (method url-fetch) + (uri + (pypi-uri "mkdocs-material" version)) + (sha256 + (base32 "0ci9xiasq9nfn09v11m7p49vzazdbgslw7rpzjd6y3hsmn9vljz3")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Requirement mkdocs-material-extensions + ;; in-turn requires mkdocs-material. This causes + ;; circular dependency, so we remove this requirement. + (add-after 'unpack 'patch-requirements + (lambda _ + (substitute* "requirements.txt" + (("mkdocs-material-extensions.*$") ""))))))) + (propagated-inputs + `(("python-markdown" ,python-markdown) + ("python-mkdocs" ,python-mkdocs) + ("python-pygments" ,python-pygments) + ("python-pymdown-extensions" + ,python-pymdown-extensions))) + (home-page "https://squidfunk.github.io/mkdocs-material/") + (synopsis "Material Design theme for MkDocs") + (description "Material for MkDocs is a theme for MkDocs, a static site +generator geared towards (technical) project documentation.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Fri Apr 30 14:38:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29037 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 6144B27BC7D; Fri, 30 Apr 2021 15:41:51 +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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 1E52227BC7C for ; Fri, 30 Apr 2021 15:41:51 +0100 (BST) Received: from localhost ([::1]:58974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcUL0-0000Lh-9s for patchwork@mira.cbaines.net; Fri, 30 Apr 2021 10:41:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcUJJ-0007ST-Uj for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcUJJ-0002vE-KR for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcUJJ-00031m-IN for guix-patches@gnu.org; Fri, 30 Apr 2021 10:40:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v5 10/10] gnu: Add tgcli. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 Apr 2021 14:40:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48091 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48091@debbugs.gnu.org Cc: Raghav Gururajan Received: via spool by 48091-submit@debbugs.gnu.org id=B48091.161979356211512 (code B ref 48091); Fri, 30 Apr 2021 14:40:05 +0000 Received: (at 48091) by debbugs.gnu.org; 30 Apr 2021 14:39:22 +0000 Received: from localhost ([127.0.0.1]:59490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIc-0002zW-2M for submit@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:22 -0400 Received: from out1.migadu.com ([91.121.223.63]:28589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcUIU-0002yb-64 for 48091@debbugs.gnu.org; Fri, 30 Apr 2021 10:39:14 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raghavgururajan.name; s=key1; t=1619793553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BQzktlqnWeJgmkoWaFONIbFYHuCE+37ENJGyNhas0UU=; b=OT4IEdx+Ps3LaK4PHjzcEZ/M8UvhJHtqJphGNdw4aWbW/3y2cmWPlopUmZ9qyilXBpk6vO wbzaY1F13JJd9UYk1hXF6CvWNKSK5r9CYJKd0J/D0aUeMZigEJp5bXBdfzu3nOKM20vs2O 3WhQwK3u4QDMGafJlufX3dAwm9vgRN4ADTCTTYUlburL0ZO6QvREiqw8SUmWH2sWbFk7fV KZu1Tgxg0p46Z913rm3eKonEe7jruCy8YIA3po26SoYEU5QWnoEmkmeh2CDHS0wBZIyjSH P91hTV0NY+ZkYNf+QHOcJG+EI1RdyIk+L+W7n7vMg6LvB46K6t5ZSitVL96ZDg== Date: Fri, 30 Apr 2021 10:38:58 -0400 Message-Id: <20210430143858.10136-10-rg@raghavgururajan.name> In-Reply-To: <20210430143858.10136-1-rg@raghavgururajan.name> References: <20210430143858.10136-1-rg@raghavgururajan.name> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: rg@raghavgururajan.name 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" Reply-to: Raghav Gururajan X-ACL-Warn: , Raghav Gururajan via Guix-patches X-Patchwork-Original-From: Raghav Gururajan via Guix-patches via From: Raghav Gururajan X-getmail-retrieved-from-mailbox: Patches * gnu/packages/telegram.scm (tgcli): New variable. --- gnu/packages/telegram.scm | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm index c4414287a7..6b1617ab80 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -50,6 +50,9 @@ #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-check) + #:use-module (gnu packages python-web) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages textutils) @@ -68,6 +71,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) + #:use-module (guix build-system python) #:use-module (guix build-system qt)) (define-public webrtc-for-telegram-desktop @@ -813,3 +817,51 @@ formerly a part of telegram-cli, but now being maintained separately.") (description "TG is the command-line interface for Telegram Messenger.") (home-page "https://github.com/vysheng/tg") (license license:gpl2+)))) + +(define-public tgcli + (package + (name "tgcli") + (version "0.3.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/erayerdin/tgcli") + (commit (string-append "v" version)))) + (file-name + (git-file-name name version)) + (sha256 + (base32 "082zim7rh4r8qyscqimjh2sz7998vv9j1i2y2wwz2rgrlhkhly5r")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Test requirements referes to specific versions of packages, + ;; which are too old. So we patch them to refer to any later versions. + (add-after 'unpack 'patch-test-requirements + (lambda _ + (substitute* "dev.requirements.txt" + (("==") ">=")))) + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "tests"))))))) + (native-inputs + `(("coveralls" ,python-coveralls) + ("pytest" ,python-pytest) + ("pytest-click" ,python-pytest-click) + ("pytest-cov" ,python-pytest-cov) + ("mkdocs" ,python-mkdocs) + ("mkdocs-material" ,python-mkdocs-material) + ("requests-mock" ,python-requests-mock))) + (propagated-inputs + `(("click" ,python-click) + ("colorful" ,python-colorful) + ("requests" ,python-requests) + ("yaspin" ,python-yaspin))) + (home-page "https://tgcli.readthedocs.io") + (synopsis "Telegram Terminal Application") + (description "TgCli is a telegram client to automate repetitive tasks.") + (license license:asl2.0)))