From patchwork Sat May 1 15:05:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29050 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 BE8A127BC7E; Sat, 1 May 2021 16:06:12 +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 4EE1027BC7C for ; Sat, 1 May 2021 16:06:12 +0100 (BST) Received: from localhost ([::1]:38998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrC7-0006QE-Al for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrBy-0006PU-KY for guix-patches@gnu.org; Sat, 01 May 2021 11:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrBy-0005cT-Cd for guix-patches@gnu.org; Sat, 01 May 2021 11:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrBy-0006b2-7D for guix-patches@gnu.org; Sat, 01 May 2021 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 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: Sat, 01 May 2021 15:06: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.161988152725246 (code B ref 48091); Sat, 01 May 2021 15:06:02 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:27 +0000 Received: from localhost ([127.0.0.1]:36760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBP-0006Z6-4Q for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:27 -0400 Received: from out1.migadu.com ([91.121.223.63]:57342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBM-0006Yj-BH for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:26 -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=1619881522; 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=LIUNsVVPIeXinaIqKvfc0yBuBaNuKb/hKepTcsNv7So=; b=Bq36+uLVa77dBPpHfHG4Dmtpf86knCLNmQDNW54iSf/ConVqRcizLcqR/QdLmv7i68ZKBH g4f9m45CkkeIB0MAB4CvAzeaKYvw7osXE3KI8xiEmJqtu8pGVpQcbdQzix6Ug2A6K85yO2 OJzX4icoYpZ2K8SnBREb8dh3mqRxMVdGvo1eS58lqVjAZzaz7bxO7IJPLV+RrOu+/LKHQ9 tIV5nx1D36XnN8f4zi/V9IKN6UYLfk7vd8ghMKW7snVmbwKQkg+ezSGVelTSWloGgfntQQ 9+sMo9cZzAhswcCLA3Fzhz/hItIcKv13iADk2h+V6lm2kusDGmOfMQGDQhFcDg== Date: Sat, 1 May 2021 11:05:04 -0400 Message-Id: <20210501150513.26010-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 3fbb7b3366..67331d1064 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 "Colorful provides an array of text styles, that can be used +as functions or string constants to form colored terminal output.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Sat May 1 15:05:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29053 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 964B227BC7D; Sat, 1 May 2021 16:06:21 +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 693F127BC7C for ; Sat, 1 May 2021 16:06:21 +0100 (BST) Received: from localhost ([::1]:39684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCG-0006l4-Jb for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrC0-0006Qr-9v for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrC0-0005dP-1g for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrBz-0006bU-TF for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 02/10] gnu: Add python-yaspin. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988153025311 (code B ref 48091); Sat, 01 May 2021 15:06:03 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:30 +0000 Received: from localhost ([127.0.0.1]:36778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBS-0006Zx-5K for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:30 -0400 Received: from out1.migadu.com ([91.121.223.63]:57348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBM-0006Yk-G4 for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:28 -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=1619881523; 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=Luk1lv9HfIGPKVK6s/AX94ULc1/w/YGAezSdpFBVA04=; b=BJoJC+e2P28muUgDUsvG5Ldbz9r7V8nfUZL6/7HquRJpDVUeL7wjgXkX8btZu5tIC7s162 XoxKptxN2HQM8HcxxS7IemTlcXQkdqrOxfixKuqJptsoO1vAOdVCCIvCPk54XIowsTsCOa MSG66+6Lv7ukPRov5TJRmhNBPJWnrmGxPFYNj3ri3ga4NzmoC4a1a4UMeFkMXHSCQsfft8 hBNOeZ3mfLPo0mWa4Rhvz2fd2Ze3/xg7Z7YSdeBdvDzuKskVZ0+tryKISSfRy//Saq2bf7 tIJL1Me/z5k8Io2pAMaM7fFdQlr4WRyIKxozZp8e6M01/hzk8wco6R52ljuowA== Date: Sat, 1 May 2021 11:05:05 -0400 Message-Id: <20210501150513.26010-2-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 67331d1064..aab53bd869 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -245,6 +245,26 @@ as functions or string constants to form colored terminal output.") (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 terminal spinner to indicate the progress +during long operations.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Sat May 1 15:05:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29051 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 D2FE727BC7C; Sat, 1 May 2021 16:06:12 +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 6732427BC7D for ; Sat, 1 May 2021 16:06:12 +0100 (BST) Received: from localhost ([::1]:39004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrC7-0006Qc-GS for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrBz-0006Pp-0v for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrBy-0005cX-PX for guix-patches@gnu.org; Sat, 01 May 2021 11:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrBy-0006b9-Kl for guix-patches@gnu.org; Sat, 01 May 2021 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 03/10] gnu: Add python-pytest-click. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988152825258 (code B ref 48091); Sat, 01 May 2021 15:06:02 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:28 +0000 Received: from localhost ([127.0.0.1]:36764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBP-0006ZA-RQ for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:28 -0400 Received: from out1.migadu.com ([91.121.223.63]:57356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBM-0006Yl-L7 for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:26 -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=1619881524; 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=Lrb9c8aujuv/Q4YHxERwCqTTNxGgx3q2GP5Jao4ufnw=; b=tIs1fZmncatN19/RIn0A8HYG6gg9XRvRFx/4eruPHA6wf6HloUjryklwpvQMNr05Zohmb5 mvhuOl1uB8M/5CEUbw6JzGfAVcY4xhNG5rNfGcMA7XoYdC1hJnmDAlZhn9p4eec0fnijZb js8OlfrSwDxzh6VMNEfuDzkkvpmD5Z7APEK33ZB2B/w+2WZiKntrJ6nfclgZs9jEZ9DUfS tc/6NKc35zPn1mxhFtFUWF5KqAAD5WHXBfBgmpWgAee2jQ9cndVDDnPok3FURKPdgIjwVZ nsWxQywgc/8S4BoJDCbBRcT9F3f14or1kowgwywJ/Bt8l+JoxdlEPmFZHFlwvg== Date: Sat, 1 May 2021 11:05:06 -0400 Message-Id: <20210501150513.26010-3-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b68f23a220..01922b0d9d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -46,6 +46,27 @@ #: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 "This package provides a plugin to test Python click +interfaces with pytest.") + (license license:expat))) + (define-public python-testfixtures (package (name "python-testfixtures") From patchwork Sat May 1 15:05:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29058 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 8453527BC7D; Sat, 1 May 2021 16:06:44 +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 0079927BC7C for ; Sat, 1 May 2021 16:06:44 +0100 (BST) Received: from localhost ([::1]:40736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCd-0007G5-8e for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrC1-0006Tx-JR for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrC1-0005ep-9E for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrC1-0006bp-46 for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 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: Sat, 01 May 2021 15:06: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.161988153225336 (code B ref 48091); Sat, 01 May 2021 15:06:05 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:32 +0000 Received: from localhost ([127.0.0.1]:36784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBU-0006aT-9i for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:32 -0400 Received: from out1.migadu.com ([91.121.223.63]:57363) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBN-0006Ym-DH for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:29 -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=1619881524; 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=g2zmV/jl0MqSHpzRczkN+opOhUnuvXaDuLYKTpVn00Q=; b=lOhRrvQmiujnWlwClRU5RUP1fR/fhbnVQc22DijFD5hsbWOJ7heH1OpEdoKNPY+acI/bV9 Ouuq6ODv3k/oza2+8enEnelwOTPu6NpH9fYmb76dTk0ZrK+mjBKvl2jeBaMkp5UUaXCimQ cx6IM2KBTAOX8X2Uk/kFoVB8g+VFvIe63LAkC2W8d2LitUWh1WO8pXIce4judPrVQD7BP+ /7cWOdYP3boV2xMPCDfYd3rRQ8AA/xfZiluw5CCf9iSq6CV/75t/FiM6Hu9vNFrzKyaOaJ w1/wAncSO/TMpgPpfgW98YiEs8JSOy4pHPHWJeTSu1WAS0Z9o890H1k1Omst9w== Date: Sat, 1 May 2021 11:05:07 -0400 Message-Id: <20210501150513.26010-4-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 aab53bd869..a17a2b11b1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15053,18 +15053,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 Sat May 1 15:05:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29054 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 A340327BC7D; Sat, 1 May 2021 16:06:20 +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 6BC8227BC7C for ; Sat, 1 May 2021 16:06:20 +0100 (BST) Received: from localhost ([::1]:39626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCF-0006jc-Jz for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrBz-0006Pw-Dp for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrBz-0005cd-6B for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrBz-0006bG-1m for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 05/10] gnu: Add python-nltk@3.4. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988152825270 (code B ref 48091); Sat, 01 May 2021 15:06:02 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:28 +0000 Received: from localhost ([127.0.0.1]:36768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBQ-0006ZL-61 for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:28 -0400 Received: from out1.migadu.com ([91.121.223.63]:57370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBO-0006Ys-Go for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:26 -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=1619881525; 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=x6A3IFCv7dAFcHWCRhcBW6NKmPo8Y18xhTn4Vqao1yA=; b=oASyb7VboJkcXwCdgdeieWQQHrT7dF3IHauMspvs+A6CzJcHC+TgyPMw9LfCSVxI0tcvsF LzN2DMQbvgPz4ghFWIin1jS9Yli+u5qHNCKwpYq9UuPo0+hVFFP+ssKNQ1QMI1Ezcu4Kwn pJLLrcinB8FzWQ8a79ilwrPbWcH+dTLDxOzR9pyeuiI2agHt9neizcdEz6yD2juS7DJP04 SWezLSCjgkNW4RK+ZTrQrGPvAFP4SmPwNY2hEOqhl2wvB+JkBQXj0XpxqK+HYXot+3AooQ ZAU8y8ZUcB6GKDmV6grsBg7fL6XFw+7IxC8DjXOyvodDDFJP3zH8i9rDG2tJzw== Date: Sat, 1 May 2021 11:05:08 -0400 Message-Id: <20210501150513.26010-5-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 a17a2b11b1..912868f0e8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15075,6 +15075,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 Sat May 1 15:05:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29052 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 689B327BC7D; Sat, 1 May 2021 16:06: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=-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 3069327BC7C for ; Sat, 1 May 2021 16:06:13 +0100 (BST) Received: from localhost ([::1]:39034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrC8-0006Rg-B1 for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrBz-0006QA-RY for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrBz-0005dG-Jx for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrBz-0006bN-FO for guix-patches@gnu.org; Sat, 01 May 2021 11:06:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 06/10] gnu: Add python-lunr. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988153025297 (code B ref 48091); Sat, 01 May 2021 15:06:03 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:30 +0000 Received: from localhost ([127.0.0.1]:36772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBR-0006Zn-JP for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:30 -0400 Received: from out1.migadu.com ([91.121.223.63]:57375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBP-0006Z5-8k for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:27 -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=1619881526; 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=wA+lBCU5ST7DEschkws2vQPWnn9ZHwKPf0pt4eitoTc=; b=XBoVZ7r45RGNU7AR0g9b4HDGy/zdJIwO75E5eyerjp59TDQhX2MhBZxlYdkY1LGR9TdCj+ raJ7GEN8jzYcWqod1OYS9MUx8GTGzWT+Qvnt6x8AdkXrjbEamVaxR9agToVFWxDVCgqc4k g2Mw/1waPD61ju1HlTCDGCXEHKW/EhkiyvJE9WdvHFFHJ5wGg61FRiluhTqgjAqIbGZLtc Ic2+kqa/D3OJcibLL8QIDLTFOGd1d2f31D0tVNpuE4Tu7i4bg30exhYmgA5RczeOFF88nz wHV1PdUh3ALghVdaq/kT0LJ2TS9XQA4k67tFlj30VU8n7c2EpQehRyqh+NYqmg== Date: Sat, 1 May 2021 11:05:09 -0400 Message-Id: <20210501150513.26010-6-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 912868f0e8..504b8ec34a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -265,6 +265,30 @@ as functions or string constants to form colored terminal output.") during long 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 "This package implements full text search capabilities in +Python. It provides similar results to Lunr JavaScript.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Sat May 1 15:05:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29056 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 7EA9127BC7D; Sat, 1 May 2021 16:06:32 +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 42CFB27BC7C for ; Sat, 1 May 2021 16:06:32 +0100 (BST) Received: from localhost ([::1]:40104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCR-0006x2-Fv for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrC0-0006Rh-Nt for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrC0-0005dz-Fm for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrC0-0006bb-BA for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 07/10] gnu: Add python-mkdocs. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988153225321 (code B ref 48091); Sat, 01 May 2021 15:06:04 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:32 +0000 Received: from localhost ([127.0.0.1]:36780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBT-0006aJ-LI for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:32 -0400 Received: from out1.migadu.com ([91.121.223.63]:57380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBP-0006Z7-W7 for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:29 -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=1619881527; 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=sf2I5fTeXqyxWBihozzTK20LdYIGljzFaUtWV1X0VYM=; b=UIjnSkvVvl7kAi+Q0uFMntxlwifH4oOdpZf9WwqVGQcLPEvHM/5xf5hPhLmMskeGfOgegZ WlcruwyD7PzsnkS/GiKTuuRREHZtMKfN5Skz1rwVIleT8fwLO9Syg6/Iga1QWN/biziVCL 7j64GbSb168+pfjWK+FjOrPsq4AKh47sXn6wl4wwdck4jc4GnVoNW2lTrg1L+YJWH86Tcp KyRTUk7T5/YpBHx0AuVw+QWCgZDj0hCp1aYP6AAwtCfh3YjavZkDzIXjcomh5P/3Nf/pHE FqzRpSLc4cyHikg7ddKd5p+kzXnkBriKE4AgFbiAI9krKhholnngnffZuLDaOg== Date: Sat, 1 May 2021 11:05:10 -0400 Message-Id: <20210501150513.26010-7-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 504b8ec34a..88cd6b22f5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -289,6 +289,42 @@ during long operations.") Python. It provides similar results to Lunr JavaScript.") (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 Sat May 1 15:05:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29057 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 D0AF627BC7D; Sat, 1 May 2021 16:06:38 +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 9C7AD27BC7C for ; Sat, 1 May 2021 16:06:38 +0100 (BST) Received: from localhost ([::1]:40524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCX-0007Ai-S4 for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrC1-0006So-5H for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrC0-0005eA-Sv for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrC0-0006bi-Nf for guix-patches@gnu.org; Sat, 01 May 2021 11:06:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 08/10] gnu: Add python-pymdown-extensions. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988153225328 (code B ref 48091); Sat, 01 May 2021 15:06:04 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:32 +0000 Received: from localhost ([127.0.0.1]:36782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBU-0006aM-2N for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:32 -0400 Received: from out1.migadu.com ([91.121.223.63]:57375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBQ-0006Z5-CE for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:29 -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=1619881528; 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=uybXNsk035WeIwo3hFtmcC+lVNjiz2ohXtqQp7j0dLY=; b=A7li2zjHMFhOP+seAk5tI9S/b5RXmaw3dsjf79FA5pox2EbiTYBR2c+BL8/D8S729f9WTJ sEGv60JSC/dq9+qsiseaCr45LBzgKZLnGoZ1q/dJTN7RVf/Z+zSVdEoHHJ146wq+PfDZAp 04z7g1JSCSRYaQ07BJrW9U8YuEUsvssBYkAGfjQ/EnxdL39zIeYN9z2Eb40PgVuy0ovzUe e1ONe1kitjaTz9J9DpYKtudJ9fWLHJpi2lriAdSHJOl4z53pwpYMFOMdotewGL68T7fyIV r6YZooLGRpN3mvoLOMJdsGq0CeYA96/oPQRl9OBviKDqSlh5zakZEzTsxwqMFg== Date: Sat, 1 May 2021 11:05:11 -0400 Message-Id: <20210501150513.26010-8-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 88cd6b22f5..f1c8506636 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -325,6 +325,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 Sat May 1 15:05:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29055 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 EBC4427BC7D; Sat, 1 May 2021 16:06:31 +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 A59A327BC7C for ; Sat, 1 May 2021 16:06:31 +0100 (BST) Received: from localhost ([::1]:40066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCQ-0006wC-SC for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrC1-0006Uv-Uc for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrC1-0005f2-MW for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrC1-0006bw-HI for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 09/10] gnu: Add python-mkdocs-material. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988153225343 (code B ref 48091); Sat, 01 May 2021 15:06:05 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:32 +0000 Received: from localhost ([127.0.0.1]:36786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBU-0006ab-H8 for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:32 -0400 Received: from out1.migadu.com ([91.121.223.63]:57388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBR-0006Zd-FO for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:30 -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=1619881528; 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=ABsGNRa1/I4e49szAuEHs5JgHpVe5evSF9JMilvIViI=; b=TyEjpiWhddPHIHmKfYFb3Alo8xjZpLi5aIV2PgqPk6+f9Kn9GlxIk0YajxMuGYrZk/SRg2 Fm3dggerERnYkMHstQ04MXFt5WTx2v6kdxE0PyMQxfCeGXN0dKR7D4K1XuGfzSwUwm6Wwu Ia80MW66C+sPYwwdF8lVsA1Hf4H4qmJrW/d+0xw2JzzmMjB4ay+9aVVKPxcIJ4ZfICmeS5 4L2WIaVfuP+dB6Rlva1XlxXQDjnpP4d82zYxwEmT9a9Hp7yVYdUsdUTQMzyXUO3MSM3jmW 0A7fobgeweipF8XNTG+5UA7n5grP9s+ywE21RO6CrJULcK/FHTS0OS41SfZI9Q== Date: Sat, 1 May 2021 11:05:12 -0400 Message-Id: <20210501150513.26010-9-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 f1c8506636..a2629381dc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -348,6 +348,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 "This package provides a theme plugin for the static site +generator MkDocs.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Sat May 1 15:05:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29059 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 D1E6027BC7D; Sat, 1 May 2021 16:06:49 +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 9345627BC7C for ; Sat, 1 May 2021 16:06:49 +0100 (BST) Received: from localhost ([::1]:40952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcrCi-0007LP-RJ for patchwork@mira.cbaines.net; Sat, 01 May 2021 11:06:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcrC2-0006Vr-Dm for guix-patches@gnu.org; Sat, 01 May 2021 11:06:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcrC2-0005fD-3v for guix-patches@gnu.org; Sat, 01 May 2021 11:06:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcrC1-0006c3-V5 for guix-patches@gnu.org; Sat, 01 May 2021 11:06:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v6 10/10] gnu: Add tgcli. Resent-From: Raghav Gururajan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 01 May 2021 15:06: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.161988153325349 (code B ref 48091); Sat, 01 May 2021 15:06:05 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 15:05:33 +0000 Received: from localhost ([127.0.0.1]:36788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBU-0006ai-Q0 for submit@debbugs.gnu.org; Sat, 01 May 2021 11:05:33 -0400 Received: from out1.migadu.com ([91.121.223.63]:57380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcrBR-0006Z7-U5 for 48091@debbugs.gnu.org; Sat, 01 May 2021 11:05:30 -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=1619881529; 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=sm+ejLKYbR+hYSuXwUrVFvSa+AdIoufuXv8uYYZcBe0=; b=OacQ9tNAut2HrcTni4WSkwRTs+6EgM8n93PWWHrVQjWI8wbpmauGOho2tTlwS2lZbVID9j C3567gTVc+2GrvjC6Kjv4inElWJ8TD1tmtLdcqob5akZyPJP9x7UE3dnD7m3+GspOXqUcA ZWmqBTmNEGvMIXfs5Li6zT5wBuOVEujnAwVNMp6odARyqdfdfOLULziKDxWduM6rS3Cg7E QsnJjynvJ9eQ0MbzTuK72ZA+1cJoinV2kvTpVSwHnMYZMnoOXSDR+PI1OFcS29XrlgWAfo vKB7bYGbN9U8i3cU7LRnE/X96kYWN8yhwCUKI66kSKbtYuRF4nhl0lh5X0RdWA== Date: Sat, 1 May 2021 11:05:13 -0400 Message-Id: <20210501150513.26010-10-rg@raghavgururajan.name> In-Reply-To: <20210501150513.26010-1-rg@raghavgururajan.name> References: <20210501150513.26010-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 e6bfe6c4f2..6f77482117 100644 --- a/gnu/packages/telegram.scm +++ b/gnu/packages/telegram.scm @@ -49,6 +49,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) @@ -66,6 +69,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 @@ -783,3 +787,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)))