mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ruby-rdoc: Update to 6.7.0.
* gnu/packages/ruby.scm (ruby-rdoc): Update to 6.7.0. [arguments]<#:phases>: Remove patch for gemspec file. [native-inputs]: Add ruby-test-unit-ruby-core. Change-Id: I605f1e79d96ca35029280909e0c2e4c9884c682c Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
a579822d4c
commit
f0a5992ee8
1 changed files with 4 additions and 11 deletions
|
@ -13538,7 +13538,7 @@ technique.")
|
||||||
(define-public ruby-rdoc
|
(define-public ruby-rdoc
|
||||||
(package
|
(package
|
||||||
(name "ruby-rdoc")
|
(name "ruby-rdoc")
|
||||||
(version "6.5.0")
|
(version "6.7.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -13548,25 +13548,18 @@ technique.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06dcjs4s2phvg9bq42mlfqv4c4zpdr8w7aq107lm2q0qqqw7xjlr"))))
|
"0dy997zi7k17c2yjlq1y7zl9yaiym1f4jgfh84qqzhwl1qm6v41j"))))
|
||||||
(build-system ruby-build-system)
|
(build-system ruby-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-gemspec
|
|
||||||
;; TODO: Remove after next release is tagged.
|
|
||||||
(lambda _
|
|
||||||
(substitute* "rdoc.gemspec"
|
|
||||||
(("\"lib/rdoc/generator/template/darkfish/js/\
|
|
||||||
jquery\\.js\", ") ""))
|
|
||||||
#t))
|
|
||||||
(add-before 'build 'generate
|
(add-before 'build 'generate
|
||||||
;; 'gem build' doesn't honor Rakefile dependencies (see:
|
;; 'gem build' doesn't honor Rakefile dependencies (see:
|
||||||
;; https://github.com/ruby/rdoc/issues/432#issuecomment-650808977).
|
;; https://github.com/ruby/rdoc/issues/432#issuecomment-650808977).
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "rake" "generate"))))))
|
(invoke "rake" "generate"))))))
|
||||||
(native-inputs
|
(native-inputs (list bundler ruby-kpeg ruby-racc ruby-rubocop
|
||||||
(list bundler ruby-kpeg ruby-racc ruby-rubocop))
|
ruby-test-unit-ruby-core))
|
||||||
(home-page "https://ruby.github.io/rdoc/")
|
(home-page "https://ruby.github.io/rdoc/")
|
||||||
(synopsis "HTML and command-line documentation utility")
|
(synopsis "HTML and command-line documentation utility")
|
||||||
(description "RDoc produces HTML and command-line documentation for Ruby
|
(description "RDoc produces HTML and command-line documentation for Ruby
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue