unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Trev <trev@trevdev.ca>
To: 56101@debbugs.gnu.org
Subject: [bug#56101] [PATCH 2/3] Upgrade ruby-listen to 3.7.1.
Date: Fri, 17 Jun 2022 22:56:46 -0700	[thread overview]
Message-ID: <8d26f80f2644bf1c1c6b56fe683cd33d8f6501ea.1655669882.git.trev@trevdev.ca> (raw)
In-Reply-To: <cover.1655669882.git.trev@trevdev.ca>

* 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	other threads:[~2022-06-20  3:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-19 20:18 [bug#56101] [PATCH 0/3] Add shopify-cli ruby gem to packages Trevor Richards
2022-06-18  5:56 ` Trev [this message]
2022-06-18  5:59 ` [bug#56101] [PATCH 3/3] Add package ruby-shopify-cli and its missing dependencies Trev
2022-06-20  3:39 ` [bug#56101] [PATCH 1/3] Upgrade ruby-liquid to version 5.3.0 Trev
2022-06-20 21:44 ` [bug#56101] [PATCH] propagate dependencies that need to be on PATH Trevor Richards
2022-09-15 20:08 ` bug#56101: Cancel Submission Trev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d26f80f2644bf1c1c6b56fe683cd33d8f6501ea.1655669882.git.trev@trevdev.ca \
    --to=trev@trevdev.ca \
    --cc=56101@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).