GNU bug report logs - #77087
[PATCH] gnu: emacs-chatgpt-shell: Update to 2.16.1.

Previous Next

Package: guix-patches;

Reported by: Cayetano Santos <csantosb <at> inventati.org>

Date: Mon, 17 Mar 2025 21:32:02 UTC

Severity: normal

Tags: patch

Done: Ian Eure <ian <at> retrospec.tv>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Cayetano Santos <csantosb <at> inventati.org>
To: 77087 <at> debbugs.gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>
Subject: [bug#77087] [PATCH] gnu: emacs-chatgpt-shell: Update to 2.16.1.
Date: Mon, 17 Mar 2025 22:30:50 +0100
* gnu/packages/emacs-xyz.scm (emacs-chatgpt-shell): Update to 2.16.1.

Change-Id: Ie27454e83b8b93c85485c099c490fcab7b320aa6
---

- update
- activate tests

 gnu/packages/emacs-xyz.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 984f6fb7e5..74df54c22c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -644,7 +644,7 @@ (define-public emacs-gptel-quick
 (define-public emacs-chatgpt-shell
   (package
     (name "emacs-chatgpt-shell")
-    (version "2.13.1")
+    (version "2.16.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -653,19 +653,24 @@ (define-public emacs-chatgpt-shell
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1vlvwim1v14cvd4w3bd10xfzaw3mhsiv5qh4ka67jgninq8kjls5"))))
+                "1xq4hfr3m5sgi9wrr3nrp6fsnnw8d044gz0y50d4h46cvq8c6f2g"))))
     (build-system emacs-build-system)
     (arguments
      (list #:phases
            #~(modify-phases %standard-phases
                ;; This phase prevents build phase failure.
-               (add-before 'build 'generate-empty-config-file
+               (add-after 'unpack 'generate-empty-config-file
                  (lambda _
                    (setenv "HOME" (getcwd))
                    (mkdir-p ".emacs.d")
                    (call-with-output-file ".emacs.d/.chatgpt-shell.el"
                      (lambda (port)
-                       (display "nil" port))))))))
+                       (display "nil" port))))))
+           #:tests? #t
+           #:test-command #~(list "emacs" "-Q" "--batch"
+                                  "-l" "test_chatgpt-shell.el"
+                                  "-l" "chatgpt-shell.el"
+                                  "-f" "ert-run-tests-batch-and-exit")))
     (propagated-inputs (list emacs-shell-maker))
     (home-page "https://github.com/xenodium/chatgpt-shell")
     (synopsis "ChatGPT and DALL-E Emacs shells and Org Babel libraries")

base-commit: 11eb2c0ffc9a08166ec8cb8874e323bba2e74557
--
2.48.1





This bug report was last modified 60 days ago.

Previous Next


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