guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/88: gnu: go-github-com-bmatcuk-doublestar: Simplify package.


From: guix-commits
Subject: 23/88: gnu: go-github-com-bmatcuk-doublestar: Simplify package.
Date: Fri, 6 Dec 2024 16:17:20 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 89cd48703addea0a8e0539943e2d4350a562e83a
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 12:11:54 2024 +0000

    gnu: go-github-com-bmatcuk-doublestar: Simplify package.
    
    * gnu/packages/golang.scm (go-github-com-bmatcuk-doublestar)
    [arguments]<test-flags>: Move test skip logic here.
    
    Change-Id: I8e6929b519585e5150fcc7d12e9c5cda4fb2e3c5
---
 gnu/packages/golang.scm | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index d6f8c7513f..c042215950 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5428,15 +5428,10 @@ maps (because they are not addressable using Go 
reflection).")
                 "0bk5bixl6rqa8znxghyp6zndbccx9kdyrymjahgyp6qsrp7rk144"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "github.com/bmatcuk/doublestar"
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'remove-incompatible-test
-           ;; This test fails with Go 1.16.
-           (lambda _
-             (substitute* 
"src/github.com/bmatcuk/doublestar/doublestar_test.go"
-               (("\\{\"a\\[\", \"a\", false, nil, false\\},.*")
-                "")))))))
+     (list
+      ;; This test fails with Go 1.16.
+      #:test-flags #~(list "-skip" "TestMatch")
+      #:import-path "github.com/bmatcuk/doublestar"))
     (home-page "https://github.com/bmatcuk/doublestar/";)
     (synopsis "Path pattern matching and globbing supporting doublestar")
     (description "@code{doublestar} is a Go implementation of path pattern



reply via email to

[Prev in Thread] Current Thread [Next in Thread]