* [bug#57368] [PATCH] gnu: Add python-plotext.
@ 2022-08-23 20:27 peter
2022-09-12 19:03 ` Mathieu Othacehe
2022-09-26 19:25 ` peter
0 siblings, 2 replies; 4+ messages in thread
From: peter @ 2022-08-23 20:27 UTC (permalink / raw)
To: 57368; +Cc: Peter Polidoro
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 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#57368] [PATCH] gnu: Add python-plotext.
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
1 sibling, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2022-09-12 19:03 UTC (permalink / raw)
To: peter; +Cc: 57368
Hello,
> + (version "5.0.2")
Sorry for the late review. It looks like the 5.2.2 is out there. Could
you please update it :)
Thanks,
Mathieu
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#57368] [PATCH] gnu: Add python-plotext.
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
2023-09-02 4:03 ` bug#57368: " Vagrant Cascadian
1 sibling, 1 reply; 4+ messages in thread
From: peter @ 2022-09-26 19:25 UTC (permalink / raw)
To: 57368; +Cc: Peter Polidoro
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-02 4:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2023-09-02 4:03 ` bug#57368: " Vagrant Cascadian
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.