GNU bug report logs - #55049
[PATCH 0/3] gnu: Add cl-boost-{parse,re,lexer}.

Previous Next

Package: guix-patches;

Reported by: "Paul A. Patience" <paul <at> apatience.com>

Date: Thu, 21 Apr 2022 01:51:01 UTC

Severity: normal

Tags: patch

Done: Guillaume Le Vaillant <glv <at> posteo.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55049 in the body.
You can then email your comments to 55049 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#55049; Package guix-patches. (Thu, 21 Apr 2022 01:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Paul A. Patience" <paul <at> apatience.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 21 Apr 2022 01:51:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: guix-patches <at> gnu.org
Cc: "Paul A. Patience" <paul <at> apatience.com>
Subject: [PATCH 0/3] gnu: Add cl-boost-{parse,re,lexer}.
Date: Thu, 21 Apr 2022 01:49:49 +0000
The PARSE and RE Common Lisp libraries (by https://github.com/massung) have
been seemingly migrated to the CL-BOOST organization
(https://github.com/cl-boost) — some of whose packages I've added in this
patch series —, probably to avoid potential conflicts with other CL library
names.
For now I've left the cl-parse and cl-re Guix packages alone, but if no one is
using them, they could be removed.

Paul A. Patience (3):
  gnu: Add cl-boost-parse.
  gnu: Add cl-boost-re.
  gnu: Add cl-boost-lexer.

 gnu/packages/lisp-xyz.scm | 90 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)

--
2.35.1






Information forwarded to guix-patches <at> gnu.org:
bug#55049; Package guix-patches. (Thu, 21 Apr 2022 01:53:01 GMT) Full text and rfc822 format available.

Message #8 received at 55049 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55049 <at> debbugs.gnu.org
Cc: "Paul A. Patience" <paul <at> apatience.com>
Subject: [PATCH 1/3] gnu: Add cl-boost-parse.
Date: Thu, 21 Apr 2022 01:52:26 +0000
* gnu/packages/lisp-xyz.scm (sbcl-boost-parse, cl-boost-parse,
  ecl-boost-parse): New variables.
---
 gnu/packages/lisp-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0c7d9b3848..be00bd6995 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -667,6 +667,34 @@ (define-public ecl-re
 (define-public cl-re
   (sbcl-package->cl-source-package sbcl-re))

+(define-public sbcl-boost-parse
+  (let ((commit "c8f7e536b950752f3e35003e7ee0446e0fd51b50")
+        (revision "0"))
+    (package
+      (name "sbcl-boost-parse")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/cl-boost/parse")
+               (commit commit)))
+         (file-name (git-file-name "cl-boost-parse" version))
+         (sha256
+          (base32 "0djnp392n9wgpr9r2ycnwkglad5mn285yvr53jx3g7anm2p8r0vf"))))
+      (build-system asdf-build-system/sbcl)
+      (home-page "https://github.com/cl-boost/parse")
+      (synopsis "Monadic parsing for Common Lisp")
+      (description
+       "BOOST-PARSE is a simple token parsing library for Common Lisp.")
+      (license license:asl2.0))))
+
+(define-public cl-boost-parse
+  (sbcl-package->cl-source-package sbcl-boost-parse))
+
+(define-public ecl-boost-parse
+  (sbcl-package->ecl-package sbcl-boost-parse))
+
 (define-public sbcl-ubiquitous
   (let ((commit "35eb7bd9e1b3daee1705f6b41260775180cce8af")
         (revision "1"))
--
2.35.1






Information forwarded to guix-patches <at> gnu.org:
bug#55049; Package guix-patches. (Thu, 21 Apr 2022 01:53:02 GMT) Full text and rfc822 format available.

Message #11 received at 55049 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55049 <at> debbugs.gnu.org
Cc: "Paul A. Patience" <paul <at> apatience.com>
Subject: [PATCH 2/3] gnu: Add cl-boost-re.
Date: Thu, 21 Apr 2022 01:52:39 +0000
* gnu/packages/lisp-xyz.scm (sbcl-boost-re, cl-boost-re,
  ecl-boost-re): New variables.
---
 gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index be00bd6995..491c4a5633 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -695,6 +695,37 @@ (define-public cl-boost-parse
 (define-public ecl-boost-parse
   (sbcl-package->ecl-package sbcl-boost-parse))

+(define-public sbcl-boost-re
+  (let ((commit "d279fc58abf76d0c40aa6cde42e17a0591bc2c5d")
+        (revision "0"))
+    (package
+      (name "sbcl-boost-re")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/cl-boost/re")
+               (commit commit)))
+         (file-name (git-file-name "cl-boost-re" version))
+         (sha256
+          (base32 "1h9c2rdhw6m1pm67gqbj46y2vb1kc3i1c9y3l4qhgfz14dbk80a2"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-boost-parse))
+      (home-page "https://github.com/cl-boost/re")
+      (synopsis "Lua-style string pattern matching for Common Lisp")
+      (description
+       "BOOST-RE is a small, portable, lightweight, and quick, regular
+expression library for Common Lisp.  It is a non-recursive, backtracking VM.")
+      (license license:asl2.0))))
+
+(define-public cl-boost-re
+  (sbcl-package->cl-source-package sbcl-boost-re))
+
+(define-public ecl-boost-re
+  (sbcl-package->ecl-package sbcl-boost-re))
+
 (define-public sbcl-ubiquitous
   (let ((commit "35eb7bd9e1b3daee1705f6b41260775180cce8af")
         (revision "1"))
--
2.35.1






Information forwarded to guix-patches <at> gnu.org:
bug#55049; Package guix-patches. (Thu, 21 Apr 2022 01:53:02 GMT) Full text and rfc822 format available.

Message #14 received at 55049 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: 55049 <at> debbugs.gnu.org
Cc: "Paul A. Patience" <paul <at> apatience.com>
Subject: [PATCH 3/3] gnu: Add cl-boost-lexer.
Date: Thu, 21 Apr 2022 01:52:45 +0000
* gnu/packages/lisp-xyz.scm (sbcl-boost-lexer, cl-boost-lexer,
  ecl-boost-lexer): New variables.
---
 gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 491c4a5633..adea65257c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -726,6 +726,37 @@ (define-public cl-boost-re
 (define-public ecl-boost-re
   (sbcl-package->ecl-package sbcl-boost-re))

+(define-public sbcl-boost-lexer
+  (let ((commit "139ca9e9580f890698deec05061e495376b7735a")
+        (revision "0"))
+    (package
+      (name "sbcl-boost-lexer")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/cl-boost/lexer")
+               (commit commit)))
+         (file-name (git-file-name "cl-boost-lexer" version))
+         (sha256
+          (base32 "01vsczb5cn62k2hkkn39xwh5fjn2x0b507n7afia98jnhhk3d5x4"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-boost-re))
+      (home-page "https://github.com/cl-boost/lexer")
+      (synopsis "String tokenizing for Common Lisp")
+      (description
+       "BOOST-LEXER is a tokenizer for Common Lisp that makes heavy use of
+BOOST-RE.")
+      (license license:asl2.0))))
+
+(define-public cl-boost-lexer
+  (sbcl-package->cl-source-package sbcl-boost-lexer))
+
+(define-public ecl-boost-lexer
+  (sbcl-package->ecl-package sbcl-boost-lexer))
+
 (define-public sbcl-ubiquitous
   (let ((commit "35eb7bd9e1b3daee1705f6b41260775180cce8af")
         (revision "1"))
--
2.35.1






Information forwarded to guix-patches <at> gnu.org:
bug#55049; Package guix-patches. (Sat, 23 Apr 2022 08:33:01 GMT) Full text and rfc822 format available.

Message #17 received at 55049 <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: "Paul A. Patience" <paul <at> apatience.com>
Cc: 55049 <at> debbugs.gnu.org
Subject: Re: [bug#55049] [PATCH 0/3] gnu: Add cl-boost-{parse,re,lexer}.
Date: Sat, 23 Apr 2022 08:23:36 +0000
[Message part 1 (text/plain, inline)]
"Paul A. Patience" <paul <at> apatience.com> skribis:

> The PARSE and RE Common Lisp libraries (by https://github.com/massung) have
> been seemingly migrated to the CL-BOOST organization
> (https://github.com/cl-boost) — some of whose packages I've added in this
> patch series —, probably to avoid potential conflicts with other CL library
> names.
> For now I've left the cl-parse and cl-re Guix packages alone, but if no one is
> using them, they could be removed.
>
> Paul A. Patience (3):
>   gnu: Add cl-boost-parse.
>   gnu: Add cl-boost-re.
>   gnu: Add cl-boost-lexer.
>
>  gnu/packages/lisp-xyz.scm | 90 +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 90 insertions(+)

I think you could replace the definitions of sbcl-parse, cl-parse and
ecl-parse by:

--8<---------------cut here---------------start------------->8---
(define-public sbcl-parse
  (deprecated-package "sbcl-parse" sbcl-boost-parse))

(define-public cl-parse
  (deprecated-package "cl-parse" cl-boost-parse))

(define-public ecl-parse
  (deprecated-package "ecl-parse" ecl-boost-parse))
--8<---------------cut here---------------end--------------->8---

and likewise for {sbcl,cl,ecl}-re. Then after some time has passed we'll
remove the deprecated packages.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#55049; Package guix-patches. (Sun, 24 Apr 2022 03:31:02 GMT) Full text and rfc822 format available.

Message #20 received at 55049 <at> debbugs.gnu.org (full text, mbox):

From: "Paul A. Patience" <paul <at> apatience.com>
To: Guillaume Le Vaillant <glv <at> posteo.net>
Cc: 55049 <at> debbugs.gnu.org
Subject: Re: [bug#55049] [PATCH 0/3] gnu: Add cl-boost-{parse,re,lexer}.
Date: Sun, 24 Apr 2022 03:29:58 +0000

On 2022-04-23 04:23:36-04:00, Guillaume Le Vaillant wrote:
> I think you could replace the definitions of sbcl-parse, cl-parse and
> ecl-parse by:
>
> (define-public sbcl-parse
>   (deprecated-package "sbcl-parse" sbcl-boost-parse))
>
> (define-public cl-parse
>   (deprecated-package "cl-parse" cl-boost-parse))
>
> (define-public ecl-parse
>   (deprecated-package "ecl-parse" ecl-boost-parse))
>
> and likewise for {sbcl,cl,ecl}-re. Then after some time has passed we'll
> remove the deprecated packages.

The problem is that cl-boost-parse's (CL) package name is BOOST-PARSE,
but cl-parse's package name is PARSE, so in fact they are not
transparently interchangeable.

Could we wrap the existing definitions of sbcl-parse, etc., with
deprecated-package?

Best regards,
Paul





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Sun, 24 Apr 2022 10:16:01 GMT) Full text and rfc822 format available.

Notification sent to "Paul A. Patience" <paul <at> apatience.com>:
bug acknowledged by developer. (Sun, 24 Apr 2022 10:16:01 GMT) Full text and rfc822 format available.

Message #25 received at 55049-done <at> debbugs.gnu.org (full text, mbox):

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: "Paul A. Patience" <paul <at> apatience.com>
Cc: 55049-done <at> debbugs.gnu.org
Subject: Re: [bug#55049] [PATCH 0/3] gnu: Add cl-boost-{parse,re,lexer}.
Date: Sun, 24 Apr 2022 10:09:05 +0000
"Paul A. Patience" <paul <at> apatience.com> skribis:

> On 2022-04-23 04:23:36-04:00, Guillaume Le Vaillant wrote:
>
> The problem is that cl-boost-parse's (CL) package name is BOOST-PARSE,
> but cl-parse's package name is PARSE, so in fact they are not
> transparently interchangeable.

Indeed, they are different packages. So let's keep the old "parse" and
"re" packages for now (and these are also the only ones that are in
Quicklisp).
Patches pushed as 3ab9bd077849912b0d3518d1ccc375a9296fd99a and
following.
Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 22 May 2022 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 86 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.