From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uMIMLdl0LmA9DwAA0tVLHw (envelope-from ) for ; Thu, 18 Feb 2021 14:08:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oBmvKNl0LmBmYgAAbx9fmQ (envelope-from ) for ; Thu, 18 Feb 2021 14:08:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F25C9261B7 for ; Thu, 18 Feb 2021 15:08:24 +0100 (CET) Received: from localhost ([::1]:42016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCjyi-0006ig-0h for larch@yhetil.org; Thu, 18 Feb 2021 09:08:24 -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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.37 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: F25C9261B7 X-Spam-Score: -1.37 X-Migadu-Scanner: scn1.migadu.com X-TUID: bHvsbu+nRZMZ * 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") -- 2.30.0