From patchwork Mon Sep 26 19:25:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 42997 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 9626527BBEA; Mon, 26 Sep 2022 20:26:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 23CF127BBE9 for ; Mon, 26 Sep 2022 20:26:20 +0100 (BST) Received: from localhost ([::1]:38460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1octkB-0001Nw-BY for patchwork@mira.cbaines.net; Mon, 26 Sep 2022 15:26:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1octjx-0001No-JI for guix-patches@gnu.org; Mon, 26 Sep 2022 15:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1octju-0001yD-Sg for guix-patches@gnu.org; Mon, 26 Sep 2022 15:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1octju-0005DL-Gg for guix-patches@gnu.org; Mon, 26 Sep 2022 15:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57368] [PATCH] gnu: Add python-plotext. References: <28fb9ab00d5ee4e50c993b49915606a098d9c980.1661286389.git.peter@polidoro.io> In-Reply-To: <28fb9ab00d5ee4e50c993b49915606a098d9c980.1661286389.git.peter@polidoro.io> Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Sep 2022 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57368@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 57368-submit@debbugs.gnu.org id=B57368.166422033420007 (code B ref 57368); Mon, 26 Sep 2022 19:26:02 +0000 Received: (at 57368) by debbugs.gnu.org; 26 Sep 2022 19:25:34 +0000 Received: from localhost ([127.0.0.1]:51797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1octjS-0005Cd-Hz for submit@debbugs.gnu.org; Mon, 26 Sep 2022 15:25:34 -0400 Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:45894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1octjO-0005CO-7R for 57368@debbugs.gnu.org; Mon, 26 Sep 2022 15:25:32 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E30567E2090; Mon, 26 Sep 2022 19:25:26 +0000 (UTC) Received: from pdx1-sub0-mail-a294 (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 568F87E1F88; Mon, 26 Sep 2022 19:25:26 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1664220326; a=rsa-sha256; cv=none; b=EHoXO9urcP46X3EoqNdFKl9aR3sgJY8m9O+GxJhi1xIaJOQXNR+XYUIv8QRXxQEpT2UDK4 LtbBVr03OgLLNW7OvDcZQIeTwBAx80c+SfW5Ansjt8iuuDKOJnm3FvpT0ElIMmVYGfoZQ1 7nL9QPse4gPtUk9T5yma47DuL1WPwaqDuPXmhX2w4bSZNXGPQ5BZpTS9DvmME0f24sTACz qsOwplfPFKcY2Xo16UHfqZ2ysjy7E79NveII5iGt1T+pjWNYMSd+Sw7Mzm04e+NNuTAmbx 8VPdIknN2Xkz7dLiBN26LwOF6E0UDPB+hEqv176rsWPmDawOBPCr8QZOh/s2gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1664220326; 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:dkim-signature; bh=Xap1+u+WYOqj6E2RIUerzSuuxqSUS7jytfNRuc/Bu0E=; b=HvKp+sxa7Bv7theOeMD1HMgxyHJvJ88fujA5zm6IZSi2Z7W5BR/iDV5pRYNYGkYy1yhRUh jSVdOd8lnF9LL8NWxdlERDg8NfMKfJFLk+Vwr+O/wy8l7pdAmNr/fz8Hq+TFlEbzq1EwOl PCo70T7xjH4xZnuqIbM1MzqiqpgFA2d7+MN8SRWrVk64pvsmR2+8t7A72zwr1Dfj7Kcooi xdp/Q4Xlmur/IZ4oJAaoqi4S284dzWG6FXFVtw9FNWFME/XGRsR6eTXfHCgJkjsMkUbp80 /MVj687VYaMlx1ejGcu+lTh9hHOWErZ/Bg2T4rVr29nZsoYGbN3djk9WkaSAdA== ARC-Authentication-Results: i=1; rspamd-7c485dd8cf-wxhkd; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Cooperative-Hysterical: 6fe7c41e18db46b2_1664220326653_4246566583 X-MC-Loop-Signature: 1664220326653:3934331091 X-MC-Ingress-Time: 1664220326653 Received: from pdx1-sub0-mail-a294 (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.97.77.221 (trex/6.7.1); Mon, 26 Sep 2022 19:25:26 +0000 Received: from knave.hhmi.org (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a294 (Postfix) with ESMTPSA id 4Mbt5127y1zBD; Mon, 26 Sep 2022 12:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1664220325; bh=Xap1+u+WYOqj6E2RIUerzSuuxqSUS7jytfNRuc/Bu0E=; h=From:To:Cc:Subject:Date:Content-Transfer-Encoding; b=g+I8EyNhoBo9/vSGzGOcP4bGnFsZvMk/3iyNxvibzqp7ePDM6AV059xwRjKXmUeHM ovhMaHTa7TwMXuCZp3xvogtP35DuzM8Hg8Jt59ESSmjB9ITg5cRr1YxJzANyhPRt4j rQ5EOsH3c4+BIAwtLPxWRXX3SF+O4mOcyL2653OUBOzKuz/r++HR3xvwNzr2LvmG6B /lkpUoopGJdiibaL70j0w6oT36F0JqjD376Gnf3BPhZjOkiga0JTZpnUUFcxidWOgs PlBw9TrAZvmPpbf1FbEVGPTt5a/NyR3lbZQv68HeFVsYQ5tTZozKCe9vdkTjElSX8V FmXW28r3ny1+w== From: peter@polidoro.io Date: Mon, 26 Sep 2022 15:25:14 -0400 Message-Id: X-Mailer: git-send-email 2.37.3 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" X-getmail-retrieved-from-mailbox: Patches From: Peter Polidoro * gnu/packages/python-xyz.scm (python-plotext): 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 54ed7fefed..3ca1a8f24f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -745,6 +745,31 @@ (define-public python-pymdown-extensions Markdown. All extensions are found under the module namespace of pymdownx.") (license license:expat))) +(define-public python-plotext + (package + (name "python-plotext") + (version "5.2.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "plotext" version)) + (sha256 + (base32 + "1kxqvxkzlqh8pggfvinhs4g8727r792b1p4d894pj7a9b3jqhccq")))) + (build-system python-build-system) + ;; tests pass when run manually with test() function after install + ;; tests fail when run automatically during build with error: + ;; plotext: error: argument type: invalid choice: 'test' + (arguments + `(#:tests? #f)) + (propagated-inputs (list python-pillow)) + (home-page "https://github.com/piccolomo/plotext") + (synopsis "2D plotting library for Python to plot directly on a terminal") + (description + "Plotext is a Python 2D plotting library which produces +figures directly on a terminal with syntax similar to matplotlib and can save +plots as text or as colored html.") + (license license:expat))) + (define-public python-plotille (package (name "python-plotille")