gnu: ruby-standard: Relax requirements.

* gnu/packages/ruby.scm (ruby-standard)
[arguments]: Add relax-requirements phase.
This commit is contained in:
Maxim Cournoyer 2023-03-02 09:03:09 -05:00
parent 0198bf5a79
commit 1b497bd6c6
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -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).