guix-commits
[Top][All Lists]
Advanced

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

33/229: gnu: ruby-standard: Relax requirements.


From: guix-commits
Subject: 33/229: gnu: ruby-standard: Relax requirements.
Date: Tue, 28 Mar 2023 22:28:58 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 1b497bd6c65d5f3accbfa354406133da8551e097
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Mar 2 09:03:09 2023 -0500

    gnu: ruby-standard: Relax requirements.
    
    * gnu/packages/ruby.scm (ruby-standard)
    [arguments]: Add relax-requirements phase.
---
 gnu/packages/ruby.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7e21ab043a..381a009959 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -1822,6 +1822,13 @@ Batch and flush behavior.
            (lambda _
              ;; Some tests fail otherwise.
              (setenv "HOME" "/tmp")))
+         (add-after 'unpack 'relax-requirements
+           (lambda _
+             (substitute* "standard.gemspec"
+               (("\"rubocop\", \"1.44.1\"")
+                "\"rubocop\", \">= 1.44.1\"")
+               (("\"rubocop-performance\", \"1.15.2\"")
+                "\"rubocop-performance\", \">= 1.15.2\""))))
          (add-after 'unpack 'delete-problematic-tests
            ;; These tests fail for unknown reasons (see:
            ;; https://github.com/testdouble/standard/issues/532).



reply via email to

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