GNU bug report logs - #47728
[PATCH] gnu: Add sbcl-bodge-queue.

Previous Next

Package: guix-patches;

Reported by: Adam Kandur <rndd <at> tuta.io>

Date: Mon, 12 Apr 2021 14:39:02 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 47728 in the body.
You can then email your comments to 47728 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#47728; Package guix-patches. (Mon, 12 Apr 2021 14:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adam Kandur <rndd <at> tuta.io>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 12 Apr 2021 14:39:02 GMT) Full text and rfc822 format available.

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

From: Adam Kandur <rndd <at> tuta.io>
To: Guix Patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add sbcl-bodge-queue.
Date: Mon, 12 Apr 2021 16:37:56 +0200 (CEST)
From 5ad8fb5f87ab91feaf99a30f8a823857feabfb63 Mon Sep 17 00:00:00 2001
From: Adam Kandur <rndd <at> tuta.io>
Date: Mon, 12 Apr 2021 17:35:19 +0300
Subject: [PATCH] gnu: Add sbcl-bodge-queue.

* gnu/packages/lisp-xyz.scm (sbcl-bodge-queue): New variable.
---
 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 1d8e0b4..8fdea54 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -161,6 +161,34 @@ collection.")
 (define-public cl-bodge-utilities
   (sbcl-package->cl-source-package sbcl-bodge-utilities))
 
+(define-public sbcl-bodge-queue
+  (package
+    (name "sbcl-bodge-queue")
+    (version "stable")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/borodust/bodge-queue")
+             (commit version)))
+       (file-name (git-file-name "bodge-queue" version))
+       (sha256
+        (base32 "0f4252i8pfy5s4v7w1bpjawysn4cw7di405mqsx2h7skv27hvpz6"))))
+    (build-system asdf-build-system/sbcl)
+    (arguments
+     `(#:asd-files '("bodge-queue.asd")
+       #:asd-systems '("bodge-queue")))
+    (home-page "https://github.com/borodust/bodge-queue")
+    (synopsis "FIFO, not FIFA")
+    (description "Simple FIFO implementation with no external dependencies")
+    (license license:expat)))
+
+(define-public cl-bodge-queue
+  (sbcl-package->cl-source-package sbcl-bodge-queue))
+
+(define-public ecl-bodge-queue
+  (sbcl-package->ecl-package sbcl-bodge-queue))
+
 (define-public sbcl-golden-utils
   (let ((commit "62a5cb948a011eb26e7a89f56d5839a3334b4100")
         (revision "2"))
-- 
2.31.1





Reply sent to Guillaume Le Vaillant <glv <at> posteo.net>:
You have taken responsibility. (Mon, 12 Apr 2021 15:11:02 GMT) Full text and rfc822 format available.

Notification sent to Adam Kandur <rndd <at> tuta.io>:
bug acknowledged by developer. (Mon, 12 Apr 2021 15:11:02 GMT) Full text and rfc822 format available.

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

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Adam Kandur <rndd <at> tuta.io>
Cc: 47728-done <at> debbugs.gnu.org
Subject: Re: [bug#47728] [PATCH] gnu: Add sbcl-bodge-queue.
Date: Mon, 12 Apr 2021 17:09:46 +0200
[Message part 1 (text/plain, inline)]
Patch pushed as c1ed3b048d6644b70221eac2dc9b67420a999462 with some
modifications.
Thanks.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#47728; Package guix-patches. (Mon, 12 Apr 2021 15:32:01 GMT) Full text and rfc822 format available.

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

From: Adam Kandur <rndd <at> tuta.io>
To: 47728 <at> debbugs.gnu.org
Subject: newbe question
Date: Mon, 12 Apr 2021 17:31:38 +0200 (CEST)
why you have added sbcl-fiveam to native inputs?




Information forwarded to guix-patches <at> gnu.org:
bug#47728; Package guix-patches. (Mon, 12 Apr 2021 16:41:02 GMT) Full text and rfc822 format available.

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

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Adam Kandur <rndd <at> tuta.io>
Cc: 47728 <at> debbugs.gnu.org
Subject: Re: [bug#47728] newbe question
Date: Mon, 12 Apr 2021 18:39:48 +0200
[Message part 1 (text/plain, inline)]
Adam Kandur via Guix-patches via <guix-patches <at> gnu.org> skribis:

> why you have added sbcl-fiveam to native inputs?

In the asd file, the "bodge-queue/tests" system for the tests depends on
fiveam. As the tests are run only at build time, their dependencies are
only required at build time and not at run time, so we put them in
'native-inputs' instead of 'inputs'.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#47728; Package guix-patches. (Mon, 12 Apr 2021 19:42:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 47728 <at> debbugs.gnu.org
Date: Mon, 12 Apr 2021 19:41:21 +0000
@Adam Kandur

Are you planning to pack https://github.com/borodust/bodge-concurrency as well?

I put to my queue to pack https://github.com/borodust/cl-bodge, if you
are on the same way let's distribute efforts :)

I update my progress her
https://github.com/Hellseher/guix-patches/blob/main/lisp-xyz.org
-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

Information forwarded to guix-patches <at> gnu.org:
bug#47728; Package guix-patches. (Mon, 12 Apr 2021 20:39:02 GMT) Full text and rfc822 format available.

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

From: Guillaume Le Vaillant <glv <at> posteo.net>
To: Adam Kandur <rndd <at> tuta.io>
Cc: 47728 <at> debbugs.gnu.org
Subject: Re: [bug#47728] newbe question
Date: Mon, 12 Apr 2021 22:38:03 +0200
[Message part 1 (text/plain, inline)]
Adam Kandur <rndd <at> tuta.io> skribis:

> also, you wrote "fiveam" ,sbcl-fiveam
>
> why not "sbcl-fiveam" ,sbcl-fiveam

It's because of the cl-xxx and ecl-xxx packages that are created by
transforming the definition of the sbcl-xxx package to use cl-* or ecl-*
packages as inputs instead of sbcl-*.

If the sbcl-xxx package has '("sbcl-fiveam" ,sbcl-fiveam)' as input,
after transformation the ecl-xxx package will have
'("sbcl-fiveam" ,ecl-fiveam)' as inputs, which looks strange (but it
will work anyway as the string is just used to reference an input in
custom phases using something like '(assoc-ref inputs "sbcl-xxx")').

By using just "fiveam" as string, the sbcl-xxx package has
'("fiveam" ,sbcl-fiveam)' as input, and the ecl-xxx package will have
'("fiveam" ,ecl-fiveam)'.
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 2 years and 344 days ago.

Previous Next


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