[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/59: gnu: ruby-tzinfo-data: Update to 1.2023.3.
From: |
guix-commits |
Subject: |
25/59: gnu: ruby-tzinfo-data: Update to 1.2023.3. |
Date: |
Wed, 28 Jun 2023 05:55:14 -0400 (EDT) |
cbaines pushed a commit to branch ruby-team
in repository guix.
commit b5a193e52134e4c8d57234feb8523874028ad2f8
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 8f1c36b742..e5bf210ca3 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
- 12/59: gnu: Add ruby-set., (continued)
- 12/59: gnu: Add ruby-set., guix-commits, 2023/06/28
- 17/59: gnu: Add ruby-psych., guix-commits, 2023/06/28
- 16/59: gnu: Remove ruby-instantiator., guix-commits, 2023/06/28
- 06/59: gnu: ruby-pry: Update to 0.14.2., guix-commits, 2023/06/28
- 15/59: gnu: ruby-introspection: Adjust inputs., guix-commits, 2023/06/28
- 19/59: gnu: ruby-test-construct: Update to 2.0.2., guix-commits, 2023/06/28
- 20/59: gnu: Add ruby-psych-3., guix-commits, 2023/06/28
- 21/59: gnu: ruby-stackprof: Update to 0.2.25., guix-commits, 2023/06/28
- 22/59: gnu: ruby-hoe: Update to 4.0.4., guix-commits, 2023/06/28
- 26/59: gnu: ruby-json-pure: Update to 2.6.3., guix-commits, 2023/06/28
- 25/59: gnu: ruby-tzinfo-data: Update to 1.2023.3.,
guix-commits <=
- 27/59: gnu: ruby-markaby: Fix tests., guix-commits, 2023/06/28
- 32/59: gnu: ruby-term-ansicolor: Fix build., guix-commits, 2023/06/28
- 35/59: gnu: ruby-http-cookie: Update to 1.0.5., guix-commits, 2023/06/28
- 42/59: gnu: ruby-tilt: Update to 2.0.11., guix-commits, 2023/06/28
- 33/59: gnu: ruby-listen: Update to 3.8.0., guix-commits, 2023/06/28
- 37/59: gnu: Add ruby-http-accept-1., guix-commits, 2023/06/28
- 49/59: gnu: %ruby-rails-version: Update to 7.0.5.1., guix-commits, 2023/06/28
- 18/59: gnu: ruby-mocha: Update to 2.0.4., guix-commits, 2023/06/28
- 23/59: gnu: ruby-sqlite3: Update to 1.6.3., guix-commits, 2023/06/28
- 24/59: gnu: ruby-rack: Update to 2.2.7., guix-commits, 2023/06/28