gnu: ruby-sdoc: Relax dependency requirement versions.

* gnu/packages/ruby.scm (ruby-sdoc)[arguments]: Relax dependency requirement
versions.
This commit is contained in:
Ben Woodcroft 2017-06-02 21:56:05 -05:00
parent fb4074897b
commit fc29d5e61b
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 7 additions and 1 deletions

View File

@ -2229,9 +2229,15 @@ current line in an external editor.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-rubylib
(add-before 'check 'set-rubylib-and-patch-gemfile
(lambda _
(setenv "RUBYLIB" "lib")
(substitute* "sdoc.gemspec"
(("s.add_runtime_dependency.*") "\n")
(("s.add_dependency.*") "\n"))
(substitute* "Gemfile"
(("gem \"rake\".*")
"gem 'rake'\ngem 'rdoc'\ngem 'json'\n"))
#t)))))
(propagated-inputs
`(("ruby-json" ,ruby-json)))