GNU bug report logs - #60362
[PATCH] gnu: asciinema: Update to 2.2.0.

Previous Next

Package: guix-patches;

Reported by: Timotej Lazar <timotej.lazar <at> araneo.si>

Date: Tue, 27 Dec 2022 18:53:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60362 in the body.
You can then email your comments to 60362 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#60362; Package guix-patches. (Tue, 27 Dec 2022 18:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Timotej Lazar <timotej.lazar <at> araneo.si>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 27 Dec 2022 18:53:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: guix-patches <at> gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [PATCH] gnu: asciinema: Update to 2.2.0.
Date: Tue, 27 Dec 2022 19:52:26 +0100
* 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





Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Thu, 29 Dec 2022 01:55:02 GMT) Full text and rfc822 format available.

Notification sent to Timotej Lazar <timotej.lazar <at> araneo.si>:
bug acknowledged by developer. (Thu, 29 Dec 2022 01:55:02 GMT) Full text and rfc822 format available.

Message #10 received at 60362-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Timotej Lazar <timotej.lazar <at> araneo.si>
Cc: 60362-done <at> debbugs.gnu.org
Subject: Re: bug#60362: [PATCH] gnu: asciinema: Update to 2.2.0.
Date: Thu, 29 Dec 2022 09:54:56 +0800
Timotej Lazar <timotej.lazar <at> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 26 Jan 2023 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.