gnu: Remove ruby-minitest-4.

* gnu/packages/ruby.scm (ruby-minitest-4): Delete variable.

No package relies on this package anymore.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-01-31 09:20:14 +01:00 committed by Andreas Enge
parent d4ce1ff61b
commit ee05b492cd
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -5925,39 +5925,6 @@ default (and first) theme. It's what you get when you run @code{jekyll new}.")
facilities supporting TDD, BDD, mocking, and benchmarking.")
(license license:expat)))
;; This is the last release of Minitest 4, which is used by some packages.
(define-public ruby-minitest-4
(package
(inherit ruby-minitest)
(version "4.7.5")
(source (origin
(method url-fetch)
(uri (rubygems-uri "minitest" version))
(sha256
(base32
"03p6iban9gcpcflzp4z901s1hgj9369p6515h967ny6hlqhcf2iy"))))
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-unsupported-method
(lambda _
(substitute* "Rakefile"
(("self\\.rubyforge_name = .*") ""))))
(add-after 'build 'patch-tests
(lambda _
;; test_no_method_error_on_unexpected_methods
;; This test fails due to some extra information in the message
(substitute* "test/minitest/test_minitest_mock.rb"
(("assert_equal expected, e.message")
"assert_equal expected, e.message.lines.first.strip"))
;; Some tests are failing on Ruby 2.4 due to the deprecation of
;; Fixnum.
(delete-file "test/minitest/test_minitest_spec.rb"))))))
(native-inputs
(list ruby-minitest
ruby-hoe))))
(define-public ruby-minitest-around
(package
(name "ruby-minitest-around")