guix-commits
[Top][All Lists]
Advanced

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

02/10: gnu: emacs-elisp-refs: Update to 1.4.


From: guix-commits
Subject: 02/10: gnu: emacs-elisp-refs: Update to 1.4.
Date: Mon, 7 Feb 2022 04:46:22 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 45335578d6e6659792c76d8cd7ce91629bf2e5e5
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Feb 7 10:24:05 2022 +0100

    gnu: emacs-elisp-refs: Update to 1.4.
    
    * gnu/packages/emacs-xyz.scm (emacs-elisp-refs): Update to 1.4.
    [arguments]<#:phases>: Remove DISABLE-REFS-NEXT-MATCH-TEST phase.
    <#:test-command>: Use G-expressions.
---
 gnu/packages/emacs-xyz.scm | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6ddf6ab716..571eb98e21 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18607,7 +18607,7 @@ continue.")
 (define-public emacs-elisp-refs
   (package
     (name "emacs-elisp-refs")
-    (version "1.3")
+    (version "1.4")
     (source
      (origin
        (method git-fetch)
@@ -18616,7 +18616,7 @@ continue.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0w7k91xf69zc0zkjrw8h8sjdjf9xq9qs5zhvajhd718lzf93564b"))))
+        (base32 "03p95kwvwb3apb3lhhdlaxs952x7sdlxa2qc1c77cjwrm5xzdg9z"))))
     (build-system emacs-build-system)
     (propagated-inputs
      (list emacs-dash
@@ -18628,18 +18628,9 @@ continue.")
     (native-inputs
      (list emacs-ert-runner emacs-undercover))
     (arguments
-     `(#:tests? #t
-       #:test-command '("ert-runner")
-       #:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'disable-refs-next-match-test
-           ;; Hack to disable the failing test for emacs27
-           ;; https://github.com/Wilfred/elisp-refs/issues/29
-           (lambda _
-             (substitute* "test/unit-test.el"
-               (("ert-deftest elisp-refs-next-match")
-                "defun elisp-refs-next-match"))
-             #t)))))
+     (list
+      #:tests? #t
+      #:test-command #~(list "ert-runner")))
     (home-page "https://github.com/Wilfred/elisp-refs";)
     (synopsis "Find callers of elisp functions or macros")
     (description "Find references to functions, macros or variables.  Unlike a



reply via email to

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