From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6KaqLwbwVWMDcgEAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 03:53:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wMWfLwbwVWOF2wAAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 03:53:10 +0200 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 47E5233065 for ; Mon, 24 Oct 2022 03:53:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oml6C-0006Fo-2R for larch@yhetil.org; Sun, 23 Oct 2022 20:13:48 -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 1omWI2-0004Il-D2 for guix-patches@gnu.org; Sun, 23 Oct 2022 04:25:02 -0400 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 1omWI2-0006Nu-56 for guix-patches@gnu.org; Sun, 23 Oct 2022 04:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omWI1-0000Sn-TB for guix-patches@gnu.org; Sun, 23 Oct 2022 04:25:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58673] Updated patch References: <20221021032151.26992-1-kraai@ftbfs.org> In-Reply-To: <20221021032151.26992-1-kraai@ftbfs.org> Resent-From: Matthew James Kraai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Oct 2022 08:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58673 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58673@debbugs.gnu.org Received: via spool by 58673-submit@debbugs.gnu.org id=B58673.16665134771749 (code B ref 58673); Sun, 23 Oct 2022 08:25:01 +0000 Received: (at 58673) by debbugs.gnu.org; 23 Oct 2022 08:24:37 +0000 Received: from localhost ([127.0.0.1]:42824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWHc-0000S9-OP for submit@debbugs.gnu.org; Sun, 23 Oct 2022 04:24:36 -0400 Received: from mail.ftbfs.org ([52.8.68.13]:42156 helo=aws.ftbfs.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omWHZ-0000Ru-3v for 58673@debbugs.gnu.org; Sun, 23 Oct 2022 04:24:35 -0400 Received: from ip68-4-255-43.oc.oc.cox.net ([68.4.255.43] helo=carlo) by aws.ftbfs.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1omWHS-0009Uw-Pi for 58673@debbugs.gnu.org; Sun, 23 Oct 2022 08:24:27 +0000 Date: Sun, 23 Oct 2022 01:24:25 -0700 From: Matthew James Kraai Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666576390; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=mwpvD1sCTvvKiyujKJHSwNBpbkBJnYJ2+m2xHUIOCNk=; b=VRF78bWhCB0xjnGRmAf7FHYtPd/7droBT7RzsCpRyzPVZUJJ8/xkh7/niuzsOfzXFanSb4 6VEARSg2iEeMUvfE9zYG/1P8bOoFZyL1Snlm16X+Gig/CuYGYNoElG7Af9xErLzlnBMw1Z kxT4qylZWm9+NEKyqzSO3mc0dBArpNjdb2onZqYuXFtmnHWT88F2kYlrcjVuep8DwoYrwq 1qGG7hZkn96s9EJ1Lijy/REPCd+s/hKY/3SRJmYaWdgg0TkFfGeHhVTFbkxRd19MoQgt1t Iatw7KMSB+0z5qgn0Rhvdcc5Ipt6yqsh69hqXI9igqsBM0aGxoqmuNeNtY/CAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666576390; a=rsa-sha256; cv=none; b=OL08/eu5ASttwlJgflSbwWq+fl4AiTnXU2sCJPWuO8toFsvuxjv+1J7qDx64fbcatElbar GXNWNbMURVp6qgHmCcxEQS60pZR3M+KFtaBZ4g/4z/tSqMBDp5a2zYGk6w0IZLdE8fWdBz FUrS+Cjclv3i9oRR8kIfY9YWhKBcy/cCZwjFV/XC5lUFOkFwEQVH6PYQiw1FoFXKrU7YFz JUMKc9obCNGzVkfHquc7YU6s76NK05NiqCu0ZoeCP07QggzheXBcx45IvuLmXuBtZkyCGN rmJs/nPO13VrUUeqtq49FzSAiixf812kAmfLI0+u5a0Bfu7V84sR2xV0yBsqTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Spam-Score: -1.71 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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" X-Migadu-Queue-Id: 47E5233065 X-Spam-Score: -1.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8QFTDFrQEADH >From 139a7cfe0398bb4bbe904ec58887f681de177657 Mon Sep 17 00:00:00 2001 From: Matthew James Kraai Date: Thu, 20 Oct 2022 20:16:00 -0700 Subject: [PATCH] gnu: s3cmd: Fix program name in output. * gnu/packages/python-xyz.scm (s3cmd)[arguments]: Add a new 'hide-wrapping phase. --- gnu/packages/python-xyz.scm | 9 +++++++++ 1 file changed, 9 insertions(+) Here's an updated patch that also fixes the command name in messages displayed by s3cmd. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 32bd986a12..e795fa1838 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16222,6 +16222,15 @@ (define-public s3cmd (sha256 (base32 "0rdgwwmmp8mdxc84bxq6k9a7v7z2qgc3df47djzs2b84gw81dglx")))) (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'hide-wrapping + (lambda _ + (substitute* "S3/MultiPart.py" + (("sys\\.argv\\[0\\]") "\"s3cmd\"")) + (substitute* "s3cmd" + (("optparser\\.get_prog_name\\(\\)") "\"s3cmd\""))))))) (inputs (list python-dateutil python-magic)) -- 2.38.0