gnu: ruby-shindo: Remove -rubygems flags.
These have been removed in Ruby 2.5. * gnu/packages/ruby.scm (ruby-shindo)[arguments]: Change fix-tests phase to also remove the -rubygems flags.
This commit is contained in:
parent
357450dca0
commit
0b060e3486
|
@ -1211,12 +1211,15 @@ standard output stream.")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-tests
|
(add-after 'unpack 'fix-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Rakefile"
|
(substitute* "tests/tests_helper.rb"
|
||||||
(("system \"shindo") "system \"./bin/shindo")
|
(("-rubygems") ""))
|
||||||
;; This test doesn't work, so we disable it.
|
(substitute* "Rakefile"
|
||||||
(("fail \"The build_error test should fail") "#"))
|
(("system \"shindo") "system \"./bin/shindo")
|
||||||
#t)))))
|
;; This test doesn't work, so we disable it.
|
||||||
|
(("fail \"The build_error test should fail") "#")
|
||||||
|
((" -rubygems") ""))
|
||||||
|
#t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("ruby-formatador" ,ruby-formatador)))
|
`(("ruby-formatador" ,ruby-formatador)))
|
||||||
(synopsis "Simple depth first Ruby testing")
|
(synopsis "Simple depth first Ruby testing")
|
||||||
|
|
Loading…
Reference in New Issue