From patchwork Wed Jan 1 18:43:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Maja_K=C4=85dzio=C5=82ka?= X-Patchwork-Id: 19510 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 349D1179D5; Wed, 1 Jan 2020 18:45:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id E3439179D3 for ; Wed, 1 Jan 2020 18:45:15 +0000 (GMT) Received: from localhost ([::1]:60828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imizb-0000zV-8u for patchwork@mira.cbaines.net; Wed, 01 Jan 2020 13:45:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36932) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imizP-0000zO-Pw for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imizO-0000N8-SU for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imizO-0000Ml-P1 for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imizO-0005ye-JT for guix-patches@gnu.org; Wed, 01 Jan 2020 13:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38852] [PATCH] gnu: python-py3status: Fix patch of file path Resent-From: Jakub =?utf-8?b?S8SFZHppb8WCa2E=?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jan 2020 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38852 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38852@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157790424322883 (code B ref -1); Wed, 01 Jan 2020 18:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2020 18:44:03 +0000 Received: from localhost ([127.0.0.1]:37570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imiyQ-0005x0-T7 for submit@debbugs.gnu.org; Wed, 01 Jan 2020 13:44:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:47704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imiyP-0005wV-OC for submit@debbugs.gnu.org; Wed, 01 Jan 2020 13:44:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36882) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imiyO-0000qo-Li for guix-patches@gnu.org; Wed, 01 Jan 2020 13:44:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imiyN-000819-MQ for guix-patches@gnu.org; Wed, 01 Jan 2020 13:44:00 -0500 Received: from pat.zlotemysli.pl ([37.59.186.212]:41328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1imiyN-0007rS-Bx for guix-patches@gnu.org; Wed, 01 Jan 2020 13:43:59 -0500 Received: (qmail 22556 invoked by uid 1009); 1 Jan 2020 19:43:51 +0100 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25680. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.009984 secs); 01 Jan 2020 18:43:51 -0000 Received: from unknown (HELO zdrowyportier.kadziolka.net) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 1 Jan 2020 19:43:51 +0100 Date: Wed, 1 Jan 2020 19:43:49 +0100 From: Jakub =?utf-8?b?S8SFZHppb8WCa2E=?= Message-ID: <20200101184349.ha7kwiyk6frqs6wy@zdrowyportier.kadziolka.net> MIME-Version: 1.0 Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-py3status): Fix patch of file path. [arguments]: Replace single-quotes with double-quotes so that the regex matches again. The "replace-with" value is not changed as it's not necessary and would introduce escaping noise. --- gnu/packages/python-xyz.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9b71982c3a..7001c69762 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9908,7 +9908,7 @@ to occurrences in strings and comments.") (lambda* (#:key inputs #:allow-other-keys) (let ((file-path (assoc-ref inputs "file"))) (substitute* "py3status/parse_config.py" - (("\\['file', '-b'") + (("\\[\"file\", \"-b\"") (string-append "['" file-path "/bin/file', '-b'"))) #t)))) #:tests? #f)) ; TODO: Requires many libraries not in Guix.