Subject: Re: bug#50859: [core-updates-frozen] gnu: tzdata: Update to 2021b.

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 12 Oct 2021 00:36:44 -0400

Hello Leo,

Leo Famulari <[email-masked]> writes:

> * gnu/packages/base.scm (tzdata, tzdata-for-tests): Update to 2021c.
> ---
>  gnu/packages/base.scm | 32 +++++++-------------------------
>  1 file changed, 7 insertions(+), 25 deletions(-)
>
> diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
> index 174af43917..1eea658791 100644
> --- a/gnu/packages/base.scm
> +++ b/gnu/packages/base.scm
> @@ -1230,7 +1230,7 @@ command.")
>      (name "tzdata")
>      ;; This package should be kept in sync with python-pytz in (gnu packages
>      ;; time).
> -    (version "2021a")
> +    (version "2021c")
>      (source (origin
>               (method url-fetch)
>               (uri (string-append
> @@ -1238,7 +1238,7 @@ command.")
>                     version ".tar.gz"))
>               (sha256
>                (base32
> -               "022fn6gkmp7pamlgab04x0dm5hnyn2m2fcnyr3pvm36612xd5rrr"))))
> +               "0himprzx3ahxkmg4rvp8n5lqry76qzc65j6sfq151hqirg4d3wdl"))))
>      (build-system gnu-build-system)
>      (arguments
>       (list #:tests? #f
> @@ -1306,7 +1306,7 @@ command.")
>                            version ".tar.gz"))
>                      (sha256
>                       (base32
> -                      "1l02b0jiwp3fl0xd6227i69d26rmx3yrnq0ssq9vvdmm4jhvyipb")))))
> +                      "01fsa661vzdij46z286pa8q07cppqz29sr2pf0qqldqpldbb6km3")))))
>      (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)
> @@ -1321,28 +1321,10 @@ and daylight-saving rules.")
>  ;;; thousands of packages (for example, in a core-updates rebuild). This package
>  ;;; will typically be obsolete and should never be referred to by a built
>  ;;; package.

LGTM.

> -(define-public tzdata-for-tests
> -  (hidden-package
> -   (package
> -     (inherit tzdata)
> -     (version "2021a")
> -     (source (origin
> -               (method url-fetch)
> -               (uri (string-append
> -                     "https://data.iana.org/time-zones/releases/tzdata"
> -                     version ".tar.gz"))
> -               (sha256
> -                (base32
> -                 "022fn6gkmp7pamlgab04x0dm5hnyn2m2fcnyr3pvm36612xd5rrr"))))
> -     (inputs
> -      (list (origin
> -              (method url-fetch)
> -              (uri (string-append
> -                    "https://data.iana.org/time-zones/releases/tzcode"
> -                    version ".tar.gz"))
> -              (sha256
> -               (base32
> -                "1l02b0jiwp3fl0xd6227i69d26rmx3yrnq0ssq9vvdmm4jhvyipb"))))))))
> +;;;
> +;;; Please make this a hidden-package if it is different from the primary tzdata
> +;;; package.
> +(define-public tzdata-for-tests tzdata)

Why do we keep the above?  I'm sed it out of the code base instead.

If you want, I can push this change along 50358 when I get to it, which
will cause a world rebuild.

Thanks,

Maxim