[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/38: gnu: ruby-rdoc: Update to 6.2.0.
From: |
guix-commits |
Subject: |
09/38: gnu: ruby-rdoc: Update to 6.2.0. |
Date: |
Wed, 8 Jul 2020 23:42:28 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 9304f989e65b52ab49f6f70f77fc157d2afc6f0b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Jun 28 16:57:36 2020 -0400
gnu: ruby-rdoc: Update to 6.2.0.
* gnu/packages/ruby.scm (ruby-rdoc): Update to 6.2.0.
[origin]: Fetch sources from git.
[phases]{patch-gemspec, generate}: New phases.
[native-inputs]{ruby-kpeg, ruby-racc, ruby-rubocop}: New native inputs.
---
gnu/packages/ruby.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index d636561..7a9f4a2 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8472,17 +8472,38 @@ technique.")
(define-public ruby-rdoc
(package
(name "ruby-rdoc")
- (version "6.0.4")
+ (version "6.2.0")
(source
- (origin
- (method url-fetch)
- (uri (rubygems-uri "rdoc" version))
- (sha256
- (base32
- "0anv42cqcdc6g4n386mrva7mgav5i0c2ry3yzvzzc6z6hymkmcr7"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ruby/rdoc.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0dhk29nidv93b5vnjvlm9gcixgn4i0jcyzrgxdk6pdg019bw4cj6"))))
(build-system ruby-build-system)
+ (arguments
+ `(#: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
+ ;; 'gem build' doesn't honor Rakefile dependencies (see:
+ ;; https://github.com/ruby/rdoc/issues/432#issuecomment-650808977).
+ (lambda _
+ (invoke "rake" "generate"))))))
(native-inputs
- `(("bundler" ,bundler)))
+ `(("bundler" ,bundler)
+ ("ruby-kpeg" ,ruby-kpeg)
+ ("ruby-racc" ,ruby-racc)
+ ("ruby-rubocop" ,ruby-rubocop)))
(home-page "https://ruby.github.io/rdoc/")
(synopsis "HTML and command-line documentation utility")
(description "RDoc produces HTML and command-line documentation for Ruby
- 05/38: gnu: Add ruby-sawyer., (continued)
- 05/38: gnu: Add ruby-sawyer., guix-commits, 2020/07/08
- 02/38: gnu: Add ruby-rspec-its-minimal., guix-commits, 2020/07/08
- 03/38: gnu: Add ruby-ffi-rzmq-core., guix-commits, 2020/07/08
- 06/38: gnu: Add ruby-octokit., guix-commits, 2020/07/08
- 14/38: gnu: ruby-ruby-engine: Update to 2.0.0., guix-commits, 2020/07/08
- 11/38: gnu: ruby-method-source: Update to 1.0.0., guix-commits, 2020/07/08
- 12/38: gnu: bundler: Update to 2.1.4., guix-commits, 2020/07/08
- 04/38: gnu: Add ruby-ffi-rzmq., guix-commits, 2020/07/08
- 07/38: gnu: Add ruby-chandler., guix-commits, 2020/07/08
- 08/38: gnu: Add ruby-kpeg., guix-commits, 2020/07/08
- 09/38: gnu: ruby-rdoc: Update to 6.2.0.,
guix-commits <=
- 10/38: gnu: ruby-pry: Update to 0.13.1., guix-commits, 2020/07/08
- 13/38: gnu: ruby-rake: Update to 13.0.1., guix-commits, 2020/07/08
- 15/38: gnu: Add ruby-byebug-11., guix-commits, 2020/07/08
- 16/38: gnu: Add ruby-pry-byebug., guix-commits, 2020/07/08
- 17/38: gnu: Add ruby-binding-of-caller., guix-commits, 2020/07/08
- 19/38: gnu: Add ruby-varint., guix-commits, 2020/07/08
- 20/38: gnu: Add ruby-ruby-prof., guix-commits, 2020/07/08
- 26/38: gnu: Add ruby-unindent., guix-commits, 2020/07/08
- 25/38: gnu: Add ruby-coveralls., guix-commits, 2020/07/08
- 30/38: gnu: Add ruby-cucumber-create-meta., guix-commits, 2020/07/08