From patchwork Sat May 1 17:21:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29060 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 1610B27BC7D; Sat, 1 May 2021 18:22:14 +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 D687127BC7C for ; Sat, 1 May 2021 18:22:13 +0100 (BST) Received: from localhost ([::1]:43222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctJk-0002tY-VV for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJa-0002pp-VF for guix-patches@gnu.org; Sat, 01 May 2021 13:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54140) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJa-0004Hf-Ke for guix-patches@gnu.org; Sat, 01 May 2021 13:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJa-0003kF-GT for guix-patches@gnu.org; Sat, 01 May 2021 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970314326 (code B ref 48091); Sat, 01 May 2021 17:22:02 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:43 +0000 Received: from localhost ([127.0.0.1]:37421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJC-0003iO-27 for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:42 -0400 Received: from out0.migadu.com ([94.23.1.103]:42384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJ9-0003hy-RT for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:37 -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=1619889694; 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=SLKKQ0wcxQX0HC7GoT2xzjqXpGbDs8dTOk4qyd2KwaWkoyuIfnCRf87XolX8bT9s1WtXjT ii3afKJCYCNFPBF877NI5ScAhm+hI66cK0dgsGSk5onCLwkWBJ4hgqXf8vH8crijYGJxaW 8DurZM7coyDZCRcNpI06oHR1QQnVXO0cAeOdD4qSJvgimf+nvf2sVK1qM+0uMov4LGMmN0 t9dBWPHEED2wjDxzdBn7qMby4idkJ0dIOJkyafw2BVJ5osqdxcFPKzm9OAkFCNmZtvPEjv etVBk3ltFruZ7czvFSTcI3sYZAIpzcFIjZr3qbWCJTJJ7mDAfndLFCg5b4R5qg== Date: Sat, 1 May 2021 13:21:17 -0400 Message-Id: <20210501172126.28033-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 17:21:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29062 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 2837227BC7E; Sat, 1 May 2021 18:22:42 +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 D899227BC7C for ; Sat, 1 May 2021 18:22:41 +0100 (BST) Received: from localhost ([::1]:44070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKD-0003Gi-36 for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJb-0002r3-MS for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJb-0004Hp-Dp for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJb-0003kT-AJ for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970314340 (code B ref 48091); Sat, 01 May 2021 17:22:03 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:43 +0000 Received: from localhost ([127.0.0.1]:37437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJH-0003j8-AV for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:43 -0400 Received: from out0.migadu.com ([94.23.1.103]:42391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJ9-0003hz-RI for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:37 -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=1619889694; 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=ZNsD6sXPpbzh7zpGmlAwTDN/VYgiaWeTkWWsE+sQQB3l8LJ2La4qJuNhQyCQ59JZskC2e6 SmLSSLmVgbOJ0w3kGjwVxZAAfYKbBuju3iKgHtJYzQBsW7c5BM0fiz1GeCIEnKNQZrOyMb 5yKyqKdmeNk3mmJqSLMrXQ6Wr3IkYDgizqy6LRxSAl7uqGKN50XRmyKVonzdRrwdjXU6sK ufGNq13W7Y8IRS4FMYcB3eG1aSSOx/IixA+RvbjQPhVTNqDoCeOrFV5tIddcEk6LoZOrP/ 7RWd52+oMckbiMJ+ZmsgqhN5ajp4MjcAd70oY93iJI5FTqxUVURzchrXAOnkWQ== Date: Sat, 1 May 2021 13:21:18 -0400 Message-Id: <20210501172126.28033-2-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 17:21:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29067 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 6B68B27BC7D; Sat, 1 May 2021 18:23:04 +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 3966B27BC7C for ; Sat, 1 May 2021 18:23:04 +0100 (BST) Received: from localhost ([::1]:45984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKZ-00043C-Ef for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:23:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJb-0002qU-Bb for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJb-0004Hj-2s for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJa-0003kM-Uq for guix-patches@gnu.org; Sat, 01 May 2021 13:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970314333 (code B ref 48091); Sat, 01 May 2021 17:22:02 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:43 +0000 Received: from localhost ([127.0.0.1]:37435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJG-0003j1-Vv for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:43 -0400 Received: from out0.migadu.com ([94.23.1.103]:42397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJA-0003i0-04 for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:37 -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=1619889695; 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=pnxX7MHYTwa/aYqgpuPKXRRMjZlnW/uNXlBkDxtQPDTH5LepBjZZfzrgmap5rHLEh1XuSH D2jBtjdJ9X8xGPSGBMheNjXM6+h6vOwqySvnCEpZ/8xuL1MrIBy6A7FzSUzzLQ0c/44bOd 8Ck5Vtbin+TpcUlOG9lwDMkOcZnuo2vlamHKieB9/NZROtOx1d+/a0pZ7XPveISbF2bTVu IzBZ+2RLCcccmQmy+kFqdaup2GGxhciZT5j/DgPnhlIRLcU64RYZlLyiw8iAsIfCV252/5 9DH6YlqtbEyYicMtpfxtbln4BaqkcDjW8Q3A05f3jeiLIOIR3aRxKFD0CMyVRA== Date: Sat, 1 May 2021 13:21:19 -0400 Message-Id: <20210501172126.28033-3-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 17:21:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29064 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 DC24327BC7D; Sat, 1 May 2021 18:22: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 A2F8D27BC7C for ; Sat, 1 May 2021 18:22:51 +0100 (BST) Received: from localhost ([::1]:44892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKM-0003cq-Si for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJc-0002rg-1V for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJb-0004IC-Q0 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJb-0003ka-ML for guix-patches@gnu.org; Sat, 01 May 2021 13:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970414347 (code B ref 48091); Sat, 01 May 2021 17:22:03 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:44 +0000 Received: from localhost ([127.0.0.1]:37439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJH-0003jF-Hx for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:44 -0400 Received: from out0.migadu.com ([94.23.1.103]:42405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJA-0003i1-T5 for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:37 -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=1619889696; 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=couJX8lxAl8H6iql7uuryg6tFaHgwaht3fd1Zq/7Q1XU1ZWk/CQ/mami1QiRjdZAYOuZQz FvTYKHkeuF+fCDBZxgrjUF+gtS0dcSZTobSrpZ97zlrR6YF7KDqc+BbxxdTevSMi1CGHEk kcx0SKEqRjVR5lO1snRwz0Gb3Kb6GNcE/tfw+kjZidP4MLtJGZkG4ZqHR122SPdBFT5AJu XxT8sSYFvOIvIHqQCtl0lfgDu//XRfpmiRgvWpJtBH049hOxwm02Y0cEf7P5Yjys1VnNoM bzc1nWcqhdGhiwKU8ogM6CxYl7dhZs8W+MFhH4z/E/ntW8QeANSrH/pixyIMRg== Date: Sat, 1 May 2021 13:21:20 -0400 Message-Id: <20210501172126.28033-4-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 17:21:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29063 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 8D00327BC7C; Sat, 1 May 2021 18:22:42 +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 F07E627BC7D for ; Sat, 1 May 2021 18:22:41 +0100 (BST) Received: from localhost ([::1]:44086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKD-0003H2-6X for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJc-0002sv-QN for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJc-0004JB-If for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJc-0003ko-F3 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970414361 (code B ref 48091); Sat, 01 May 2021 17:22:04 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:44 +0000 Received: from localhost ([127.0.0.1]:37443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJI-0003jT-At for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:44 -0400 Received: from out0.migadu.com ([94.23.1.103]:42422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJC-0003iP-FY for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:39 -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=1619889697; 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=HZsQdxFVYN0gYfFhAxy1x2C54GccmUPe+QmoELHftnA=; b=USdOM/rK2Nbo+OydAe3EP5+X/VBP7fcK9neYQBQsut2HGs/OzI0LiKyZg9iIPXcnbC3xC+ 6xRlMQygsKL8Tu81GFPokzwFrDw40GtNqsWG+Kg9BPZBZntV/lBlz89PLoB1k9lu+JiQ8T 1X8Ui6U2wiPjDzbgCv8jqmkGEEhYPL3DBhmLCgQ4Y/ccMy9+br0sH25eZ2bvUA48Uwq1R0 ZEXs1s8IUW4htG6FcbEhgQvfGooSk60nb3+8q4FcOYN4Z3UH/B/1DFIWYoY/zBehxHoN1G nsnmxmp/iTxv3gqgDexW1A+bjd8/6P8Bt7D1JPx8KORiAfA/xjF1hBbro3MZLg== Date: Sat, 1 May 2021 13:21:21 -0400 Message-Id: <20210501172126.28033-5-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a17a2b11b1..9dc191dcb5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15075,6 +15075,19 @@ 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) + (version "3.4.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "nltk" version ".zip")) + (sha256 + (base32 "153x2clrnigs74jdgnn3qmljdjj4gprmvpdvh49i18ls4m8mbm5y")))))) + (define-public python2-nltk (package-with-python2 python-nltk)) From patchwork Sat May 1 17:21:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29061 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 947AF27BC7C; Sat, 1 May 2021 18:22:14 +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 26AF527BC7C for ; Sat, 1 May 2021 18:22:14 +0100 (BST) Received: from localhost ([::1]:43268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctJl-0002ut-8k for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJc-0002sL-F0 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJc-0004Ib-69 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJc-0003kh-2N for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970414354 (code B ref 48091); Sat, 01 May 2021 17:22:04 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:44 +0000 Received: from localhost ([127.0.0.1]:37441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJI-0003jM-2g for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:44 -0400 Received: from out0.migadu.com ([94.23.1.103]:42432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJD-0003iQ-3r for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:39 -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=1619889698; 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=xVr2pNeXhvzB/W75RbUvmNmrxvTyw92lbYYAIbkm9TU=; b=R1HGmOKllqtHUuTabMR3Zx+KA0EXkXVmRCd1dzwoGsYiqe+cDWfXQpy4zr6mNQmIVXfbmO rvSYvSeR1AulL2KqYLienw2b6yz9DCT+TDOEpVxJhk7CNiZbxWFhG7c0Se85UrEUpFv/EC WBSoGmNwsbT/1G/ki1UMYV7LMzYwToz6XTOCaV3PkokoXSsgcnICULN5s6FeX2VZK40JK6 hT9Y22Fz1KPIrsNkP5jaOHveR7rzuTF/V/Bm48DIbeIN+oyiNGgvfb9GO1iAVQyvhVB6ph /a4widiaIGysaWzNsmaxqQQswwbhh+oxuHpjvDI7ElfISCG7ISFu+roYpABI5g== Date: Sat, 1 May 2021 13:21:22 -0400 Message-Id: <20210501172126.28033-6-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 9dc191dcb5..ec45958134 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -265,6 +265,31 @@ 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 "Full-text search library") + (description "This package provides python library for full-text search. +It indexes documents and provides a search interface for retrieving documents +that best match text queries.") + (license license:expat))) + (define-public python-slixmpp (package (name "python-slixmpp") From patchwork Sat May 1 17:21:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29068 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 EC80427BC7D; Sat, 1 May 2021 18:23:09 +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 B865E27BC7C for ; Sat, 1 May 2021 18:23:09 +0100 (BST) Received: from localhost ([::1]:46418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKe-0004E7-W7 for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:23:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJd-0002tp-7U for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJc-0004JG-Uj for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJc-0003kv-RJ for guix-patches@gnu.org; Sat, 01 May 2021 13:22:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970414368 (code B ref 48091); Sat, 01 May 2021 17:22:04 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:44 +0000 Received: from localhost ([127.0.0.1]:37445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJI-0003ja-Jd for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:44 -0400 Received: from out0.migadu.com ([94.23.1.103]:42438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJD-0003iW-O4 for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:40 -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=1619889699; 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=X2TW6vobIWNorUa5WqFmeRTOs+/kvvBCOf0J92wz27s=; b=WLPI8Yov3mTexm/Qmt6tMK9hQ1R0PXQORJybL6YMdcNCfCf/V/2pOo4O/yKEQ2DQRCbcFZ ZRMOQoc/Q/gRB0A5x5nno1wSMzKHILv8O0X7Im+Tw6/vaE1tLvq/5DP65/Ud0kv1KZR0A8 XMPAsUzBzkRVI68SXDJXCDrvrn/m0i+msIOUWCDZ3htr4KbQjVX/jgofX9oL8v57tS9tLt DveFzfmyqqmIybuHz/ewxQYU+i7H8ryiTa3dJa8wSleO5ym72eXjEV7IDYKUlud75hNgP2 TZRyguRrqIMHZFIkk9yen2kObBWYb7T//BoPb/qjf310EbHVmRWOZG1oix6Xpg== Date: Sat, 1 May 2021 13:21:23 -0400 Message-Id: <20210501172126.28033-7-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 ec45958134..d076fa1c16 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -290,6 +290,42 @@ It indexes documents and provides a search interface for retrieving documents that best match text queries.") (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 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 17:21:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29069 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 5019727BC7D; Sat, 1 May 2021 18:23:16 +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 1F59627BC7C for ; Sat, 1 May 2021 18:23:16 +0100 (BST) Received: from localhost ([::1]:46626 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKl-0004JU-CB for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJd-0002uj-JU for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJd-0004JM-B0 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJd-0003l3-6l for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970514375 (code B ref 48091); Sat, 01 May 2021 17:22:05 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:45 +0000 Received: from localhost ([127.0.0.1]:37447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJI-0003jh-TD for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:45 -0400 Received: from out0.migadu.com ([94.23.1.103]:42445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJE-0003id-F2 for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:40 -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=1619889699; 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=OLjHdXXj73oRpyd/lApaHKdKhWhuiIQ7aPIO5SdqF/k=; b=u7Ishot+p+c99lL1L377zsa1LymXWNZShQpC7PCWmKuyhHGDNqYthDWFzltzgeemlkVyQf I80KVI6KKjQLVVcHcvqHqLmtqmelK/3MiU7Zb6kudrecwMCTFuAdxTAoqk34OjJR7iBhWH NrfMxJJUaPutFM6+MQBm0sztYHiHEZjOyEIt+nAhJyjyrSDqwZ6C+i4BtyopBWWSqYSXaL cnZrMvq7FHQH3+Ij1LdMeRrGorupy6NvtRAl7PfUAXtf4wAnUn2G5J8kY7gr4RTZnfX5XU eiMe34exCOi2DR4xAVEvBnTwxoYBiwhT0JJZmuZl19W7yEdEYmHwq1Y0jbTWCw== Date: Sat, 1 May 2021 13:21:24 -0400 Message-Id: <20210501172126.28033-8-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 d076fa1c16..5e6579a5ae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -326,6 +326,29 @@ 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 17:21:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29065 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 1886427BC7D; Sat, 1 May 2021 18:23:00 +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 D87AE27BC7C for ; Sat, 1 May 2021 18:22:59 +0100 (BST) Received: from localhost ([::1]:45574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKV-0003tJ-3m for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJd-0002ve-VV for guix-patches@gnu.org; Sat, 01 May 2021 13:22:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54149) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJd-0004Jz-Mp for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJd-0003lA-J8 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970514382 (code B ref 48091); Sat, 01 May 2021 17:22:05 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:45 +0000 Received: from localhost ([127.0.0.1]:37451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJJ-0003jo-3v for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:45 -0400 Received: from out0.migadu.com ([94.23.1.103]:42456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJF-0003io-A5 for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:41 -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=1619889700; 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=kN3R5U4AjghoYWFUsZqYm0cGBOnjF+Jekozqxp/0LCk=; b=gC5hsCJp9uDKMA8idsGHjducqsd4yxgRAon6jQg7fp5cAVa1pYIEx9MIaEZ4ddJY6wcjKl 9QRxTbVnZ9f6f0NUK8RzIaBkb1xEfy7WC3IQzKkk3T0ZIfIlDqr3MYMKuBg9brfWGF6Ej1 l1qirbr8QwjvLoX767tiEBEheSrRm011UFYkNXJokxxprHZD5PJLxKldMOS9l749uaYv4G sMwRAxayMHxgPUvjxls/MAiNJYaIaJ6LYS/JLH3Q0RcXPmkY3Uw426McEilGYbcbuQ2Mgy Z1OP5VE9Nbd6zW6za0K2jqg332HGHoPtMMgkig/pdYPwdiGIMJ0bKOVTtbgcnA== Date: Sat, 1 May 2021 13:21:25 -0400 Message-Id: <20210501172126.28033-9-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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 5e6579a5ae..ab12c3b69c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -349,6 +349,40 @@ 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 17:21:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raghav Gururajan X-Patchwork-Id: 29066 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 3FF4327BC7D; Sat, 1 May 2021 18:23:01 +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 BF2B427BC7C for ; Sat, 1 May 2021 18:23:00 +0100 (BST) Received: from localhost ([::1]:45670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lctKV-0003vR-Uq for patchwork@mira.cbaines.net; Sat, 01 May 2021 13:22:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lctJe-0002wL-Bw for guix-patches@gnu.org; Sat, 01 May 2021 13:22:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lctJe-0004K3-24 for guix-patches@gnu.org; Sat, 01 May 2021 13:22:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lctJd-0003lH-Ux for guix-patches@gnu.org; Sat, 01 May 2021 13:22:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48091] [PATCH v7 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 17:22: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.161988970514389 (code B ref 48091); Sat, 01 May 2021 17:22:05 +0000 Received: (at 48091) by debbugs.gnu.org; 1 May 2021 17:21:45 +0000 Received: from localhost ([127.0.0.1]:37453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJJ-0003jv-CY for submit@debbugs.gnu.org; Sat, 01 May 2021 13:21:45 -0400 Received: from out0.migadu.com ([94.23.1.103]:42463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lctJF-0003ip-W3 for 48091@debbugs.gnu.org; Sat, 01 May 2021 13:21:42 -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=1619889701; 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=BeFHUR+FCRsBawBX/eIYNOX8QsV+e2FK2vSK9IFzwVz13Di/yqYw8biebM8TS2n31ALvLt MlV+n/X6I5Mu6AXIKUftNjhesNqGRPG8GZdTjX/fD8BAfJkUa7TakRzs0rNnV+QgpoWdJs 1DZ4U8ypNOiLedWwh/Y34guXNbehaFL0903I6CLcBtl2Qq8qypJ+d8wE82vfciUTJbmacy PoFtfd/tuehnWKWw9QV4Ndiue7tqrmto8RKPzg2zn8S+PLx/z+2s0ntIDTDe1TECb+FGm7 7SCDmh/oMkc0CO11RrrTtL6v2zGswFQmAoNbiz03IwhOaaQG0v3xdepeXGCzig== Date: Sat, 1 May 2021 13:21:26 -0400 Message-Id: <20210501172126.28033-10-rg@raghavgururajan.name> In-Reply-To: <20210501172126.28033-1-rg@raghavgururajan.name> References: <20210501172126.28033-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)))