[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/94: gnu: ruby-tzinfo-data: Update to 1.2023.3.
From: |
guix-commits |
Subject: |
25/94: gnu: ruby-tzinfo-data: Update to 1.2023.3. |
Date: |
Mon, 3 Jul 2023 06:06:23 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit d956727a6afd75f599658d4191970e5ab755153e
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Jun 27 10:34:31 2023 +0100
gnu: ruby-tzinfo-data: Update to 1.2023.3.
* gnu/packages/ruby.scm (ruby-tzinfo-data): Update to 1.2023.
[arguments]: Update style and patch URI.parse(url).open.
[native-inputs]: Update.
---
gnu/packages/ruby.scm | 65 +++++++++++++++++++++++++++------------------------
1 file changed, 34 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c716c65166..b44a92f965 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7175,7 +7175,7 @@ aware transformations between times in different time
zones.")
(define-public ruby-tzinfo-data
(package
(name "ruby-tzinfo-data")
- (version "1.2021.1")
+ (version "1.2023.3")
(source
(origin
(method git-fetch)
@@ -7187,59 +7187,62 @@ aware transformations between times in different time
zones.")
(file-name (git-file-name name version))
(sha256
(base32
- "0yzyr3rf8qaw6kxfc0gwpxsb7gl3rhfpx9g1c2z15vapyminhi60"))))
+ "1v3fpfmw485lsc9bfqfcasb9j25g9ywfpmmk648l2vdsh7nipilf"))))
(build-system ruby-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-source
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "Rakefile"
- (("https://data.iana.org/time-zones/releases")
- (assoc-ref inputs "tzdata")))))
- (add-before 'check 'pre-check
- (lambda _
- (setenv "HOME" (getcwd))
- (substitute* "Rakefile"
- ;; Don't need gpg, and it may break after a time.
- (("gpg ") "echo ")
- ((" sh\\(\\\"make -C" text)
- (string-append " sh(\"sed -i 's@/bin/sh@sh@'
#{tzdb_combined_path}/Makefile \")\n"
- " sh(\"sed -i 's@cc=@cc?=@'
#{tzdb_combined_path}/Makefile \")\n" text)))
- (setenv "cc" ,(cc-for-target)))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-source
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "Rakefile"
+ (("URI\\.parse\\(url\\)\\.open")
+ "URI.open(url)")
+ (("https://data.iana.org/time-zones/releases")
+ (assoc-ref inputs "tzdata")))))
+ (add-before 'check 'pre-check
+ (lambda _
+ (setenv "HOME" (getcwd))
+ (substitute* "Rakefile"
+ ;; Don't need gpg, and it may break after a time.
+ (("gpg ") "echo ")
+ ((" sh\\(\\\"make -C" text)
+ (string-append " sh(\"sed -i 's@/bin/sh@sh@'
#{tzdb_combined_path}/Makefile \")\n"
+ " sh(\"sed -i 's@cc=@cc?=@'
#{tzdb_combined_path}/Makefile \")\n" text)))
+ (setenv "cc" #$(cc-for-target)))))))
(propagated-inputs
(list ruby-tzinfo))
(native-inputs
`(("tzdata"
,(file-union "tzdata-for-ruby-tzdata-info"
- `(("tzdata2021a.tar.gz"
+ `(("tzdata2023c.tar.gz"
,(origin
(method url-fetch)
- (uri
"https://data.iana.org/time-zones/releases/tzdata2021a.tar.gz")
+ (uri
"https://data.iana.org/time-zones/releases/tzdata2023c.tar.gz")
(sha256
(base32
- "022fn6gkmp7pamlgab04x0dm5hnyn2m2fcnyr3pvm36612xd5rrr"))))
- ("tzdata2021a.tar.gz.asc"
+ "0p4nvp5bdxxdqh269nvvcfrpycbbfwm31al5whwbpsaa3dfhnl9z"))))
+ ("tzdata2023c.tar.gz.asc"
,(origin
(method url-fetch)
- (uri
"https://data.iana.org/time-zones/releases/tzdata2021a.tar.gz.asc")
+ (uri
"https://data.iana.org/time-zones/releases/tzdata2023c.tar.gz.asc")
(sha256
(base32
- "0n7h2w8ji1lrxpk0d44wyfshlhr7c9jmwj6lqbxlyvqnfi3gbicx"))))
- ("tzcode2021a.tar.gz"
+ "0mrmhczs5qnj1zp6gh4pg6fm0iblr2jmzy0fgh9slinwxmn7pv6m"))))
+ ("tzcode2023c.tar.gz"
,(origin
(method url-fetch)
- (uri
"https://data.iana.org/time-zones/releases/tzcode2021a.tar.gz")
+ (uri
"https://data.iana.org/time-zones/releases/tzcode2023c.tar.gz")
(sha256
(base32
- "1l02b0jiwp3fl0xd6227i69d26rmx3yrnq0ssq9vvdmm4jhvyipb"))))
- ("tzcode2021a.tar.gz.asc"
+ "1rqln88ki0jagi372nqyn7bs03rf2l33081sy2835mwsn4mpzla6"))))
+ ("tzcode2023c.tar.gz.asc"
,(origin
(method url-fetch)
- (uri
"https://data.iana.org/time-zones/releases/tzcode2021a.tar.gz.asc")
+ (uri
"https://data.iana.org/time-zones/releases/tzcode2023c.tar.gz.asc")
(sha256
(base32
-
"1qhlj4lr810s47s1lwcvv1sgvg2sflf98w4sbg1lc8wzv5qxxv7g")))))))))
+
"0jbx8xjv75qfh7bxa2xmrf97r37057y89rhmrq1gz8s6b8qlzb2i")))))))))
(synopsis "Data from the IANA Time Zone database")
(description
"This library provides @code{TZInfo::Data}, which contains data from the
- 20/94: gnu: Add ruby-psych-3., (continued)
- 20/94: gnu: Add ruby-psych-3., guix-commits, 2023/07/03
- 02/94: gnu: ruby-bindex: Update to 0.8.1 and rename to ruby-skiptrace., guix-commits, 2023/07/03
- 18/94: gnu: ruby-mocha: Update to 2.0.4., guix-commits, 2023/07/03
- 09/94: gnu: ruby-websocket: Update to 1.2.9-1.950e416., guix-commits, 2023/07/03
- 33/94: gnu: ruby-listen: Update to 3.8.0., guix-commits, 2023/07/03
- 14/94: gnu: ruby-range-compressor: Add ruby-sorted-set as an input., guix-commits, 2023/07/03
- 03/94: gnu: ruby-dep: Build with ruby-2.7., guix-commits, 2023/07/03
- 04/94: gnu: ruby-builder: Fix build., guix-commits, 2023/07/03
- 28/94: gnu: ruby-minitest: Update to 5.18.1., guix-commits, 2023/07/03
- 10/94: gnu: ruby-gettext: Update to 3.4.4., guix-commits, 2023/07/03
- 25/94: gnu: ruby-tzinfo-data: Update to 1.2023.3.,
guix-commits <=
- 05/94: gnu: ruby-rspec-core-2: Fix build., guix-commits, 2023/07/03
- 12/94: gnu: Add ruby-set., guix-commits, 2023/07/03
- 13/94: gnu: Add ruby-sorted-set., guix-commits, 2023/07/03
- 26/94: gnu: ruby-json-pure: Update to 2.6.3., guix-commits, 2023/07/03
- 24/94: gnu: ruby-rack: Update to 2.2.7., guix-commits, 2023/07/03
- 34/94: gnu: ruby-mime-types: Update to 3.4.1., guix-commits, 2023/07/03
- 46/94: gnu: ruby-timecop: Update to 0.9.6., guix-commits, 2023/07/03
- 58/94: gnu: ruby-bibtex-ruby: Remove ruby-byebug dependency., guix-commits, 2023/07/03
- 60/94: gnu: facter: Update to 4.4.1., guix-commits, 2023/07/03
- 74/94: gnu: ruby-net-scp: Fix build., guix-commits, 2023/07/03