From 45335578d6e6659792c76d8cd7ce91629bf2e5e5 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 7 Feb 2022 10:24:05 +0100 Subject: 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 -- cgit v1.2.3