[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64150] [PATCH 11/24] gnu: ruby-tzinfo: Update to 2.0.6.
From: |
Christopher Baines |
Subject: |
[bug#64150] [PATCH 11/24] gnu: ruby-tzinfo: Update to 2.0.6. |
Date: |
Sun, 18 Jun 2023 12:28:38 +0100 |
* gnu/packages/ruby.scm (ruby-tzinfo): Update to 2.0.6.
[arguments,propagated-inputs]: Update style.
---
gnu/packages/ruby.scm | 42 ++++++++++++++++++++----------------------
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f24c709280..1dce3dc315 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7011,7 +7011,7 @@ (define-public ruby-thread-safe
(define-public ruby-tzinfo
(package
(name "ruby-tzinfo")
- (version "2.0.4")
+ (version "2.0.6")
(source
(origin
(method git-fetch)
@@ -7022,31 +7022,29 @@ (define-public ruby-tzinfo
(file-name (git-file-name name version))
(sha256
(base32
- "0jaq1givdaz5jxz47xngyj3j315n872rk97mnpm5njwm48wy45yh"))))
+ "1n1gzjqwwnx209h8d054miva0y7x17db2ahy7jav5r25ibhh7rgm"))))
(build-system ruby-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'skip-safe-tests
- (lambda _
- (substitute* "test/test_utils.rb"
- (("def safe_test\\(options = \\{\\}\\)")
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'skip-safe-tests
+ (lambda _
+ (substitute* "test/test_utils.rb"
+ (("def safe_test\\(options = \\{\\}\\)")
"def safe_test(options = {})
- skip('The Guix build environment has an unsafe load path')"))
- #t))
- (add-before 'check 'pre-check
- (lambda _
- (setenv "HOME" (getcwd))
- (substitute* "Gemfile"
- (("simplecov.*") "simplecov'\n"))
- #t))
- (replace 'check
- (lambda* (#:key tests? test-target #:allow-other-keys)
- (when tests?
- (invoke "bundler" "exec" "rake" test-target))
- #t)))))
+ skip('The Guix build environment has an unsafe load path')"))))
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "HOME" (getcwd))
+ (substitute* "Gemfile"
+ (("simplecov.*") "simplecov'\n"))))
+ (replace 'check
+ (lambda* (#:key tests? test-target #:allow-other-keys)
+ (when tests?
+ (invoke "bundler" "exec" "rake" test-target)))))))
(propagated-inputs
- `(("ruby-concurrent-ruby" ,ruby-concurrent)))
+ (list ruby-concurrent))
(native-inputs
(list ruby-simplecov))
(synopsis "Time zone library for Ruby")
--
2.40.1
- [bug#64150] [PATCH 00/24] Various changes to support updating the default ruby., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 02/24] gnu: texlive-hyph-utf8: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 01/24] gnu: texlive-hyphen-package: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 03/24] gnu: texlive-bin: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 11/24] gnu: ruby-tzinfo: Update to 2.0.6.,
Christopher Baines <=
- [bug#64150] [PATCH 14/24] gnu: ruby-shindo: Update to 0.3.10., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 07/24] gnu: utf8proc-2.7.0: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 04/24] gnu: qtbase: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 05/24] gnu: texlive-hyphen-package: Use pinned ruby-hydra-minimal., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 09/24] gnu: mkvtoolnix: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 06/24] gnu: qtwebengine-5: Explicitly use ruby-2.7., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 08/24] gnu: webkitgtk: Explicitly use ruby-2., Christopher Baines, 2023/06/18
- [bug#64150] [PATCH 15/24] gnu: ruby-rjb: Update to 1.6.7., Christopher Baines, 2023/06/18