mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Remove ruby-minitest-tu-shim.
* gnu/packages/ruby.scm (ruby-minitest-tu-shim): Delete variable. This package is a leaf in Guix, unmaintained for 10 years. Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
58dc1adf49
commit
a0e4b7e7ae
1 changed files with 0 additions and 46 deletions
|
@ -7991,52 +7991,6 @@ development of Ruby gems.")
|
|||
(home-page "https://github.com/flori/gem_hadar")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-minitest-tu-shim
|
||||
(package
|
||||
(name "ruby-minitest-tu-shim")
|
||||
(version "1.3.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (rubygems-uri "minitest_tu_shim" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0xlyh94iirvssix157ng2akr9nqhdygdd0c6094hhv7dqcfrn9fn"))))
|
||||
(build-system ruby-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-test-include-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let* ((minitest (assoc-ref inputs "ruby-minitest")))
|
||||
(substitute* "Rakefile"
|
||||
(("Hoe\\.add_include_dirs .*")
|
||||
(string-append "Hoe.add_include_dirs \""
|
||||
minitest "/lib/ruby/vendor_ruby"
|
||||
"/gems/minitest-"
|
||||
#$(package-version ruby-minitest-4)
|
||||
"/lib" "\""))))))
|
||||
(add-before 'check 'fix-test-assumptions
|
||||
(lambda _
|
||||
;; The test output includes the file name, so a couple of tests
|
||||
;; fail. Changing the regular expressions slightly fixes this
|
||||
;; problem.
|
||||
(substitute* "test/test_mini_test.rb"
|
||||
(("output.sub!\\(.*, 'FILE:LINE'\\)")
|
||||
"output.sub!(/\\/.+-[\\w\\/\\.]+:\\d+/, 'FILE:LINE')")
|
||||
(("gsub\\(/.*, 'FILE:LINE'\\)")
|
||||
"gsub(/\\/.+-[\\w\\/\\.]+:\\d+/, 'FILE:LINE')")))))))
|
||||
(propagated-inputs
|
||||
(list ruby-minitest-4))
|
||||
(native-inputs
|
||||
(list ruby-hoe-3))
|
||||
(synopsis "Adapter library between minitest and test/unit")
|
||||
(description
|
||||
"This library bridges the gap between the small and fast minitest and
|
||||
Ruby's large and slower test/unit.")
|
||||
(home-page "https://rubygems.org/gems/minitest_tu_shim")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ruby-term-ansicolor
|
||||
(package
|
||||
(name "ruby-term-ansicolor")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue