unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: 63006@debbugs.gnu.org
Subject: [bug#63006] [PATCH 3/3] gnu: tzdata: Update to 2023c.
Date: Fri, 21 Apr 2023 17:01:02 -0400	[thread overview]
Message-ID: <b374e42bf86a6b6bf7f9524073817105d32f049b.1682110862.git.leo@famulari.name> (raw)
In-Reply-To: <724078bec9b692f2d0e3fae4a03a23ef96d94ee5.1682110862.git.leo@famulari.name>

* gnu/packages/base.scm (tzdata): Update to 2023c.
(tzdata-for-tests): Pin at version 2022a and hide.
* gnu/packages/time.scm (python-pytz): Update to 2023.3.
---
 gnu/packages/base.scm | 19 +++++++++++++++----
 gnu/packages/time.scm |  4 ++--
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index fa5f1ef32b..2aef52ddfe 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1358,7 +1358,7 @@ (define-public tzdata
     (name "tzdata")
     ;; This package should be kept in sync with python-pytz in (gnu packages
     ;; time).
-    (version "2022a")
+    (version "2023c")
     (source (origin
              (method url-fetch)
              (uri (string-append
@@ -1366,7 +1366,7 @@ (define-public tzdata
                    version ".tar.gz"))
              (sha256
               (base32
-               "0r0nhwpk9nyxj5kkvjy58nr5d85568m04dcb69c4y3zmykczyzzg"))))
+               "0p4nvp5bdxxdqh269nvvcfrpycbbfwm31al5whwbpsaa3dfhnl9z"))))
     (build-system gnu-build-system)
     (arguments
      (list #:tests? #f
@@ -1434,7 +1434,7 @@ (define-public tzdata
                           version ".tar.gz"))
                     (sha256
                      (base32
-                      "1iysv8fdkm79k8wh8jizmjmq075q4qjhk090vxjy57my6dz5wmzq")))))
+                      "1rqln88ki0jagi372nqyn7bs03rf2l33081sy2835mwsn4mpzla6")))))
     (home-page "https://www.iana.org/time-zones")
     (synopsis "Database of current and historical time zones")
     (description "The Time Zone Database (often called tz or zoneinfo)
@@ -1452,7 +1452,18 @@ (define-public tzdata
 ;;;
 ;;; Please make this a hidden-package if it is different from the primary tzdata
 ;;; package.
-(define-public tzdata-for-tests tzdata)
+(define-public tzdata-for-tests ; TODO rename to tzdata/pinned
+  (hidden-package
+    (package (inherit tzdata)
+      (version "2022a")
+      (source (origin
+                 (method url-fetch)
+                 (uri (string-append
+                        "https://data.iana.org/time-zones/releases/tzdata"
+                        version ".tar.gz"))
+                 (sha256
+                   (base32
+                     "0r0nhwpk9nyxj5kkvjy58nr5d85568m04dcb69c4y3zmykczyzzg")))))))
 
 (define-public libiconv
   (package
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index c0bcb848b3..9416199015 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -124,14 +124,14 @@ (define-public python-pytz
   (package
     (name "python-pytz")
     ;; This package should be kept in sync with tzdata in (gnu packages base).
-    (version "2022.1")
+    (version "2023.3")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "pytz" version))
       (sha256
        (base32
-        "19ya5sh7if819flgmszz585glailhi7rr8frng03n5m8wqphwxhy"))))
+        "1265s3my0r1d841w3sh07ngvaanqhw1nvviqafsiy6c9n6fy530x"))))
     (build-system python-build-system)
     (home-page "http://pythonhosted.org/pytz")
     (synopsis "Python timezone library")
-- 
2.39.2





  parent reply	other threads:[~2023-04-21 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 20:59 [bug#63006] Time zone database improvements Leo Famulari
2023-04-21 21:01 ` [bug#63006] [PATCH 1/3] gnu: libical: Find the time zone database in the environment Leo Famulari
2023-04-21 21:01   ` [bug#63006] [PATCH 2/3] gnu: Go: Do not depend on tzdata Leo Famulari
2023-04-21 21:01   ` Leo Famulari [this message]
2023-04-30 21:00 ` [bug#63006] Time zone database improvements Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b374e42bf86a6b6bf7f9524073817105d32f049b.1682110862.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=63006@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).