From 82924c19530b386f1eb972fc84aa535365c3c012 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 23 Oct 2021 23:32:56 +0200 Subject: gnu: asciinema: Update to 2.1.0. * gnu/packages/terminals.scm (asciinema): Update to 2.1.0. [arguments]: Don't explicitly return #t from phases. --- gnu/packages/terminals.scm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 637ddb7264..d606bf4bea 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -199,7 +199,7 @@ insert mode and command mode where keybindings have different functions.") (define-public asciinema (package (name "asciinema") - (version "2.0.2") + (version "2.1.0") (source (origin (method git-fetch) @@ -208,8 +208,7 @@ insert mode and command mode where keybindings have different functions.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "1a2pysxnp6icyd08mgf66xr6f6j0irnfxdpf3fmzcz31ix7l9kc4")))) + (base32 "1alcz018jrrpasrmgs8nw775a6pf62xq2xgs54c4mb396prdqy4x")))) (build-system python-build-system) (arguments `(#:phases @@ -219,8 +218,7 @@ insert mode and command mode where keybindings have different functions.") (let ((ncurses (assoc-ref inputs "ncurses"))) (substitute* "asciinema/term.py" (("'tput'") - (string-append "'" ncurses "/bin/tput'")))) - #t)) + (string-append "'" ncurses "/bin/tput'")))))) (replace 'check (lambda _ (invoke "nosetests" "-v")))))) (inputs `(("ncurses" ,ncurses))) -- cgit 1.4.1 From 075c9f12696d23bc86999b7a9ed567f38715e00a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 23 Oct 2021 23:39:04 +0200 Subject: gnu: asciinema: Remove ncurses reference. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index d606bf4bea..9fee37a04d 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))) -- cgit 1.4.1