guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.
commit 05923d7a2511cc050d3e3f00c3503df71b86341a
Author: gemmaro <[email protected]>
AuthorDate: Mon Aug 17 20:55:37 2026 +0000
gnu: ruby-rdoc: Update to 8.0.0.
* gnu/packages/ruby-xyz.scm (ruby-rdoc): Update to 8.0.0.
[propagated-inputs]: Add ruby-erb, ruby-tsort, ruby-prism, and ruby-rbs.
[native-inputs]: Remove bundler, ruby-kpeg, ruby-racc, and ruby-rubocop.
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/ruby-xyz.scm | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 29c942f5bc..6086debc4d 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -13300,7 +13300,11 @@ technique.")
(define-public ruby-rdoc
(package
(name "ruby-rdoc")
- (version "6.7.0")
+ (version "8.0.0")
+ ;; The source contains some generated files via racc and kpeg.
+ ;; However the generated result is not deterministic [1] with
+ ;; multiple runs.
+ ;; [1] https://github.com/ruby/rdoc/blob/v8.0.0/Rakefile#L91-L93
(source
(origin
(method git-fetch)
@@ -13310,23 +13314,18 @@ technique.")
(file-name (git-file-name name version))
(sha256
(base32
- "0dy997zi7k17c2yjlq1y7zl9yaiym1f4jgfh84qqzhwl1qm6v41j"))))
+ "1ga4d34allpqglal403x897pxq0a713v4f6w0ln43x8xv362mapf"))))
(build-system ruby-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'generate
- ;; 'gem build' doesn't honor Rakefile dependencies (see:
- ;; https://github.com/ruby/rdoc/issues/432#issuecomment-650808977).
- (lambda _
- (invoke "rake" "generate"))))))
- (native-inputs (list bundler ruby-kpeg ruby-racc ruby-rubocop
- ruby-test-unit-ruby-core))
+ ;; Document generation in the install phase causes errors since it
+ ;; conflicts with the Ruby's builtin version of RDoc.
+ (arguments (list #:gem-flags #~(list "--no-document")))
+ (native-inputs (list ruby-test-unit-ruby-core))
+ (propagated-inputs (list ruby-erb ruby-tsort ruby-prism ruby-rbs))
(home-page "https://ruby.github.io/rdoc/")
(synopsis "HTML and command-line documentation utility")
(description "RDoc produces HTML and command-line documentation for Ruby
-projects. RDoc includes the +rdoc+ and +ri+ tools for generating and
displaying
-documentation from the command-line.")
+projects. RDoc includes the @samp{rdoc} and @samp{ri} tools for
+generating and displaying documentation from the command-line.")
(license license:gpl2+)))
(define-public ruby-sass-listen