[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: asciinema: Remove ncurses reference.
From: |
guix-commits |
Subject: |
02/02: gnu: asciinema: Remove ncurses reference. |
Date: |
Sat, 23 Oct 2021 17:41:16 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 075c9f12696d23bc86999b7a9ed567f38715e00a
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Oct 23 23:39:04 2021 +0200
gnu: asciinema: Remove ncurses reference.
An external ‘tput’ is only required by ancient (<3.3) Pythons 3 and can
always be provided in $PATH. It is not worth a reference.
* gnu/packages/terminals.scm (asciinema)[arguments]:
Remove 'patch-exec-paths phase.
[inputs]: Remove ncurses.
---
gnu/packages/terminals.scm | 7 -------
1 file changed, 7 deletions(-)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index d606bf4..9fee37a 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -213,15 +213,8 @@ insert mode and command mode where keybindings have
different functions.")
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-before 'build 'patch-exec-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((ncurses (assoc-ref inputs "ncurses")))
- (substitute* "asciinema/term.py"
- (("'tput'")
- (string-append "'" ncurses "/bin/tput'"))))))
(replace 'check
(lambda _ (invoke "nosetests" "-v"))))))
- (inputs `(("ncurses" ,ncurses)))
(native-inputs
;; For tests.
`(("python-nose" ,python-nose)))