X-Loop: help-debbugs@HIDDEN
Subject: [bug#56331] [PATCH] gnu: Graft tzdata to install leap-seconds.list.
Resent-From: Antero Mejr <antero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 01 Jul 2022 01:54:02 +0000
Resent-Message-ID: <handler.56331.B.165664042219716 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 56331
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56331 <at> debbugs.gnu.org
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.165664042219716
(code B ref -1); Fri, 01 Jul 2022 01:54:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Jul 2022 01:53:42 +0000
Received: from localhost ([127.0.0.1]:35968 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1o75qn-00057w-Mt
for submit <at> debbugs.gnu.org; Thu, 30 Jun 2022 21:53:41 -0400
Received: from lists.gnu.org ([209.51.188.17]:59586)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <antero@HIDDEN>) id 1o75qj-00057m-Qb
for submit <at> debbugs.gnu.org; Thu, 30 Jun 2022 21:53:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55722)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <antero@HIDDEN>)
id 1o75qi-0004Ue-L7
for guix-patches@HIDDEN; Thu, 30 Jun 2022 21:53:37 -0400
Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:40638)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
(Exim 4.90_1) (envelope-from <antero@HIDDEN>)
id 1o75qb-0000Vf-QH
for guix-patches@HIDDEN; Thu, 30 Jun 2022 21:53:36 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org
[IPv6:2001:67c:2050:b231:465::202])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
SHA256) (No client certificate requested)
by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LYysH2ctJz9sR3
for <guix-patches@HIDDEN>; Fri, 1 Jul 2022 03:53:23 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
s=mail20150812; t=1656640403;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:
content-transfer-encoding:content-transfer-encoding;
bh=XlCoHMVzQqpHKBKwj/efGke4a93F+7uQ0Mlw09nONe8=;
b=XYG6DKylcLWgVsJLU2AJS/AK2FeKDimdBqy3Yezfz+oiOsTDGR2QZCOhSinuyDGTBFZWf9
cBIBO9BfDD9dX/DdLWVIlweeyuVU3+OWIRfHqliMltCbfhQcyW/zeaKbirBZxRh0O0vImQ
BdobI3xkESdigBWpFTNoxdr7CtVnbUrrCtIlRdnw3BNTM4sdpC526R+sNGyhgqa+Q9wILh
HqdOcWmT7bWHr5aRAT3EEVCKK22Gb97IVS/SaD/ulUbC6Xb1cooPOxItviKQ3EEl1jWHSx
6YxOHzqZKPMBT6TA8mKEGb/EmOUH/DUS333086IzOdcpixYh4eBrQ3UgyznN5A==
From: Antero Mejr <antero@HIDDEN>
Date: Fri, 1 Jul 2022 01:53:14 +0000
Message-Id: <20220701015314.7197-1-antero@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MBO-RS-ID: 2b20f4f2136aa767006
X-MBO-RS-META: tot8gai9kfkcxcar4kop7gfwd3udmgq3
X-Rspamd-Queue-Id: 4LYysH2ctJz9sR3
Received-SPF: pass client-ip=2001:67c:2050:0:465::201;
envelope-from=antero@HIDDEN; helo=mout-p-201.mailbox.org
X-Spam_score_int: -23
X-Spam_score: -2.4
X-Spam_bar: --
X-Spam_report: (-2.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
DKIM_SIGNED=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)
* gnu/packages/base.scm (tzdata)[replacement]: New field.
(tzdata-leap-seconds-list): New private variable.
---
gnu/packages/base.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 4bdc3e7792..b265b429d5 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1305,6 +1305,7 @@ (define-public tzdata
;; This package should be kept in sync with python-pytz in (gnu packages
;; time).
(version "2022a")
+ (replacement tzdata-leap-seconds-list)
(source (origin
(method url-fetch)
(uri (string-append
@@ -1390,6 +1391,19 @@ (define-public tzdata
and daylight-saving rules.")
(license public-domain)))
+(define tzdata-leap-seconds-list
+ (package
+ (inherit tzdata)
+ (arguments
+ (substitute-keyword-arguments (package-arguments tzdata)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'install 'copy-leap-seconds-list
+ (lambda _
+ (copy-file "leap-seconds.list"
+ (string-append
+ #$output "/share/zoneinfo/leap-seconds.list"))))))))))
+
;;; A "fixed" version of tzdata, which is used in the test suites of glib and R
;;; and a few other places. We can update this whenever we are able to rebuild
;;; thousands of packages (for example, in a core-updates rebuild). This package
--
2.36.1
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Antero Mejr <antero@HIDDEN> Subject: bug#56331: Acknowledgement ([PATCH] gnu: Graft tzdata to install leap-seconds.list.) Message-ID: <handler.56331.B.165664042219716.ack <at> debbugs.gnu.org> References: <20220701015314.7197-1-antero@HIDDEN> X-Gnu-PR-Message: ack 56331 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 56331 <at> debbugs.gnu.org Date: Fri, 01 Jul 2022 01:54:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): guix-patches@HIDDEN If you wish to submit further information on this problem, please send it to 56331 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 56331: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D56331 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: [bug#56331] Acknowledgement ([PATCH] gnu: Graft tzdata to install leap-seconds.list.)
Resent-From: Antero Mejr <antero@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 01 Jul 2022 02:11:01 +0000
Resent-Message-ID: <handler.56331.B56331.165664144521495 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 56331
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 56331 <at> debbugs.gnu.org
Received: via spool by 56331-submit <at> debbugs.gnu.org id=B56331.165664144521495
(code B ref 56331); Fri, 01 Jul 2022 02:11:01 +0000
Received: (at 56331) by debbugs.gnu.org; 1 Jul 2022 02:10:45 +0000
Received: from localhost ([127.0.0.1]:35980 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1o767J-0005ad-DV
for submit <at> debbugs.gnu.org; Thu, 30 Jun 2022 22:10:45 -0400
Received: from mout-p-201.mailbox.org ([80.241.56.171]:43848)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <antero@HIDDEN>) id 1o767I-0005aP-53
for 56331 <at> debbugs.gnu.org; Thu, 30 Jun 2022 22:10:44 -0400
Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
SHA256) (No client certificate requested)
by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LYzF814xZz9sV5
for <56331 <at> debbugs.gnu.org>; Fri, 1 Jul 2022 04:10:36 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;
s=mail20150812; t=1656641436;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=3720+sgim9RrvHlzbwJ9rwJNicNy/6cd6fhp0XuxXQw=;
b=eCrMm5sz2Avact3OKdIu/RqFcGqhZ1N7PmHVbsGul7At2QRDFviNG0IuOv01zbJyTpnLrN
/paKEvrdhQw5T3BbYeEKDqORZKrDTBPjY5N2Fmj/dOizGPSiTVOZRd2by7V2ngn4IOJdg/
62QBx3MHVfgWeNat1qq1A/vfD/51Vkn6PvLWtv9shgPtqBncQBWXhv33IGD8Dh7IYe76L3
byO6s+wdAJXQvGwue0x0JMamsWrkVBwM6JsQiPYYbZ+k+h+YnHZltFGvZSy8fq78z9KnI4
SmDuLnsp6cRx/FYj4A6dMwr5hCa//wXLccsbOiiWjBlgNdzy10gli/ZyUsOgmg==
References: <20220701015314.7197-1-antero@HIDDEN>
<handler.56331.B.165664042219716.ack <at> debbugs.gnu.org>
From: Antero Mejr <antero@HIDDEN>
Date: Fri, 01 Jul 2022 02:08:50 +0000
In-reply-to: <handler.56331.B.165664042219716.ack <at> debbugs.gnu.org>
Message-ID: <87tu81bn1i.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-MBO-RS-ID: dd5fa8d5a7f66265680
X-MBO-RS-META: 9omfuc8uxcbmzwie3mw853ohpbaf5kyb
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
leap-seconds.list is required by the hare programming language (which is
currently being packaged) for accurate datetime calculations.
It is optionally used by ntpd with the "leapfile" directive in ntpd.conf.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.