From patchwork Fri Aug 6 18:55:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sarah Morgensen X-Patchwork-Id: 31864 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 B575D27BC6B; Fri, 6 Aug 2021 19:56:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D50CC27BC78 for ; Fri, 6 Aug 2021 19:56:11 +0100 (BST) Received: from localhost ([::1]:58822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mC50s-0005ur-PI for patchwork@mira.cbaines.net; Fri, 06 Aug 2021 14:56:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC50k-0005tQ-Uq for guix-patches@gnu.org; Fri, 06 Aug 2021 14:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mC50k-0001hh-NV for guix-patches@gnu.org; Fri, 06 Aug 2021 14:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mC50k-00020V-EX for guix-patches@gnu.org; Fri, 06 Aug 2021 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49915] [PATCH 1/3] gnu: go-github-com-mattn-go-shellwords: Update to 1.0.12. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 Aug 2021 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49915 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49915@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16282761377679 (code B ref -1); Fri, 06 Aug 2021 18:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Aug 2021 18:55:37 +0000 Received: from localhost ([127.0.0.1]:51364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC50L-0001zn-0S for submit@debbugs.gnu.org; Fri, 06 Aug 2021 14:55:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:46318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mC50J-0001zf-2U for submit@debbugs.gnu.org; Fri, 06 Aug 2021 14:55:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC50I-0005qH-P3 for guix-patches@gnu.org; Fri, 06 Aug 2021 14:55:34 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]:57789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mC50F-0001HV-J3 for guix-patches@gnu.org; Fri, 06 Aug 2021 14:55:34 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1628276128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RyraWT4nInL/pAsIVA+fp8YdyrkYdwMiJr5qsY/BI6Y=; b=YEwIyb30SiW/aREHQ6XeN4qxB+3LZLqTP8CMoy4Rz1zqpTtR9nKYFgd43udrZi8btehJsd X2Tu5OSY6AMTWeV/pSosYdLbW4MW0JWTprVaBieO7yIU3jitAPSR/O497Jgqd8/hKPgBKT cXuTUBiZBT8IMBnEUtURGYhxtQ10CVY= From: Sarah Morgensen Date: Fri, 6 Aug 2021 11:55:26 -0700 Message-Id: <38f52b13a45c8e0792433861748499f1f5638cf7.1628275842.git.iskarian@mgsn.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=iskarian@mgsn.dev; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/golang.scm (go-github-com-mattn-go-shellwords): Update to 1.0.12. --- Hello Guix, I came across this package in my codebase travels; I've updated it and re-enabled tests. I verified that dependents go-github-com-junegunn-fzf@0.25.0 and ytfzf@1.2.0 build on x86-64. -- Sarah gnu/packages/golang.scm | 71 ++++++++++++++++++++--------------------- 1 file changed, 34 insertions(+), 37 deletions(-) base-commit: c8e2be3b32fe784a9db52d8a1a12902ab12ae7cb diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 15f3ea46c4..c32324f235 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5257,48 +5257,45 @@ systems.") (license license:expat)))) (define-public go-github-com-mattn-go-shellwords - (let ((commit "2444a32a19f450fabaa0bb3e96a703f15d9a97d2") - (version "1.0.5") - (revision "1")) - (package - (name "go-github-com-mattn-go-shellwords") - (version (git-version version revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/mattn/go-shellwords") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "08zcgr1az1n8zaxzwdd205j86hczgyc52nxfnw5avpw7rrkf7v0d")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/mattn/go-shellwords" - ;; TODO: can't make homeless-shelter: - ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to - ;; initialization failure: mkdir /homeless-shelter: permission denied + (package + (name "go-github-com-mattn-go-shellwords") + (version "1.0.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mattn/go-shellwords") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0l0l5s4hlsrm4z6hygig2pp1qirk5ycrzn9z27ay3yvg9k7zafzx")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/mattn/go-shellwords" + ;; TODO: can't make homeless-shelter: + ;; go: disabling cache (/homeless-shelter/.cache/go-build) due to + ;; initialization failure: mkdir /homeless-shelter: permission denied - ;; This doesn't seem to work: + ;; This doesn't seem to work: - ;; #:phases - ;; (modify-phases %standard-phases - ;; (replace 'check - ;; (lambda* (#:key import-path #:allow-other-keys) - ;; (setenv "HOME" "/tmp") - ;; (invoke "go" "test" import-path)))) + ;; #:phases + ;; (modify-phases %standard-phases + ;; (replace 'check + ;; (lambda* (#:key import-path #:allow-other-keys) + ;; (setenv "HOME" "/tmp") + ;; (invoke "go" "test" import-path)))) - ;; TODO: There are also a couple of tests that have stymied Debian in - ;; the past. They seem to work when run locally. + ;; TODO: There are also a couple of tests that have stymied Debian in + ;; the past. They seem to work when run locally. - #:tests? #f - )) - (home-page "https://github.com/mattn/go-shellwords") - (synopsis "Parse lines into shell words") - (description "This package parses text into shell arguments. Based on + #:tests? #f + )) + (home-page "https://github.com/mattn/go-shellwords") + (synopsis "Parse lines into shell words") + (description "This package parses text into shell arguments. Based on the @code{cpan} module @code{Parse::CommandLine}.") - (license license:expat)))) + (license license:expat))) (define-public go-github-com-burntsushi-locker (let ((commit "a6e239ea1c69bff1cfdb20c4b73dadf52f784b6a")