From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id YFdzJc3iNGYH2wAAe85BDQ:P1 (envelope-from ) for ; Fri, 03 May 2024 15:12:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YFdzJc3iNGYH2wAAe85BDQ (envelope-from ) for ; Fri, 03 May 2024 15:12:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714741965; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UNwSuzFScEITj7TEJtY50UH9l9lMihYz1WLU5O8sAKU=; b=cHj37wzs20BWeQEsep4TBkDiNXOe7ciV/8IsCIPrExaQeKVazVQ3zJ6pIQmlrFZu1nByuM rN8bktgje92SU5AIx3qksLfN+5gTmC8psgAy8IY1XtiRchzkAPMNVw+3wqhpx2S12CsYFT THvDM8i6zKsBwQnk2tZL+Fk9BLQ4hXSJcCm2argy6uoua9RGmzoYFxo8QkwyscLiDLc/LT 2kWn2IinBvkvW2Ob+0dVf//VfdQYc+YC5uV5Lgr39MzuB1CRzrjtF6G46357IcC/BeZoVG HQ36FzG+8hf+AfuDl/xd76dYdd7WQALVcaDo05V1vmOzxMbI+zuM0c0ZjYBjkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714741965; a=rsa-sha256; cv=none; b=PjS12GffQ7SNdH6n187q3hzZYub34/qxEJxYMhU98bepGauNvhLdCaZ/lwD4Hq/VuZh+TN /JJ6rn0ucD73FCOMmpdJPU+WXgMapYQpMr2e8qSxpA4YADLKUdPG8ku4R+I/ZNoM8JNcqj mUNn5Clg1Yfhjk2YDR81jI4Y63jvBdq6dme2bFV8f5QhLegqJjZ13d8siqJRjhTJVJpArj hDELe1lGBfCEKGSdLLLBUP885AXxDwb5z1Rr7BR9l+xSJj4RjBIE6z3KHlNdeed9voFesI gt5kK1GQ5pUGJIZQ1Dwq7vV3yi84fu2rURNAvUOMbkZZhrVBgSgJ9DooS68J9A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2FF846B56D for ; Fri, 3 May 2024 15:12:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2shs-0000ar-Id; Fri, 03 May 2024 09:12:08 -0400 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 1s2rce-00051Z-F3 for guix-patches@gnu.org; Fri, 03 May 2024 08:02:40 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2rce-0004Sp-6c for guix-patches@gnu.org; Fri, 03 May 2024 08:02:40 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2rd0-00007q-9P for guix-patches@gnu.org; Fri, 03 May 2024 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70733] [PATCH] gnu: guile-tap: Update to 0.5.0. Resent-From: Frank Terbeck Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 May 2024 12:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70733 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70733@debbugs.gnu.org Cc: Frank Terbeck X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1714737781472 (code B ref -1); Fri, 03 May 2024 12:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2024 12:03:01 +0000 Received: from localhost ([127.0.0.1]:46410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2rcy-00007X-JG for submit@debbugs.gnu.org; Fri, 03 May 2024 08:03:00 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2rcu-00007P-TS for submit@debbugs.gnu.org; Fri, 03 May 2024 08:02:59 -0400 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 1s2rcS-000509-Fd for guix-patches@gnu.org; Fri, 03 May 2024 08:02:28 -0400 Received: from smtprelay01.ispgateway.de ([80.67.31.39]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2rcQ-0004Nz-FW for guix-patches@gnu.org; Fri, 03 May 2024 08:02:28 -0400 Received: from [62.155.193.191] (helo=jim.voodoo.lan) by smtprelay01.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1s2r0O-000000006tD-3h05; Fri, 03 May 2024 13:23:08 +0200 Received: by jim.voodoo.lan (Postfix, from userid 1000) id 2B2E060D976; Fri, 03 May 2024 13:22:54 +0200 (CEST) From: Frank Terbeck Date: Fri, 3 May 2024 13:22:23 +0200 Message-ID: <20240503112223.1726868-1-ft@bewatermyfriend.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Df-Sender: NDMwNDQ0 Received-SPF: none client-ip=80.67.31.39; envelope-from=ft@jim.voodoo.lan; helo=smtprelay01.ispgateway.de X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 03 May 2024 09:12:07 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-Migadu-Queue-Id: 2FF846B56D X-Migadu-Scanner: mx13.migadu.com X-TUID: VCeQXTk3510Z * gnu/packages/guile-xyz.scm (guile-tap): Update to 0.5.0 Signed-off-by: Frank Terbeck Change-Id: Ia8a02400f1d559fcec7eb9861f24a7116928814b --- This is my first contribution to Guix. I am the upstream for guile-tap, and was positively surprised by "guix refresh". Good stuff! This is basically the result of that. Additionally, I've added a "substitute*" call for bin/tap-harness, to replace the raw "guile" call in it with the full binary name via the "which" utility. This is analogous to the shebang-rewriting that the Guix does by default. This is done because bin/tap-harness used to be a program that had guile in it's shebang line, but now it is a shell script that calls out to guile. I am not sure if this is best practise, but I figured if this is done for shebang lines, it should be correct for raw calls to an interpreter line this as well. gnu/packages/guile-xyz.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 9534341b70..875fe7ee24 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -6124,7 +6124,7 @@ (define-public lokke (define-public guile-tap (package (name "guile-tap") - (version "0.4.6") + (version "0.5.1") (source (origin (method git-fetch) (uri (git-reference @@ -6133,7 +6133,7 @@ (define-public guile-tap (file-name (git-file-name name version)) (sha256 (base32 - "04ip5cbvsjjcicsri813f4711yh7db6fvc2px4788rl8p1iqvi6x")))) + "0yimi9ci5h6wh7bs3ir7p181pwbd2hxlhx7pqq53gr54mnad8qv4")))) (build-system gnu-build-system) (arguments (list #:phases @@ -6142,7 +6142,9 @@ (define-public guile-tap (lambda _ (substitute* "Makefile" (("PREFIX = /usr/local") (string-append "PREFIX=" - #$output))))) + #$output))) + (substitute* "bin/tap-harness" + ((" guile ") (string-append " " (which "guile") " "))))) (replace 'build (lambda _ (invoke "make") -- 2.43.0