GNU bug report logs -
#78826
[PATCH ruby-team 00/88] Switch to ruby@3.3 and build -P1 ruby@3.3
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Wed, 18 Jun 2025 14:22:02 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 78826 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ruby-xyz.scm (ruby-tzinfo): Update to 2.0.6-0.5cfebcb.
---
gnu/packages/ruby-xyz.scm | 84 ++++++++++++++++++++-------------------
1 file changed, 43 insertions(+), 41 deletions(-)
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 7697a55858..461bd7e4ff 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -6780,49 +6780,51 @@ (define-public ruby-thread-safe
(license license:asl2.0)))
(define-public ruby-tzinfo
- (package
- (name "ruby-tzinfo")
- (version "2.0.6")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- ;; Pull from git because the gem has no tests.
- (url "https://github.com/tzinfo/tzinfo")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1n1gzjqwwnx209h8d054miva0y7x17db2ahy7jav5r25ibhh7rgm"))))
- (build-system ruby-build-system)
- (arguments
- (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 = {})
+ ;; XXX: Unreleased for Ruby <at> 3.3.
+ (let ((commit "5cfebcbdbe3beff2a254ea0709a1586968a301a0")
+ (revision "0"))
+ (package
+ (name "ruby-tzinfo")
+ (version (git-version "2.0.6" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ ;; Pull from git because the gem has no tests.
+ (url "https://github.com/tzinfo/tzinfo")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "02sp9pp3qxds1cw8kks3iha6ib5wrjybh4d2qjm0rksrqkq1gd6q"))))
+ (build-system ruby-build-system)
+ (arguments
+ (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')"))))
- (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
- (list ruby-concurrent))
- (native-inputs
- (list ruby-simplecov))
- (synopsis "Time zone library for Ruby")
- (description "TZInfo is a Ruby library that provides daylight savings
+ (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
+ (list ruby-concurrent))
+ (native-inputs
+ (list ruby-simplecov))
+ (synopsis "Time zone library for Ruby")
+ (description "TZInfo is a Ruby library that provides daylight savings
aware transformations between times in different time zones.")
- (home-page "https://tzinfo.github.io")
- (license license:expat)))
+ (home-page "https://tzinfo.github.io")
+ (license license:expat))))
(define-public ruby-tzinfo-data
(package
--
2.49.0
This bug report was last modified 31 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.