guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-circe: Update to 2.11-0.d6f1fa1.


From: guix-commits
Subject: branch master updated: gnu: emacs-circe: Update to 2.11-0.d6f1fa1.
Date: Sat, 26 Jun 2021 04:20:13 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e8a0d0b  gnu: emacs-circe: Update to 2.11-0.d6f1fa1.
e8a0d0b is described below

commit e8a0d0b2093d749b7cb457f91cad849009bca63e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Jun 26 10:18:09 2021 +0200

    gnu: emacs-circe: Update to 2.11-0.d6f1fa1.
    
    * gnu/packages/emacs-xyz.scm (emacs-circe): Update to 2.11-0.d6f1fa1.
    [arguments]<#:phases>: Remove three failing tests.
---
 gnu/packages/emacs-xyz.scm | 86 ++++++++++++++++++++++++++++------------------
 1 file changed, 52 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b562257..ab04992 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15018,43 +15018,61 @@ part, which includes creating tokens.")
     (license license:asl2.0)))
 
 (define-public emacs-circe
-  (package
-    (name "emacs-circe")
-    (version "2.11")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/jorgenschaefer/circe";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0cr9flk310yn2jgvj4hbqw9nj5wlfi0fazdkqafzidgz6iq150wd"))))
-    (build-system emacs-build-system)
-    (arguments
-     `(#:tests? #t
-       #:test-command '("buttercup" "-L" ".")
-       #:phases
-       (modify-phases %standard-phases
-         ;; The HOME environment variable should be set to an existing
-         ;; directory for the tests to succeed.
-         (add-before 'check 'set-home
-           (lambda _
-             (setenv "HOME" "/tmp")
-             #t)))))
-    (native-inputs
-     `(("emacs-buttercup" ,emacs-buttercup)))
-    ;; In order to securely connect to an IRC server using TLS, Circe requires
-    ;; the GnuTLS binary.
-    (propagated-inputs
-     `(("gnutls" ,gnutls)))
-    (home-page "https://github.com/jorgenschaefer/circe";)
-    (synopsis "Client for IRC in Emacs")
-    (description "Circe is a Client for IRC in Emacs.  It integrates well with
+  ;; The latest stable release is two years old, and some important fixes have
+  ;; landed since then.
+  (let ((commit "d6f1fa18646f6ed2a1c0f06a4888130bd694ff19")
+        (revision "0"))
+    (package
+      (name "emacs-circe")
+      (version (git-version "2.11" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/jorgenschaefer/circe";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1l6v02aa072jvhq4b9dpkprqs14py0d4jm3xvihm05lvrbf9v6c6"))))
+      (build-system emacs-build-system)
+      (arguments
+       `(#:tests? #t
+         #:test-command '("buttercup" "-L" ".")
+         #:emacs ,emacs                 ;requires gnutls
+         #:phases
+         (modify-phases %standard-phases
+           ;; The HOME environment variable should be set to an existing
+           ;; directory for the tests to succeed.
+           (add-before 'check 'set-home
+             (lambda _
+               (setenv "HOME" "/tmp")))
+           (add-before 'check 'remove-failing-tests
+             (lambda _
+               (make-file-writable "tests/test-circe.el")
+               (emacs-batch-edit-file "tests/test-circe.el"
+                 `(progn
+                   (dolist (test
+                            '("should have circe-server-buffer set in the mode 
hook"
+                              "should complete nicks with colon at the 
beginning of the input"
+                              "should complete nicks without colon later in 
the input"))
+                           (goto-char (point-min))
+                           (search-forward (format "(it %S" test))
+                           (beginning-of-line)
+                           (kill-sexp))
+                   (basic-save-buffer))))))))
+      (native-inputs
+       `(("emacs-buttercup" ,emacs-buttercup)))
+      ;; In order to securely connect to an IRC server using TLS, Circe 
requires
+      ;; the GnuTLS binary.
+      (propagated-inputs
+       `(("gnutls" ,gnutls)))
+      (home-page "https://github.com/jorgenschaefer/circe";)
+      (synopsis "Client for IRC in Emacs")
+      (description "Circe is a Client for IRC in Emacs.  It integrates well 
with
 the rest of the editor, using standard Emacs key bindings and indicating
 activity in channels in the status bar so it stays out of your way unless you
 want to use it.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-tracking
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]