[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
36/36: gnu: ruby-yard: Make the package reproducible.
From: |
guix-commits |
Subject: |
36/36: gnu: ruby-yard: Make the package reproducible. |
Date: |
Fri, 17 Jul 2020 23:24:48 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 479c032495b8c872dc4fb5348702a6d4fa07ca8c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jul 17 17:23:38 2020 -0400
gnu: ruby-yard: Make the package reproducible.
* gnu/packages/ruby.scm (ruby-yard)[phases]: Add a
'do-not-set-date-in-gemspec
phase.
---
gnu/packages/ruby.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e03edfc..99ef4fb 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8098,7 +8098,15 @@ A modified copy of yajl is used, and included in the
package.")
(arguments
;; Note: Tests are willfully disabled to alleviate dependency cycle
;; problems.
- `(#:tests? #f))
+ `(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'do-not-set-date-in-gemspec
+ ;; Fix a reproducibility issue (see:
+ ;; https://github.com/lsegal/yard/issues/1343).
+ (lambda _
+ (substitute* "yard.gemspec"
+ ((".*s\\.date.*") ""))
+ #t)))))
(synopsis "Documentation generation tool for Ruby")
(description "YARD is a documentation generation tool for the Ruby
programming language. It enables the user to generate consistent, usable
- 30/36: gnu: Add ruby-standard., (continued)
- 30/36: gnu: Add ruby-standard., guix-commits, 2020/07/17
- 34/36: gnu: ruby-rouge: Update to 3.21.0., guix-commits, 2020/07/17
- 12/36: gnu: Add ruby-polyglot., guix-commits, 2020/07/17
- 19/36: gnu: ruby-ast: Update to 2.4.1., guix-commits, 2020/07/17
- 21/36: gnu: Add ruby-rexml., guix-commits, 2020/07/17
- 26/36: gnu: Add ruby-test-queue., guix-commits, 2020/07/17
- 31/36: gnu: Add ruby-chunky-png., guix-commits, 2020/07/17
- 32/36: gnu: Add ruby-text-hyphen., guix-commits, 2020/07/17
- 33/36: gnu: Add ruby-open-uri-cached., guix-commits, 2020/07/17
- 35/36: gnu: Add ruby-asciidoctor-pdf., guix-commits, 2020/07/17
- 36/36: gnu: ruby-yard: Make the package reproducible.,
guix-commits <=