GNU bug report logs - #77987
[PATCH emacs-team v3] gnu: emacs-ws-butler: Update to 1.3.

Previous Next

Package: guix-patches;

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

Date: Tue, 22 Apr 2025 12:56:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77987 AT debbugs.gnu.org.

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

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


Report forwarded to andrew <at> trop.in, csantosb <at> inventati.org, divya <at> subvertising.org, hako <at> ultrarare.space, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#77987; Package guix-patches. (Tue, 22 Apr 2025 12:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cayetano Santos <csantosb <at> inventati.org>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, csantosb <at> inventati.org, divya <at> subvertising.org, hako <at> ultrarare.space, ian <at> retrospec.tv, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Tue, 22 Apr 2025 12:56:03 GMT) Full text and rfc822 format available.

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

From: Cayetano Santos <csantosb <at> inventati.org>
To: 77836 <at> debbugs.gnu.org
Cc: Cayetano Santos <csantosb <at> inventati.org>,
 Cayetano Santos via Guix-patches via <guix-patches <at> gnu.org>
Subject: [PATCH emacs-team v3] gnu: emacs-ws-butler: Update to 1.3.
Date: Tue, 22 Apr 2025 14:54:57 +0200
From: Cayetano Santos via Guix-patches via <guix-patches <at> gnu.org>

* gnu/packages/emacs-xyz.scm (emacs-ws-butler): Update to 1.3.

Change-Id: I5e50106efc32057f91bceff1a0b8fbbd2b1d7ef6
Signed-off-by: Cayetano Santos <csantosb <at> inventati.org>
---

[source]: Switch to git-fetch, as "tests" folder is absent from tar file.

Note that upstream github.com/lewang/ws-butler repository is obsolete since 0.7.

 gnu/packages/emacs-xyz.scm | 39 ++++++++++++++++++++++----------------
 1 file changed, 23 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ad9add40f5..0ea0033c8a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23147,24 +23147,31 @@ (define-public emacs-hercules
     (license license:gpl3+)))
 
 (define-public emacs-ws-butler
-  (package
-    (name "emacs-ws-butler")
-    (version "1.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (string-append "https://elpa.nongnu.org/nongnu/ws-butler-" version
-                           ".tar"))
-       (sha256
-        (base32 "1vy7g2ryg1drcz9zpn011d36zcd9a5b5yny5hwpjrllqj5dg73jx"))))
-    (build-system emacs-build-system)
-    (home-page "https://elpa.nongnu.org/nongnu/ws-butler.html")
-    (synopsis "Unobtrusively remove trailing whitespace")
-    (description
-     "ws-butler automatically trims trailing whitespace characters on save.
+  (let ((commit "9ee5a7657a22e836618813c2e2b64a548d27d2ff")
+        (revision "0"))
+    (package
+      (name "emacs-ws-butler")
+      (version (git-version "1.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.savannah.gnu.org/git/emacs/nongnu")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0ivpgib2bxv7x6cp04mj8crc1a60d7c77jcc59sj14scq4jqbmjb"))))
+      (build-system emacs-build-system)
+      (arguments (list #:test-command
+                       #~(list "emacs" "--batch" "-L" "."
+                               "-l" "tests/run-test.el")))
+      (home-page "https://elpa.nongnu.org/nongnu/ws-butler.html")
+      (synopsis "Unobtrusively remove trailing whitespace")
+      (description
+       "ws-butler automatically trims trailing whitespace characters on save.
 In contrast with other whitespace cleanup solutions, only modified lines are
 trimmed.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-opencl-mode
   (package

base-commit: 5e1ae1d2041255cb0da37071482f2af86ed84ba3
--
2.49.0





This bug report was last modified 1 day ago.

Previous Next


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