From: Christopher Baines <mail@cbaines.net>
To: 39120@debbugs.gnu.org
Subject: [bug#39120] [PATCH 06/12] gnu: ruby-hoe: Update to 3.21.0.
Date: Mon, 13 Jan 2020 22:53:30 +0000 [thread overview]
Message-ID: <20200113225336.15160-6-mail@cbaines.net> (raw)
In-Reply-To: <20200113225336.15160-1-mail@cbaines.net>
* 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 140cdb9aab..e8861d4a19 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -297,14 +297,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,
--
2.24.1
next prev parent reply other threads:[~2020-01-13 22:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 20:30 [bug#39120] [00/12] Update Ruby to 2.6 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 01/12] gnu: ruby-listen: Update to 3.2.0 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 02/12] gnu: ruby-aruba: Update to 0.14.14 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 03/12] gnu: ruby-childprocess-0.6: Remove version 0.6.3 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 04/12] gnu: ruby-childprocess: Update to 3.0.0 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 05/12] gnu: ruby-yard: Update to 0.9.20 Christopher Baines
2020-01-13 22:53 ` Christopher Baines [this message]
2020-01-13 22:53 ` [bug#39120] [PATCH 07/12] gnu: ruby-power-assert: Update to 1.1.5 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 08/12] gnu: ruby-json-pure: Update to 2.2.0 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 09/12] gnu: ruby-tzinfo: Skip safe tests Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 10/12] gnu: ruby-2.4: Update to 2.4.9 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 11/12] gnu: ruby: Update to 2.6.5 Christopher Baines
2020-01-13 22:53 ` [bug#39120] [PATCH 12/12] gnu: Add ruby-2.5 Christopher Baines
2020-01-13 22:59 ` [bug#39120] [00/12] Update Ruby to 2.6 Marius Bakke
2020-01-14 7:31 ` Christopher Baines
2020-01-14 23:53 ` Christopher Baines
2020-05-09 7:39 ` bug#39120: " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200113225336.15160-6-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=39120@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.