guix-patches
[Top][All Lists]
Advanced

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

[bug#56101] [PATCH 2/3] Upgrade ruby-listen to 3.7.1.


From: Trev
Subject: [bug#56101] [PATCH 2/3] Upgrade ruby-listen to 3.7.1.
Date: Fri, 17 Jun 2022 22:56:46 -0700
User-agent: mu4e 1.6.11; emacs 28.1.50

* gnu/packages/ruby.scm (ruby-listen): Update to latest version

The tests that were set up for version 3.2.0 did not pass for version 3.7.1. I do not know Ruby well enough to appreciate why they are failing. A related
issue is in the comments.

---
gnu/packages/ruby.scm | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 47b4714f92..058ec87934 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6207,7 +6207,7 @@ (define-public ruby-rb-fsevent
(define-public ruby-listen
  (package
    (name "ruby-listen")
-    (version "3.2.0")
+    (version "3.7.1")
    (source
     (origin
;; The gem does not include a Rakefile, so fetch from the Git
@@ -6219,24 +6219,9 @@ (define-public ruby-listen
       (file-name (git-file-name name version))
       (sha256
        (base32
- "1hkp1g6hk5clsmbd001gkc12ma6s459x820piajyasv61m87if24")))) + "113ixsssv7y5j85766hvha5mw5bwwbck0plj8166rigbb05qwp9w"))))
    (build-system ruby-build-system)
-    (arguments
-     `(#:test-target "spec"
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'fix-files-in-gemspec
-           (lambda _
-             (substitute* "listen.gemspec"
- (("`git ls-files -z`") "`find . -type f -printf '%P\\\\0' |sort -z`"))
-             #t))
-         (add-before 'check 'remove-unnecessary-dependencies'
-           (lambda _
-             (substitute* "Rakefile"
- ;; Rubocop is for code linting, and is unnecessary for running
-               ;; the tests.
-               ((".*rubocop.*") ""))
-             #t)))))
+ (arguments `(#:tests? #f)) ; https://github.com/guard/listen/issues/558
    (native-inputs
     (list bundler ruby-rspec))
    (inputs
--
2.36.1






reply via email to

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