From patchwork Tue Dec 27 18:52:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timotej Lazar X-Patchwork-Id: 45603 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E087C27BBED; Tue, 27 Dec 2022 18:53:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C16EF27BBE9 for ; Tue, 27 Dec 2022 18:53:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pAF4T-0006QL-09; Tue, 27 Dec 2022 13:53:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAF4Q-0006Py-UC for guix-patches@gnu.org; Tue, 27 Dec 2022 13:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pAF4Q-0004G7-Mr for guix-patches@gnu.org; Tue, 27 Dec 2022 13:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pAF4Q-00041W-BU for guix-patches@gnu.org; Tue, 27 Dec 2022 13:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60362] [PATCH] gnu: asciinema: Update to 2.2.0. Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Dec 2022 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60362 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60362@debbugs.gnu.org Cc: Timotej Lazar X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167216714615417 (code B ref -1); Tue, 27 Dec 2022 18:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Dec 2022 18:52:26 +0000 Received: from localhost ([127.0.0.1]:56520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAF3p-00040b-JY for submit@debbugs.gnu.org; Tue, 27 Dec 2022 13:52:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:53162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pAF3o-00040T-0K for submit@debbugs.gnu.org; Tue, 27 Dec 2022 13:52:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAF3n-0006Mj-BH for guix-patches@gnu.org; Tue, 27 Dec 2022 13:52:23 -0500 Received: from araneo.si ([2001:15c0:2110:3400::2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pAF3k-0004Ct-Ge for guix-patches@gnu.org; Tue, 27 Dec 2022 13:52:23 -0500 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id a0264162 for ; Tue, 27 Dec 2022 18:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20180623; bh=N1CY87XoCcNrJ2ct1D4ObrddNAk=; b=nuJW+uMzVSzlWsQ7 7l8juw7dCXunE2j2AQvnoDG1mNZqBV4cTYCnJRKiTBj7/PuqWQxDK4Ek66BFmnaH lTiAs/FdUnoKyVf4CgAikvWFocZZnguJS1xaJzX5qXy2l4uPfSv2YzL9GbgRfFff RY1OppXd/Wv837rcapg00VY0x5JIyx/u9miv0FASDVEDfNVx6AEllpylMobIAIu2 7ouMFpR0ClXQ1yi4E7Xu1ImZIMuiqT6+DVrCyrtQkxixSy873OK9TcmOLEZ9oB6R 4RaDdLG9/DlxRNRMtyxcoBtgVFMgBX3sAmknHOg7HUte+BWffmL5kP4l026iG+xB GVuwIQ== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 3d57179f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 27 Dec 2022 18:52:11 +0000 (UTC) From: Timotej Lazar Date: Tue, 27 Dec 2022 19:52:26 +0100 Message-Id: <20221227185225.10821-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:15c0:2110:3400::2; envelope-from=timotej.lazar@araneo.si; helo=araneo.si X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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(-) base-commit: 8f93a1e01a879ae026678dd92c18e2a2a49be540 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