* [bug#60362] [PATCH] gnu: asciinema: Update to 2.2.0.
@ 2022-12-27 18:52 Timotej Lazar
2022-12-29 1:54 ` bug#60362: " 宋文武 via Guix-patches via
0 siblings, 1 reply; 2+ messages in thread
From: Timotej Lazar @ 2022-12-27 18:52 UTC (permalink / raw)
To: 60362; +Cc: Timotej Lazar
* gnu/packages/terminals.scm (asciinema): Update to 2.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Drop custom 'check phase. Add 'fix-python-path phase.
[native-inputs]: Drop python-nose. Add python-pytest.
---
gnu/packages/terminals.scm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index f6673388d2..06b7b8b725 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -56,6 +56,7 @@ (define-module (gnu packages terminals)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
+ #:use-module (guix build-system pyproject)
#:use-module (guix build-system python)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -241,7 +242,7 @@ (define-public termite
(define-public asciinema
(package
(name "asciinema")
- (version "2.1.0")
+ (version "2.2.0")
(source
(origin
(method git-fetch)
@@ -250,16 +251,18 @@ (define-public asciinema
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1alcz018jrrpasrmgs8nw775a6pf62xq2xgs54c4mb396prdqy4x"))))
- (build-system python-build-system)
+ (base32 "0pcrghfi9p1p40d0339lcmhcv24hm1vxqr4rsdln34v385vqv14a"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _ (invoke "nosetests" "-v"))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-python-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "tests/pty_test.py"
+ (("python3") (search-input-file inputs "/bin/python3"))))))))
(native-inputs
;; For tests.
- (list python-nose))
+ (list python-pytest))
(home-page "https://asciinema.org")
(synopsis "Terminal session recorder")
(description
base-commit: 8f93a1e01a879ae026678dd92c18e2a2a49be540
--
2.38.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#60362: [PATCH] gnu: asciinema: Update to 2.2.0.
2022-12-27 18:52 [bug#60362] [PATCH] gnu: asciinema: Update to 2.2.0 Timotej Lazar
@ 2022-12-29 1:54 ` 宋文武 via Guix-patches via
0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 via Guix-patches via @ 2022-12-29 1:54 UTC (permalink / raw)
To: Timotej Lazar; +Cc: 60362-done
Timotej Lazar <timotej.lazar@araneo.si> writes:
> * gnu/packages/terminals.scm (asciinema): Update to 2.2.0.
> [build-system]: Use pyproject-build-system.
> [arguments]: Drop custom 'check phase. Add 'fix-python-path phase.
> [native-inputs]: Drop python-nose. Add python-pytest.
> ---
> gnu/packages/terminals.scm | 19 +++++++++++--------
> 1 file changed, 11 insertions(+), 8 deletions(-)
Pushed, thank you!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-29 1:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 18:52 [bug#60362] [PATCH] gnu: asciinema: Update to 2.2.0 Timotej Lazar
2022-12-29 1:54 ` bug#60362: " 宋文武 via Guix-patches via
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.