GNU bug report logs -
#78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Wed, 18 Jun 2025 14:22:02 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
Message #146 received at 78826 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby-xyz.scm (ruby-bindex)[arguments]{phases}: Add
phase 'patch-minitest.
[native-inputs]: Add ruby-minitest.
---
gnu/packages/ruby-xyz.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 3c2f061466..bbe743225a 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -2559,6 +2559,11 @@ (define-public ruby-open4
(arguments
'(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-minitest
+ (lambda _
+ (substitute* "test/lib/test_case.rb"
+ (("MiniTest::Unit::TestCase")
+ "Minitest::Test"))))
(add-after 'unpack 'patch
(lambda _
(substitute* "rakefile"
@@ -2569,6 +2574,7 @@ (define-public ruby-open4
(lambda _
;; This is used in the rakefile when running the tests
(setenv "LIB" "open4"))))))
+ (native-inputs (list ruby-minitest))
(synopsis "Open child processes from Ruby and manage them easily")
(description
"@code{Open4} is a Ruby library to run child processes and manage their
--
2.49.0
This bug report was last modified 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.