[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/12: gnu: ruby-hoe: Update to 3.21.0.
From: |
guix-commits |
Subject: |
06/12: gnu: ruby-hoe: Update to 3.21.0. |
Date: |
Tue, 14 Jan 2020 18:47:39 -0500 (EST) |
cbaines pushed a commit to branch core-updates
in repository guix.
commit d0d2dd24de81a90116008863b2a868de43d3663f
Author: Christopher Baines <address@hidden>
AuthorDate: Mon Jan 13 19:58:28 2020 +0000
gnu: ruby-hoe: Update to 3.21.0.
* gnu/packages/ruby.scm (ruby-hoe): Update to 3.21.0.
[arguments]: Avoid having SOURCE_DATE_EPOCH set while the tests are running.
---
gnu/packages/ruby.scm | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index eec20b0..48cbf42 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -299,14 +299,32 @@ a menu system for providing multiple options to the
user.")
(define-public ruby-hoe
(package
(name "ruby-hoe")
- (version "3.16.2")
+ (version "3.21.0")
(source (origin
(method url-fetch)
(uri (rubygems-uri "hoe" version))
(sha256
(base32
- "12q6dn2irsfamdbjpqvs0dwl4i1vl7wflxrcg972h9jw0ds38f3a"))))
+ "0qid0n56mgsjvq5ksxajv0gb92akky8imwgvw22ajms5g4fd6nf4"))))
(build-system ruby-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ ;; One of the tests fails if the SOURCE_DATE_EPOCH environment
+ ;; variable is set, so unset it for the duration of the tests.
+ ;;
+ ;; TestHoe#test_possibly_better
+ ;; [/tmp/guix-build-ruby-hoe-3.20.0.drv-0/gem/test/test_hoe.rb:250]:
+ ;; Expected: 2019-11-12 00:00:00 UTC
+ ;; Actual: 1970-01-01 00:00:00 UTC
+ (add-before 'check 'unset-SOURCE-DATE-EPOCH
+ (lambda _
+ (unsetenv "SOURCE_DATE_EPOCH")
+ #t))
+ (add-after 'check 'set-SOURCE-DATE-EPOCH-again
+ (lambda _
+ (setenv "SOURCE_DATE_EPOCH" "1")
+ #t)))))
(synopsis "Ruby project management helper")
(description
"Hoe is a rake/rubygems helper for project Rakefiles. It helps manage,
- branch core-updates updated (a76a343 -> 227fab3), guix-commits, 2020/01/14
- 02/12: gnu: ruby-aruba: Update to 0.14.14., guix-commits, 2020/01/14
- 05/12: gnu: ruby-yard: Update to 0.9.20., guix-commits, 2020/01/14
- 04/12: gnu: ruby-childprocess: Update to 3.0.0., guix-commits, 2020/01/14
- 07/12: gnu: ruby-power-assert: Update to 1.1.5., guix-commits, 2020/01/14
- 03/12: gnu: ruby-childprocess-0.6: Remove version 0.6.3., guix-commits, 2020/01/14
- 01/12: gnu: ruby-listen: Update to 3.2.0., guix-commits, 2020/01/14
- 06/12: gnu: ruby-hoe: Update to 3.21.0.,
guix-commits <=
- 08/12: gnu: ruby-json-pure: Update to 2.2.0., guix-commits, 2020/01/14
- 09/12: gnu: ruby-tzinfo: Skip safe tests., guix-commits, 2020/01/14
- 10/12: gnu: ruby-2.4: Update to 2.4.9., guix-commits, 2020/01/14
- 11/12: gnu: ruby: Update to 2.6.5., guix-commits, 2020/01/14
- 12/12: gnu: Add ruby-2.5., guix-commits, 2020/01/14