From unknown Wed Jun 18 00:19:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49079 <49079@debbugs.gnu.org> To: bug#49079 <49079@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add ocaml-calendar. Reply-To: bug#49079 <49079@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:19:58 +0000 retitle 49079 [PATCH] gnu: Add ocaml-calendar. reassign 49079 guix-patches submitter 49079 Xinglu Chen severity 49079 normal tag 49079 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 17 16:55:04 2021 Received: (at submit) by debbugs.gnu.org; 17 Jun 2021 20:55:04 +0000 Received: from localhost ([127.0.0.1]:55220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltz2V-0008Jx-Lz for submit@debbugs.gnu.org; Thu, 17 Jun 2021 16:55:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:57118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltz2T-0008JV-Dt for submit@debbugs.gnu.org; Thu, 17 Jun 2021 16:55:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltz2T-0001PW-47 for guix-patches@gnu.org; Thu, 17 Jun 2021 16:55:01 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:43828 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltz2Q-0001Gg-W0 for guix-patches@gnu.org; Thu, 17 Jun 2021 16:55:00 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1623963293; bh=YOcJRy1yMl+3naskacJhkHmdxWe+eOEW0SZHRwyJRLo=; h=From:To:Subject:Date; b=gmNE3b1GKb2MPF8HAASbyJcIbVrePk0PUIw6HAvzLDXmUnOMMZ9bNyhSpL82md9a8 V5XX+MVf8kK0RFM/p41+PPOpJPyZxpLRDRKl/swT/huwWV2l6Q1Ix5TB0l8DpJWBhg vw6buDI8dnSP9z2nQraFy+tNerrWAGm0tJzN5AEY= To: guix-patches@gnu.org Subject: [PATCH] gnu: Add ocaml-calendar. Message-Id: Date: Thu, 17 Jun 2021 22:54:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 34 X-Spam_score: 3.4 X-Spam_bar: +++ X-Spam_report: (3.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.99, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/ocaml.scm (ocaml-calendar): New variable. --- gnu/packages/ocaml.scm | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index dcfe8ce391..35c6d4e45e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2020, 2021 [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) * gnu/packages/ocaml.scm (ocaml-calendar): New variable. --- gnu/packages/ocaml.scm | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index dcfe8ce391..35c6d4e45e 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -20,6 +20,7 @@ ;;; Copyright =C2=A9 2020, 2021 pukkamustard ;;; Copyright =C2=A9 2021 aecepoglu ;;; Copyright =C2=A9 2021 Sharlatan Hellseher +;;; Copyright =C2=A9 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -2045,6 +2046,52 @@ manipulate such data.") spans without being subject to operating system calendar time adjustments.= ") (license license:isc))) =20 +(define-public ocaml-calendar + ;; No tags. + ;; Commit from 2019-02-03. + (let ((commit "a447a88ae3c1e9873e32d2a95d3d3e7c5ed4a7da") + (revision "0")) + (package + (name "ocaml-calendar") + ;; Makefile.in says 2.04. + (version (git-version "2.04" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ocaml-community/calendar") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09d9gyqm3zkf3z2m9fx87clqihx6brf8rnzm4yq7c8kf1p572hmc")))) + (build-system gnu-build-system) + (arguments + '(#:test-target + "tests" + #:phases + (modify-phases %standard-phases + (add-before 'install 'set-environment-variables + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "OCAMLFIND_DESTDIR" + (string-append out "/lib/ocaml/site-lib")) + (setenv "OCAMLFIND_LDCONF" "ignore") + (mkdir-p (string-append + out "/lib/ocaml/site-lib/calendar")))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (propagated-inputs + `(("ocaml" ,ocaml) + ("ocamlfind" ,ocaml-findlib))) + (home-page "https://github.com/ocaml-community/calendar") + (synopsis "OCaml library for handling dates and times") + (description "This package provides types and operations over +dates and times.") + ;; With linking exception. + (license license:lgpl2.1+)))) + (define-public ocaml-cmdliner (package (name "ocaml-cmdliner") base-commit: d7fe0414fc18b83d7a1c284b4b411def6a115100 --=20 2.32.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 18 18:17:39 2021 Received: (at 49079-done) by debbugs.gnu.org; 18 Jun 2021 22:17:39 +0000 Received: from localhost ([127.0.0.1]:58311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luMnz-0006bY-Ml for submit@debbugs.gnu.org; Fri, 18 Jun 2021 18:17:39 -0400 Received: from lepiller.eu ([89.234.186.109]:45126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luMnw-0006bO-GL for 49079-done@debbugs.gnu.org; Fri, 18 Jun 2021 18:17:38 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id e7b7aad5; Fri, 18 Jun 2021 22:17:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=W+SIjp8rhXU5 Nf1EfVpM6uqe7G5sO2nQvH6nZosMg8c=; b=lyLKWACVSMKwYLc9mvvJHJXxg6Af TZR3sCq/osXJgy2RnaZ5d9M2W8ajnn9ON8T2l2te7/7OTGrZQhCJz8dDE6ikKMR8 XvdhOY4CsDUKh4vZY0yZPogt/yo3yuLhguQpC5sYiZlVWmuijY/YgK0cVIo0EW3i 7RX8tfl2lpj1W5hxTtKj94sJoiB8wbwD4PSyJEwencBepzm8HFmy0QIlNnfXwkX3 sacjRIkr2xyVYeMRVEEy2/jqWfRLdrXLPPzKjNOFktnynWO8BVIG6yQeiif+xPuL ETMzvBcgWATRYbsmnMlWj6IBh9vGESFs1n09d8FSuMuK+QXctDaZpRC78A== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 97757c5c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 18 Jun 2021 22:17:33 +0000 (UTC) Date: Sat, 19 Jun 2021 00:17:30 +0200 From: Julien Lepiller To: Xinglu Chen Subject: Re: [bug#49079] [PATCH] gnu: Add ocaml-calendar. Message-ID: <20210619001730.469eb17e@tachikoma.lepiller.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Le Thu, 17 Jun 2021 22:54:52 +0200, Xinglu Chen a écrit : > * gnu/packages/ocaml.scm (ocaml-calendar): New variable. > --- Pushed as dee608a1bb09e691e32203f2493975d71318c296 to master, thank you! Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] X-Debbugs-Envelope-To: 49079-done Cc: 49079-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Le Thu, 17 Jun 2021 22:54:52 +0200, Xinglu Chen a =C3=A9crit : > * gnu/packages/ocaml.scm (ocaml-calendar): New variable. > --- Pushed as dee608a1bb09e691e32203f2493975d71318c296 to master, thank you! Note that the package embedded time, so it was not deterministic. Since it was simple to locate, I added a phase that replaces the date with a constant string. I also moved "tests" on the same line as #:test-target. From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 19 04:32:40 2021 Received: (at 49079-done) by debbugs.gnu.org; 19 Jun 2021 08:32:40 +0000 Received: from localhost ([127.0.0.1]:58506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luWPA-0006lm-5q for submit@debbugs.gnu.org; Sat, 19 Jun 2021 04:32:40 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:39900 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luWP8-0006gj-Dx for 49079-done@debbugs.gnu.org; Sat, 19 Jun 2021 04:32:38 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1624091552; bh=17Y5hVdar1q8D7nmXxj2GfGo5Oz5ocKOBHqvmRBsycs=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=fibv6K06qB7yZ3hnG2/yZ/vZmcOfCgM40Fk6+afGrHDlwsGWcfaSI72MD4wrosiKf LUrgmq5ACHj0Plhs3F4H1hD0E0ZNjxOw3m1glPQlaujuOARDsvjZbQYQ668UsJZd5m vu2ILdFDEkL1VOTbW5VLCsz4mjCEm6TyhLHAxRBQ= To: Julien Lepiller Subject: Re: bug#49079: [PATCH] gnu: Add ocaml-calendar. In-Reply-To: <20210619001730.469eb17e@tachikoma.lepiller.eu> References: <20210619001730.469eb17e@tachikoma.lepiller.eu> Date: Sat, 19 Jun 2021 10:32:31 +0200 Message-ID: <877diq45ls.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sat, Jun 19 2021, Julien Lepiller wrote: > Le Thu, 17 Jun 2021 22:54:52 +0200, > Xinglu Chen a écrit : > >> * gnu/packages/ocaml.scm (ocaml-calendar): New variable. >> --- > > Pushed as dee608a1bb09e691e32203f2493975d [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS X-Debbugs-Envelope-To: 49079-done Cc: 49079-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Sat, Jun 19 2021, Julien Lepiller wrote: > Le Thu, 17 Jun 2021 22:54:52 +0200, > Xinglu Chen a écrit : > >> * gnu/packages/ocaml.scm (ocaml-calendar): New variable. >> --- > > Pushed as dee608a1bb09e691e32203f2493975d [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, Jun 19 2021, Julien Lepiller wrote: > Le Thu, 17 Jun 2021 22:54:52 +0200, > Xinglu Chen a =C3=A9crit : > >> * gnu/packages/ocaml.scm (ocaml-calendar): New variable. >> --- > > Pushed as dee608a1bb09e691e32203f2493975d71318c296 to master, thank you! > > Note that the package embedded time, so it was not deterministic. Since > it was simple to locate, I added a phase that replaces the date with a > constant string. I also moved "tests" on the same line as #:test-target. Thank you for catching this! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmDNq58VHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5NDEP/iC46+fJUUkyRr34ivsGIo4FdfX1 GybA6d3HrUI5DoWAneyW9Lln6GWTw3jhVqxyY06gQQo1qNCDAqtgB7IbJgzfasoY U/05AKQXZuaaLOhBu1qYTyUi7o0qXxsX3/OBJ/J+OJmNMgwRtFAY06uuqp1PMGuy MZQkAPry+TQDk28LwV6U3dmwaNrfy2rP9r4SvpGUAnUEZiCkGOxNvd6tb9eKkdCG 9lKiLqTaoxE6i0hTsxzi3CNoPidYdf8OiMz7VtzxdC1usV6rIyhS9iblc088GOzj ZLAnAsJ9vL+PmQ5Vl9MdpOR8E8R/obrzufqA52AUfBTKWSzQnCWkRuRV+N5+DB0F tIcLUp3Bb4bueU6jgKBRMdn0IE5Ay+2a7FKGJ1VS9XmoLycU4Hbhak+U5CjTrisM rdWnZrpV5JenU1lQtUKf5qNRPfboPHWcJb3cg6HIhfOiNAIaGNwJEF8ReAn4Pu4H KZXVzqSI8JA/HPuatCFsEUup28T8u+13xBy+otlYsV7+2WaKNvTW5J/WTfMjubmd a+SGlOwa582qmuk8lbrVs1tXdnBJzT+wdX+HUJaoB9dKHje8hiBrYI06ve+NUGic 96aPUG+hD2mlEC1bnRiqcM1ZuzunRkNOknGHy+Aio7BLuqXBqp0ZZ4E9TZ+fOwsi SXLF0Lb3ybNwypx1 =Ueor -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 00:19:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Jul 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator