all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: peter@polidoro.io
To: 57368@debbugs.gnu.org
Cc: Peter Polidoro <peter@polidoro.io>
Subject: [bug#57368] [PATCH] gnu: Add python-plotext.
Date: Mon, 26 Sep 2022 15:25:14 -0400	[thread overview]
Message-ID: <f28a1ac8e8ca1b7089446bc0aadb319b2d568bd2.1664220247.git.peter@polidoro.io> (raw)
In-Reply-To: <28fb9ab00d5ee4e50c993b49915606a098d9c980.1661286389.git.peter@polidoro.io>

From: Peter Polidoro <peter@polidoro.io>

* 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")
-- 
2.37.3





  parent reply	other threads:[~2022-09-26 19:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23 20:27 [bug#57368] [PATCH] gnu: Add python-plotext peter
2022-09-12 19:03 ` Mathieu Othacehe
2022-09-26 19:25 ` peter [this message]
2023-09-02  4:03   ` bug#57368: " Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f28a1ac8e8ca1b7089446bc0aadb319b2d568bd2.1664220247.git.peter@polidoro.io \
    --to=peter@polidoro.io \
    --cc=57368@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.