Subject: bug#57368: closed (Re: [bug#57368] [PATCH] gnu: Add python-plotext.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 02 Sep 2023 04:05:01 +0000

Your bug report

#57368: [PATCH] gnu: Add python-plotext.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57368: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57368
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#57368] [PATCH] gnu: Add python-plotext.
From: Vagrant Cascadian <[email-masked]>
To: [email-masked], [email-masked]
Date: Fri, 01 Sep 2023 21:03:53 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On 2022-09-26, [email-masked] wrote:
> * gnu/packages/python-xyz.scm (python-plotext): New variable.
...
> +(define-public python-plotext
> +  (package
> +    (name "python-plotext")
> +    (version "5.2.2")

A newer version was merged in:

eb2918aa96b74e45b35d18a209860f4a2d13ad68 gnu: Add python-plotext.

Marking as done.

live well,
  vagrant

Subject: [PATCH] gnu: Add python-plotext.
From: [email-masked]
To: [email-masked]
Cc: Peter Polidoro <[email-masked]>
Date: Tue, 23 Aug 2022 16:27:29 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Peter Polidoro <[email-masked]>

* 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 8b0aae76ac..8e00c9499d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -742,6 +742,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.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "plotext" version))
+              (sha256
+               (base32
+                "1p28hdxgjhdrcwq795nqrglcp6v5cl936mbah31dqhgjk6cy5v71"))))
+    (build-system python-build-system)
+    ;; tests pass when run manually with test() function after install
+    ;; tests fail when run automatically during build with error:
+    ;; TypeError: don't know how to make test from: unix
+    (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-mdx-gh-links
   (package
     (name "python-mdx-gh-links")
-- 
2.37.2