GNU bug report logs - #76314
[PATCH ruby-team 00/71] Update ruby.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Sun, 16 Feb 2025 00:29:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76314 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#76314] [PATCH ruby-team 68/71] gnu: ruby-rubocop-rspec-minimal: Avoid ruby-danger dependency.
Date: Sun, 16 Feb 2025 01:34:36 +0100
* gnu/packages/ruby.scm (ruby-rubocop-rspec-minimal):
[arguments]<#:phases>: Add phase 'relax-requirements.
---
 gnu/packages/ruby.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e3ae6b71e0..42a4e8592b 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -2128,7 +2128,14 @@ enforcing & linting tool for @code{factory_bot} files.")
         (base32
          "1w9whadx60kv4vlbnk77b5yyhhfcg717r9cr334zqznqr1bqr8mh"))))
     (build-system ruby-build-system)
-    (arguments (list #:tests? #f))      ;avoid extra dependencies
+    (arguments
+     (list #:tests? #f  ;avoid extra dependencies
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'relax-requirements
+                 (lambda _
+                   (substitute* "Gemfile"
+                     (("gem 'danger'.*") "")))))))
     (propagated-inputs (list ruby-rubocop-factory-bot))
     (synopsis "Code style checking for RSpec files")
     (description "This package provides a plugin for the RuboCop code style
-- 
2.48.1





This bug report was last modified 89 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.