GNU bug report logs - #65477
[PATCH 0/2] Add emacs-slite

Previous Next

Package: guix-patches;

Reported by: ykonai <mail <at> ykonai.net>

Date: Wed, 23 Aug 2023 17:45:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 65477 in the body.
You can then email your comments to 65477 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#65477; Package guix-patches. (Wed, 23 Aug 2023 17:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ykonai <mail <at> ykonai.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 23 Aug 2023 17:45:02 GMT) Full text and rfc822 format available.

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

From: ykonai <mail <at> ykonai.net>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Add emacs-slite
Date: Wed, 23 Aug 2023 19:44:09 +0200
Hello Guix,

This adds the slite test runner for emacs. It contains two packages, the
Common Lisp side and the Emacs side. Because the .el file does not explicitly
load in the system whenever it's run but requires the user to do so manually,
it's split into two packages.

ykonai (2):
  gnu: Add cl-slite.
  gnu: Add emacs-slite.

 gnu/packages/emacs-xyz.scm | 15 +++++++++++++++
 gnu/packages/lisp-xyz.scm  | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)


base-commit: 3ce3466311953cc5f00a4fb34ff094a9a3501399
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65477; Package guix-patches. (Wed, 23 Aug 2023 17:50:01 GMT) Full text and rfc822 format available.

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

From: ykonai <mail <at> ykonai.net>
To: 65477 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add cl-slite.
Date: Wed, 23 Aug 2023 19:48:43 +0200
* gnu/packages/lisp-xyz.scm (cl-slite, ecl-slite, sbcl-slite): New variables.
---
 gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d62122f408..6f9a942a30 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27328,6 +27328,39 @@ (define-public cl-slot-extra-options
 (define-public ecl-slot-extra-options
   (sbcl-package->ecl-package sbcl-slot-extra-options))
 
+(define-public sbcl-slite
+  (let ((commit "942a95330592d30be5ac02fb1b697fb14ccbf1af")
+        (revision "0"))
+    (package
+      (name "sbcl-slite")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/tdrhq/slite/")
+               (commit commit)))
+         (file-name (git-file-name "slite" version))
+         (sha256
+          (base32 "0b4c4vs1zlhcvr9flv8bx76v9hrwc9qmazmp60407q7cghn0k8zk"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-cl-str
+             sbcl-fiveam
+             sbcl-parachute
+             sbcl-lisp-unit2))
+      (home-page "https://github.com/tdrhq/slite")
+      (synopsis "Common Lisp system for Slite ")
+      (description
+       "This package provides the Common Lisp part of the emacs-slite test runner.")
+      (license license:asl2.0))))
+
+(define-public cl-slite
+  (sbcl-package->cl-source-package sbcl-slite))
+
+(define-public ecl-slite
+  (sbcl-package->ecl-package sbcl-slite))
+
 (define-public sbcl-parseq
   (package
     (name "sbcl-parseq")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65477; Package guix-patches. (Wed, 23 Aug 2023 17:50:02 GMT) Full text and rfc822 format available.

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

From: ykonai <mail <at> ykonai.net>
To: 65477 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add emacs-slite.
Date: Wed, 23 Aug 2023 19:48:44 +0200
* gnu/packages/emacs-xyz.scm (emacs-slite): New variable.
---
 gnu/packages/emacs-xyz.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 977d553ea5..06682e2227 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9757,6 +9757,21 @@ (define-public emacs-slime
 for compilation, debugging, documentation lookup, and so on.")
     (license (list license:gpl2+ license:public-domain))))
 
+(define-public emacs-slite
+  (package
+    (inherit sbcl-slite)
+    (name "emacs-slite")
+    (build-system emacs-build-system)
+    (synopsis "SLIme-based TEst runner for FiveAM and Parachute Tests")
+    (description
+     "Slite interactively runs your Common Lisp tests (currently only FiveAM
+and Parachute are supported). It allows you to see the summary of test
+failures, jump to test definitions, rerun tests with debugger all from inside
+Emacs.
+
+In order to work, this also requires the slite Common Lisp system to be
+present. See the code@{*cl-slite packages}.")))
+
 (define-public emacs-popup
   (package
     (name "emacs-popup")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65477; Package guix-patches. (Sun, 17 Sep 2023 13:31:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: ykonai <mail <at> ykonai.net>
Cc: 65477 <at> debbugs.gnu.org
Subject: Re: bug#65477: [PATCH 0/2] Add emacs-slite
Date: Sun, 17 Sep 2023 15:30:22 +0200
Hi,

ykonai <mail <at> ykonai.net> skribis:

> * gnu/packages/emacs-xyz.scm (emacs-slite): New variable.

[...]

> +(define-public emacs-slite
> +  (package
> +    (inherit sbcl-slite)

Since ‘sbcl-slite’ is defined in lisp-xyz.scm, you should either define
‘emacs-slite’ in that same file or the other way around.

Could you send an updated patch?

Thanks,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#65477; Package guix-patches. (Wed, 27 Sep 2023 20:34:02 GMT) Full text and rfc822 format available.

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

From: ykonai <mail <at> ykonai.net>
To: 65477 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: Add cl-slite.
Date: Wed, 27 Sep 2023 22:33:13 +0200
* gnu/packages/lisp-xyz.scm (cl-slite, ecl-slite, sbcl-slite): New variables.
---
 gnu/packages/lisp-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d62122f408..6f9a942a30 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -27328,6 +27328,39 @@ (define-public cl-slot-extra-options
 (define-public ecl-slot-extra-options
   (sbcl-package->ecl-package sbcl-slot-extra-options))
 
+(define-public sbcl-slite
+  (let ((commit "942a95330592d30be5ac02fb1b697fb14ccbf1af")
+        (revision "0"))
+    (package
+      (name "sbcl-slite")
+      (version (git-version "1.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/tdrhq/slite/")
+               (commit commit)))
+         (file-name (git-file-name "slite" version))
+         (sha256
+          (base32 "0b4c4vs1zlhcvr9flv8bx76v9hrwc9qmazmp60407q7cghn0k8zk"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       (list sbcl-cl-str
+             sbcl-fiveam
+             sbcl-parachute
+             sbcl-lisp-unit2))
+      (home-page "https://github.com/tdrhq/slite")
+      (synopsis "Common Lisp system for Slite ")
+      (description
+       "This package provides the Common Lisp part of the emacs-slite test runner.")
+      (license license:asl2.0))))
+
+(define-public cl-slite
+  (sbcl-package->cl-source-package sbcl-slite))
+
+(define-public ecl-slite
+  (sbcl-package->ecl-package sbcl-slite))
+
 (define-public sbcl-parseq
   (package
     (name "sbcl-parseq")

base-commit: 3ce3466311953cc5f00a4fb34ff094a9a3501399
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65477; Package guix-patches. (Wed, 27 Sep 2023 20:35:01 GMT) Full text and rfc822 format available.

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

From: ykonai <mail <at> ykonai.net>
To: 65477 <at> debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: Add emacs-slite.
Date: Wed, 27 Sep 2023 22:33:14 +0200
* gnu/packages/lisp-xyz.scm (emacs-slite): New variable.

The package is within lisp-xyz.scm due to inheriting from sbcl-slite (as it is
really one project, with an CL part and an Emacs part).
---
 gnu/packages/lisp-xyz.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 6f9a942a30..5cd9a61680 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -72,6 +72,7 @@ (define-module (gnu packages lisp-xyz)
   #:use-module (guix build-system asdf)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
+  #:use-module (guix build-system emacs)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages base)
   #:use-module (gnu packages c)
@@ -27361,6 +27362,21 @@ (define-public cl-slite
 (define-public ecl-slite
   (sbcl-package->ecl-package sbcl-slite))
 
+(define-public emacs-slite
+  (package
+    (inherit sbcl-slite)
+    (name "emacs-slite")
+    (build-system emacs-build-system)
+    (synopsis "SLIme-based TEst runner for FiveAM and Parachute Tests")
+    (description
+     "Slite interactively runs your Common Lisp tests (currently only FiveAM
+and Parachute are supported). It allows you to see the summary of test
+failures, jump to test definitions, rerun tests with debugger all from inside
+Emacs.
+
+In order to work, this also requires the slite Common Lisp system to be
+present. See the code@{*cl-slite packages}.")))
+
 (define-public sbcl-parseq
   (package
     (name "sbcl-parseq")
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#65477; Package guix-patches. (Wed, 27 Sep 2023 20:37:02 GMT) Full text and rfc822 format available.

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

From: ykonai <mail <at> ykonai.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 65477 <at> debbugs.gnu.org
Subject: Re: bug#65477: [PATCH 0/2] Add emacs-slite
Date: Wed, 27 Sep 2023 22:36:01 +0200
Hi,

I moved it into the lisp-xyz.scm file. This required adding the emacs
build-system to the list of required modules in lisp-xyz.scm. Apologies
for the delay.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 19 Oct 2023 20:03:02 GMT) Full text and rfc822 format available.

Notification sent to ykonai <mail <at> ykonai.net>:
bug acknowledged by developer. (Thu, 19 Oct 2023 20:03:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: ykonai <mail <at> ykonai.net>
Cc: 65477-done <at> debbugs.gnu.org
Subject: Re: [bug#65477] [PATCH v2 1/2] gnu: Add cl-slite.
Date: Thu, 19 Oct 2023 22:02:04 +0200
Hi,

ykonai <mail <at> ykonai.net> skribis:

> * gnu/packages/lisp-xyz.scm (cl-slite, ecl-slite, sbcl-slite): New variables.

[...]

> * gnu/packages/lisp-xyz.scm (emacs-slite): New variable.

Applied, thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 17 Nov 2023 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 173 days ago.

Previous Next


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