GNU bug report logs - #57368
[PATCH] gnu: Add python-plotext.

Previous Next

Package: guix-patches;

Reported by: peter <at> polidoro.io

Date: Tue, 23 Aug 2022 20:28:02 UTC

Severity: normal

Tags: patch

Done: Vagrant Cascadian <vagrant <at> debian.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57368 in the body.
You can then email your comments to 57368 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57368; Package guix-patches. (Tue, 23 Aug 2022 20:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to peter <at> polidoro.io:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 23 Aug 2022 20:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: peter <at> polidoro.io
To: guix-patches <at> gnu.org
Cc: Peter Polidoro <peter <at> polidoro.io>
Subject: [PATCH] gnu: Add python-plotext.
Date: Tue, 23 Aug 2022 16:27:29 -0400
From: Peter Polidoro <peter <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#57368; Package guix-patches. (Mon, 12 Sep 2022 19:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 57368 <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: peter <at> polidoro.io
Cc: 57368 <at> debbugs.gnu.org
Subject: Re: bug#57368: [PATCH] gnu: Add python-plotext.
Date: Mon, 12 Sep 2022 21:03:25 +0200
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




Information forwarded to guix-patches <at> gnu.org:
bug#57368; Package guix-patches. (Mon, 26 Sep 2022 19:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 57368 <at> debbugs.gnu.org (full text, mbox):

From: peter <at> polidoro.io
To: 57368 <at> debbugs.gnu.org
Cc: Peter Polidoro <peter <at> polidoro.io>
Subject: [PATCH] gnu: Add python-plotext.
Date: Mon, 26 Sep 2022 15:25:14 -0400
From: Peter Polidoro <peter <at> 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





Reply sent to Vagrant Cascadian <vagrant <at> debian.org>:
You have taken responsibility. (Sat, 02 Sep 2023 04:05:01 GMT) Full text and rfc822 format available.

Notification sent to peter <at> polidoro.io:
bug acknowledged by developer. (Sat, 02 Sep 2023 04:05:01 GMT) Full text and rfc822 format available.

Message #16 received at 57368-done <at> debbugs.gnu.org (full text, mbox):

From: Vagrant Cascadian <vagrant <at> debian.org>
To: peter <at> polidoro.io, 57368-done <at> debbugs.gnu.org
Subject: Re: [bug#57368] [PATCH] gnu: Add python-plotext.
Date: Fri, 01 Sep 2023 21:03:53 -0700
[Message part 1 (text/plain, inline)]
On 2022-09-26, peter <at> polidoro.io 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Sep 2023 11:24:25 GMT) Full text and rfc822 format available.

This bug report was last modified 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.