guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c00ea82746e421bd62f4f69429447d195a7c5058
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 16:42:04 2025 +0200
gnu: python-easy-ansi: Update to 2.1.
* gnu/packages/python-xyz.scm (python-easy-ansi): Update to 2.1.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add phase 'remove-extra.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I3324c25f2033f21681fe1beda8befb3a36100483
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bd5b743e5d..491aa3072f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24310,7 +24310,7 @@ converting text with ANSI color codes to HTML or
LaTeX.")
(define-public python-easy-ansi
(package
(name "python-easy-ansi")
- (version "0.3")
+ (version "2.1")
(source
(origin
(method git-fetch)
@@ -24319,16 +24319,26 @@ converting text with ANSI color codes to HTML or
LaTeX.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0albh55ynzs98qy9pln4qaxw5qhhh3lk09jy9bx19gycrp1c3lc3"))))
- (build-system python-build-system)
+ (base32 "16zk4vyrr3hhb6aijmqchjlz181mgk7mi9zyyjd8i53h9rr00wkx"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'remove-extra
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (with-directory-excursion (site-packages inputs outputs)
+ (delete-file-recursively "tests")
+ (delete-file "setup.py")))))))
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://gitlab.com/joeysbytes/easy-ansi")
(synopsis "Terminal framework API")
(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.")
+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-pycosat