gnu: ruby-sdoc: Update to 0.4.2.

* gnu/packages/ruby.scm (ruby-sdoc): Update to 0.4.2.
[arguments]: Remove 'relax-minitest-requirement' phase, Add 'set-rubylib'
phase.
[native-inputs]: Add ruby-hoe.
This commit is contained in:
Ben Woodcroft 2016-12-09 19:27:12 +10:00
parent 71596c3ce6
commit fdf3a68d9e
No known key found for this signature in database
GPG Key ID: A85574FCCDD09987
1 changed files with 6 additions and 7 deletions

View File

@ -2204,28 +2204,27 @@ current line in an external editor.")
(define-public ruby-sdoc (define-public ruby-sdoc
(package (package
(name "ruby-sdoc") (name "ruby-sdoc")
(version "0.4.1") (version "0.4.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (rubygems-uri "sdoc" version)) (uri (rubygems-uri "sdoc" version))
(sha256 (sha256
(base32 (base32
"16xyfair1j4irfkd6sxvmdcak957z71lwkvhglrznfpkalfnqyqp")))) "0qhvy10vnmrqcgh8494m13kd5ag9c3sczzhfasv8j0294ylk679n"))))
(build-system ruby-build-system) (build-system ruby-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'build 'relax-minitest-requirement (add-before 'check 'set-rubylib
(lambda _ (lambda _
(substitute* "sdoc.gemspec" (setenv "RUBYLIB" "lib")
(("<minitest>\\.freeze, \\[\"~> 4\\.0\"\\]")
"<minitest>.freeze, [\">= 4.0\"]"))
#t))))) #t)))))
(propagated-inputs (propagated-inputs
`(("ruby-json" ,ruby-json))) `(("ruby-json" ,ruby-json)))
(native-inputs (native-inputs
`(("bundler" ,bundler) `(("bundler" ,bundler)
("ruby-minitest" ,ruby-minitest))) ("ruby-minitest" ,ruby-minitest)
("ruby-hoe" ,ruby-hoe)))
(synopsis "Generate searchable RDoc documentation") (synopsis "Generate searchable RDoc documentation")
(description (description
"SDoc is an RDoc documentation generator to build searchable HTML "SDoc is an RDoc documentation generator to build searchable HTML