Received: (at 69119) by debbugs.gnu.org; 3 Mar 2024 16:48:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 03 11:48:07 2024 Received: from localhost ([127.0.0.1]:41125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rgp0R-0003B4-1E for submit <at> debbugs.gnu.org; Sun, 03 Mar 2024 11:48:07 -0500 Received: from mailtransmit05.runbox.com ([185.226.149.38]:38966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <steve@HIDDEN>) id 1rgp0O-000399-AM; Sun, 03 Mar 2024 11:48:05 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from <steve@HIDDEN>) id 1rgoxh-002eBy-OF; Sun, 03 Mar 2024 17:45:17 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=futurile.net; s=selector1; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=guwaELYs1cKdMZxvXuhZqdI/Dwrqc++6REjUiNcCZ+M=; b=AQGsBxhquQVSGPv7svV9i7ydLN t4g9FGXwZshWfVLkFlmXYpd+zgATOtfb+ucFaQPvR7ibAsOUPDWQ4thUwS/ZgWa6yMFoAl8xVfYb3 1h1u/6ff0UQ5lSmeWA1GowWsq+ZB3prNqzDNxPm1W9yeLeiZIJvpUPEp6MES5YQSdpbrcEhGZkr/M r31XbNI06r6vxV7C4T+L2YnwmCt+GMgceEsiO+hY0HegGocCNaHHR7tPAXKznNTaHaZE6b+Uak+UZ 9Bj2lCT0w6mpPJwKK5jF71CxnX2cgeOIYs830S9B9cxbQLINCWKFFOieUJDF0hvZMEAT1ayGhmcDe j681/W4Q==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from <steve@HIDDEN>) id 1rgoxh-0000ed-5F; Sun, 03 Mar 2024 17:45:17 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rgoxb-00GhwH-JA; Sun, 03 Mar 2024 17:45:11 +0100 Date: Sun, 3 Mar 2024 16:45:10 +0000 From: Steve George <steve@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#69119: [PATCH v2 1/1] gnu: Add clojure.java-time. Message-ID: <ZeSpFh+a2XkGWk8c@t25sg> References: <cover.1707775899.git.steve@HIDDEN> <Zc8zjdwWZC7b4bA0@jurong> <87cyscd2w4.fsf_-_@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87cyscd2w4.fsf_-_@HIDDEN> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69119 Cc: 69091 <at> debbugs.gnu.org, Andreas Enge <andreas@HIDDEN>, 69119 <at> debbugs.gnu.org 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.0 (-) Hi Ludo, I got blocked as this patch caused me to look at whether we should be compiling to byte-code by default. I have not been able to achieve consensus so far (and have taken some time off from the thread): https://lists.gnu.org/archive/html/guix-devel/2024-02/msg00241.html Having been unable to convince others I also asked the Clojure community: https://clojureverse.org/t/should-linux-distributions-ship-clojure-byte-compiled-aot-or-not/10595 Their perspective is that: a. We should not byte-code compile libraries (what Clojure calls AOT), but we could do so for tools/apps. b. We should not package libraries at all From both interactions I'm unsure if packaging this (or any other Clojure libs/tools) is the right move. Steve On 2 Mar, Ludovic Courtès wrote: > Hi Steve, > > Did you have a chance to look into Andreas’ comments about this patch? > > https://issues.guix.gnu.org/69119 > > Ludo’. > > Andreas Enge <andreas@HIDDEN> skribis: > > > Hello, > > > > according to our naming convention > > https://guix.gnu.org/de/manual/devel/en/html_node/Package-Naming.html > > https://guix.gnu.org/de/manual/devel/en/html_node/Python-Modules.html > > I think the package should be called clojure-java-time (well, this is not > > spelt out precisely, but we could argue by analogy, and by consistency with > > the existing clojure packages). > > > > I know nothing about clojure, but am wondering about two things: > > - There is one other package with #:aot-exclude '(#:all), which gives > > an explanation why the line is there; could you add one here as well? > > - Would it make sense to package math.combinatorics first to enable the > > tests? If we do not test now, I am afraid we will forget it later... > > > > Andreas
guix-patches@HIDDEN:bug#69119; Package guix-patches.
Full text available.Received: (at 69119) by debbugs.gnu.org; 2 Mar 2024 16:18:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 02 11:18:10 2024 Received: from localhost ([127.0.0.1]:39231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rgS3t-0005bm-NM for submit <at> debbugs.gnu.org; Sat, 02 Mar 2024 11:18:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1rgS3s-0005bY-Kj; Sat, 02 Mar 2024 11:18:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1rgS3J-0008Rs-JZ; Sat, 02 Mar 2024 11:17:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=7Maebh8/X+LJgOsVsgl/rmbU18gBo+3PXBxIwCNXrr8=; b=Msapx17TKdSX6dm2vgxB 0rzKFWeLQ0i/FIY1C1m7f03PtxVRISpdEd8eYv3pJlUU1/3wPGn6ZZg3fEv2TwKFsG9mZEOS6V+O0 cPEFFBdFVPAsPL85M7U91mN43KMYT5xRLJfbORU8+TXQI+7ywL1sC32X83TMXUBtCO/J/ssBpKt/E t+U/nHIZn31S0NaXWMYkjg0EPZprN2PWdxetp18JTHCeBw5x31uOh7pEIZQqRw2MYnV6V5QbS0YqF gZrZvVx4rFJ+JRINRN+ksx3b1JGM8fsWno3P7slLxrbwnuSMVMopXxpT4XLN8WXC6dAZBERZtGn0X Kn7wiziSU7JARQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Steve George <steve@HIDDEN> Subject: Re: bug#69119: [PATCH v2 1/1] gnu: Add clojure.java-time. In-Reply-To: <Zc8zjdwWZC7b4bA0@jurong> (Andreas Enge's message of "Fri, 16 Feb 2024 11:06:05 +0100") References: <cover.1707775899.git.steve@HIDDEN> <Zc8zjdwWZC7b4bA0@jurong> Date: Sat, 02 Mar 2024 17:17:31 +0100 Message-ID: <87cyscd2w4.fsf_-_@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69119 Cc: 69091 <at> debbugs.gnu.org, Andreas Enge <andreas@HIDDEN>, 69119 <at> debbugs.gnu.org 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: -3.3 (---) Hi Steve, Did you have a chance to look into Andreas=E2=80=99 comments about this pat= ch? https://issues.guix.gnu.org/69119 Ludo=E2=80=99. Andreas Enge <andreas@HIDDEN> skribis: > Hello, > > according to our naming convention > https://guix.gnu.org/de/manual/devel/en/html_node/Package-Naming.html > https://guix.gnu.org/de/manual/devel/en/html_node/Python-Modules.html > I think the package should be called clojure-java-time (well, this is not > spelt out precisely, but we could argue by analogy, and by consistency wi= th > the existing clojure packages). > > I know nothing about clojure, but am wondering about two things: > - There is one other package with #:aot-exclude '(#:all), which gives > an explanation why the line is there; could you add one here as well? > - Would it make sense to package math.combinatorics first to enable the > tests? If we do not test now, I am afraid we will forget it later... > > Andreas
guix-patches@HIDDEN:bug#69119; Package guix-patches.
Full text available.Steve George <steve@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.
Received: (at submit) by debbugs.gnu.org; 14 Feb 2024 08:58:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 14 03:58:00 2024
Received: from localhost ([127.0.0.1]:50320 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1raB5c-0003ED-Ac
for submit <at> debbugs.gnu.org; Wed, 14 Feb 2024 03:58:00 -0500
Received: from lists.gnu.org ([209.51.188.17]:32988)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <steve@HIDDEN>) id 1raB5Z-0003Dz-JW
for submit <at> debbugs.gnu.org; Wed, 14 Feb 2024 03:57:59 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <steve@HIDDEN>)
id 1raB5E-0008LU-91
for guix-patches@HIDDEN; Wed, 14 Feb 2024 03:57:36 -0500
Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <steve@HIDDEN>)
id 1raB5B-0008ET-Bs
for guix-patches@HIDDEN; Wed, 14 Feb 2024 03:57:35 -0500
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
by mailtransmit04.runbox.com with esmtps (TLS1.2) tls
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
(envelope-from <steve@HIDDEN>)
id 1raB53-000x9M-Qu; Wed, 14 Feb 2024 09:57:25 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=futurile.net; s=selector1; h=Content-Transfer-Encoding:MIME-Version:
References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From;
bh=bZXWkVqOHGd8xIQUQZ93umgtS/yvKKDrHi81DdwaYyQ=; b=gmoMR9bHxPq9NymZOidrgITbWK
rqOYo0YuimBU8O5a1HLl5xmbiU+8yj7kGxXJutQOuKZ87w7TlVdcu06uulv+k4ojE8GcWL5g7Hc7Z
6Xz7CdfbWqZHGG4x494XNRFGgllbnle9PU5JQCwfSkbfcdBA+NSdBjVvx+7D0fA+jJ9k0vnwHFIwZ
Go2jhiGjRE/oKQb+pLTWTsmYIJyXfzHYv2R8UK3ej8sJ5UJHXzqWcBb+PVjKD6h+49FrwmZqGu/Bt
N8Eqw/4nk8RrRSWPVw+sdAPWwEhCGnTkNlFksoxrIUGfMvLUkOq9JR3G8/rrmsiEYOwuy6iaBGBBC
JM8rsGAQ==;
Received: from [10.9.9.74] (helo=submission03.runbox)
by mailtransmit02.runbox with esmtp (Exim 4.86_2)
(envelope-from <steve@HIDDEN>)
id 1raB53-0006QI-DU; Wed, 14 Feb 2024 09:57:25 +0100
Received: by submission03.runbox with esmtpsa [Authenticated ID (641962)]
(TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
id 1raB4w-008VsP-FE; Wed, 14 Feb 2024 09:57:18 +0100
From: Steve George <steve@HIDDEN>
To: 69091 <at> debbugs.gnu.org
Subject: [PATCH v2 1/1] gnu: Add clojure.java-time.
Date: Wed, 14 Feb 2024 08:57:02 +0000
Message-ID: <866de51f2018bbad4a69a325a062b39d6e845e98.1707900811.git.steve@HIDDEN>
X-Mailer: git-send-email 2.41.0
In-Reply-To: <866de51f2018bbad4a69a325a062b39d6e845e98.1707813784.git.steve@HIDDEN>
References: <866de51f2018bbad4a69a325a062b39d6e845e98.1707813784.git.steve@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: permerror client-ip=2a0c:5a00:149::25;
envelope-from=steve@HIDDEN; helo=mailtransmit04.runbox.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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,
RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01,
T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: submit
Cc: guix-patches@HIDDEN, Steve George <steve@HIDDEN>
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: -4.5 (----)
* gnu/packages/clojure.scm (clojure.java-time): New variable.
Change-Id: Id76d3e073525bff619fddb92096ec99a3917faeb
---
gnu/packages/clojure.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 27fce6f368e..f7c5530e35a 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -661,3 +661,28 @@ (define-public clojure-tools-gitlibs
indicated by git SHAs. This library provides this functionality and also
keeps a cache of git directories and working trees that can be reused.")
(license license:epl1.0)))
+
+(define-public clojure.java-time
+ (package
+ (name "clojure.java-time")
+ (version "1.4.2")
+ (home-page "https://github.com/dm3/clojure.java-time")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rykvgslxaxw6qc1lpv21299d9kx3waj34wi1jvzqlnbs2x1p9fh"))))
+ (build-system clojure-build-system)
+ (arguments
+ `(#:tests? #f ;;FIXME: tests requires math.combinatorics dependency
+ #:doc-dirs '("docs")
+ #:aot-exclude '(#:all)))
+ (synopsis "A Clojure wrapper for Java's @code{java.time} API.")
+ (description "This library wraps Java's @code{java.time} API. It provides
+a set of Clojure functions for dealing with Date-Time without requiring any
+additional packages.")
+ (license license:epl1.0)))
base-commit: b64862e5cb8209c92aa2eff4cec0be328e38c45d
--
2.41.0
Steve George <steve@HIDDEN>:guix-patches@HIDDEN.
Full text available.guix-patches@HIDDEN:bug#69119; Package guix-patches.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.