From patchwork Sat Sep 18 12:44:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33118 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 6EB4627BBE4; Sat, 18 Sep 2021 13:45: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, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham 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 212ED27BBE3 for ; Sat, 18 Sep 2021 13:45:16 +0100 (BST) Received: from localhost ([::1]:51588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRZiV-0008M0-7k for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 08:45:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRZiM-0008Ln-Dp for guix-patches@gnu.org; Sat, 18 Sep 2021 08:45:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRZiI-0005kT-6E for guix-patches@gnu.org; Sat, 18 Sep 2021 08:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRZiI-0000Ak-4e for guix-patches@gnu.org; Sat, 18 Sep 2021 08:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49619] [PATCH v3 1/2] gnu: Add python-very-pretty-table. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49619 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49619@debbugs.gnu.org Cc: Sarah Morgensen Received: via spool by 49619-submit@debbugs.gnu.org id=B49619.1631969074614 (code B ref 49619); Sat, 18 Sep 2021 12:45:02 +0000 Received: (at 49619) by debbugs.gnu.org; 18 Sep 2021 12:44:34 +0000 Received: from localhost ([127.0.0.1]:33806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRZhp-00009q-Pk for submit@debbugs.gnu.org; Sat, 18 Sep 2021 08:44:33 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:64568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRZhl-00009a-ON for 49619@debbugs.gnu.org; Sat, 18 Sep 2021 08:44:31 -0400 Date: Sat, 18 Sep 2021 12:44:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631969062; bh=Bt6oUQ6om2jG5XmhaS1IAv+8ns8ND358YKfr2eH2xq0=; h=Date:To:From:Cc:Reply-To:Subject:From; b=dW7Fa78pZWwhNJ6bxmjBVTzZQ6FQpczNZILeuXtn4WlcQPkpE17P57rQ8BFKIH2cz XryefOf1Aq892jAEMclEfb9UkZWFxpJBv2sy0sI2wPZNiOVilobZ20hmQtJSvwrDCW PXzbpHx/KJMpD19QY3vKUxOLONEaJqmPEWurQMzw= Message-ID: MIME-Version: 1.0 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: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi Sarah, here are some the changes for upstreaming :-) --8<---------------cut here---------------start------------->8-- * gnu/packages/python-xyz.scm (python-very-pretty-table): New variable. --- 2.32.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 66857b31b0..c4fb6edd40 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1793,6 +1793,30 @@ helpers.") (properties `((python2-variant . ,(delay python2-humanfriendly)))) (license license:expat))) +(define-public python-very-pretty-table + (package + (name "python-very-pretty-table") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "veryprettytable" version)) + (sha256 + (base32 + "1k1rifz8x6qcicmx2is9vgxcj0qb2f5pvzrp7zhmvbmci3yack3f")))) + (build-system python-build-system) + (propagated-inputs + `(("python-colorama" ,python-colorama) + ("python-termcolor" ,python-termcolor))) + (home-page + "https://github.com/smeggingsmegger/VeryPrettyTable") + (synopsis + "Visually appealing ASCII table output format") + (description + "Functions and classes in @code{very-pretty-table} allow for easily + displaying tabular data in a visually appealing ASCII table format.") + (license license:bsd-3))) + (define-public python2-humanfriendly (let ((base (package-with-python2 (strip-python2-variant python-humanfriendly))))