summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-25 16:42:04 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 00:05:48 +0000
commitc00ea82746e421bd62f4f69429447d195a7c5058 (patch)
treebee82934418e5dded7bb4dc505a6b6ccbff6a155 /gnu/packages/python-xyz.scm
parente3becacad96bad783eb9d00a6b3d032d5b21fc47 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 17 insertions, 7 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bd5b743e5df..491aa3072f8 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