unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Reichör" <stefan@xsteve.at>
To: 48426@debbugs.gnu.org
Cc: "Stefan Reichör" <stefan@xsteve.at>
Subject: [bug#48426] [PATCH] gnu: Add python-easy-ansi.
Date: Sat, 29 May 2021 22:28:37 +0200	[thread overview]
Message-ID: <20210529202837.147041-1-stefan@xsteve.at> (raw)
In-Reply-To: <20210514211746.143145-2-stefan@xsteve.at>

* gnu/packages/python-xyz.scm (python-easy-ansi): New variable.
---
I switched the source location to gitlab (from pypi).
However I was not able to find out how to run the tests

 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 d978942402..9b9510f043 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16551,6 +16551,31 @@ converting text with ANSI color codes to HTML or LaTeX.")
 (define-public python2-ansi2html
   (package-with-python2 python-ansi2html))
 
+(define-public python-easy-ansi
+  (package
+    (name "python-easy-ansi")
+    (version "0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/joeysbytes/easy-ansi")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0albh55ynzs98qy9pln4qaxw5qhhh3lk09jy9bx19gycrp1c3lc3"))))
+    (build-system python-build-system)
+    (home-page "https://gitlab.com/joeysbytes/easy-ansi")
+    (synopsis "Terminal framework API to give you an easy way to use colors, cursor
+control movements, and line/box drawing.")
+    (description
+     "Easy ANSI is a terminal framework API to give you an easy way to use
+colors, cursor control movements, and line/box drawing.  It is not meant as a
+replacement to more full-featured frameworks (such as curses or urwid), but as
+a tool to quickly create nice-looking screens in your terminal window.  You
+can even create animations with the cursor controls.")
+    (license license:expat)))
+
 (define-public python-ddt
   (package
     (name "python-ddt")
-- 
2.25.1





  reply	other threads:[~2021-05-29 20:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 21:17 [bug#48428] [PATCH 1/5] gnu: python-pyte: Update to 0.8.0 Stefan Reichör
2021-05-14 21:17 ` [bug#48426] [PATCH 2/5] gnu: Add python-easy-ansi Stefan Reichör
2021-05-29 20:28   ` Stefan Reichör [this message]
2021-05-31 19:05     ` bug#48426: [PATCH] " Nicolas Goaziou
2021-05-14 21:17 ` [bug#48427] [PATCH 3/5] gnu: Add python-aiostream Stefan Reichör
2021-05-18 22:31   ` Vinicius Monego
2021-05-29 20:38   ` [bug#48427] [PATCH] " Stefan Reichör
2023-05-29 11:17     ` bug#48427: [PATCH 3/5] " Jelle Licht
2021-05-14 21:17 ` [bug#48429] [PATCH 4/5] gnu: Add python-aiofiles-0.5.0 Stefan Reichör
2021-05-14 21:17 ` [bug#48430] [PATCH 5/5] gnu: Add python-multiplex Stefan Reichör
2021-05-29 21:10   ` [bug#48430] [PATCH] " Stefan Reichör
2021-11-11  4:52     ` Vinicius Monego
2023-10-12  1:42 ` bug#48428: [PATCH 1/5] gnu: python-pyte: Update to 0.8.0 jgart via Guix-patches via

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20210529202837.147041-1-stefan@xsteve.at \
    --to=stefan@xsteve.at \
    --cc=48426@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).