From patchwork Thu Feb 18 14:06:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 27126 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 11A3627BC49; Thu, 18 Feb 2021 14:08:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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 AFC0B27BC48 for ; Thu, 18 Feb 2021 14:08:23 +0000 (GMT) Received: from localhost ([::1]:42016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCjyg-0006ig-K5 for patchwork@mira.cbaines.net; Thu, 18 Feb 2021 09:08:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCjxO-0005Pb-M6 for guix-patches@gnu.org; Thu, 18 Feb 2021 09:07:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCjxO-0004Sm-Bm for guix-patches@gnu.org; Thu, 18 Feb 2021 09:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCjxO-0007Rd-6w for guix-patches@gnu.org; Thu, 18 Feb 2021 09:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46616] [PATCH] gnu: Add python-tldr. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Feb 2021 14:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46616 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46616@debbugs.gnu.org Cc: Tanguy Le Carrour X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161365721128593 (code B ref -1); Thu, 18 Feb 2021 14:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2021 14:06:51 +0000 Received: from localhost ([127.0.0.1]:46454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCjx7-0007R1-Qt for submit@debbugs.gnu.org; Thu, 18 Feb 2021 09:06:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:40868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCjx6-0007Qu-Rn for submit@debbugs.gnu.org; Thu, 18 Feb 2021 09:06:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCjx6-00059K-E5 for guix-patches@gnu.org; Thu, 18 Feb 2021 09:06:44 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:45509) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCjx4-0004Jn-04 for guix-patches@gnu.org; Thu, 18 Feb 2021 09:06:44 -0500 X-Originating-IP: 176.185.184.238 Received: from localhost.localdomain (static-176-185-184-238.ftth.abo.bbox.fr [176.185.184.238]) (Authenticated sender: tanguy@bioneland.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id CC1291BF211; Thu, 18 Feb 2021 14:06:36 +0000 (UTC) From: Tanguy Le Carrour Date: Thu, 18 Feb 2021 15:06:20 +0100 Message-Id: <20210218140620.15816-1-tanguy@bioneland.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Received-SPF: none client-ip=217.70.183.201; envelope-from=tanguy@bioneland.org; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-tldr): New variable. --- gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a504bb521b..b315d5f634 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -66,7 +66,7 @@ ;;; Copyright © 2019 Jacob MacDonald ;;; Copyright © 2019, 2020 Giacomo Leidi ;;; Copyright © 2019 Wiktor Żelazny -;;; Copyright © 2019, 2020 Tanguy Le Carrour +;;; Copyright © 2019, 2020, 2021 Tanguy Le Carrour ;;; Copyright © 2019 Mădălin Ionel Patrașcu ;;; Copyright © 2020 Riku Viitanen ;;; Copyright © 2020 Jakub Kądziołka @@ -19267,6 +19267,32 @@ Public Suffix List's private domains as well.") (define-public python2-tldextract (package-with-python2 python-tldextract)) +(define-public python-tldr + (package + (name "python-tldr") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tldr" version)) + (sha256 + (base32 + "00h43xjrzrayy1gysvmql5kfabk2d8xraih68d41616brdvb1xvf")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (propagated-inputs + `(("python-argcomplete" ,python-argcomplete) + ("python-colorama" ,python-colorama) + ("python-termcolor" ,python-termcolor))) + (home-page "https://github.com/tldr-pages/tldr-python-client") + (synopsis "Python command-line client for tldr pages") + (description "This package provides the `tldr' command allowing users +to view `tldr' pages from a shell. The `tldr' pages are a community effort +to simplify the man pages with practical examples.") + (license license:expat))) ; MIT license + (define-public python-nodeenv (package (name "python-nodeenv")