diff options
author | Ahmad Draidi <a.r.draidi@redscript.org> | 2023-07-07 18:13:54 +0400 |
---|---|---|
committer | Andrew Tropin <andrew@trop.in> | 2023-07-11 20:06:06 +0400 |
commit | e7d554c8ad96af14314c631c11cbfae25d91d0c1 (patch) | |
tree | a28c590c82e53645e33d1b81e32b317b12265a08 /gnu/packages/emacs-xyz.scm | |
parent | 9a214850f0b1889a0edb62732a0a3eebcf91c24a (diff) |
gnu: emacs-undo-fu-session: Update to 0.6-0.a6c4f73.
* gnu/packages/emacs-xyz.scm (emacs-undo-fu-session): Update to 0.6-0.a6c4f73.
[source]: Download from new upstream URL.
[arguments]: Update #:test-command. Fix tests by adding
'--eval (setq undo-fu-session-ignore-temp-files nil)' to #:test-command.
[home-page]: Use new home-page.
Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages/emacs-xyz.scm')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 262097936a..b95e964ae8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5511,34 +5511,38 @@ allowing you to visit all previous states of the document if you need.") (license license:gpl3+)))) (define-public emacs-undo-fu-session - ;; There are no tagged releases upstream on gitlab, instead we are using the + ;; There are no tagged releases upstream, instead we are using the ;; most recent commit. - (let ((commit "56cdd3538a058c6916bdf2d9010c2179f2505829") + (let ((commit "a6c4f73bc22401fd36e0f2fd4fe058bb28566d84") (revision "0")) (package (name "emacs-undo-fu-session") - (version (git-version "0.2" revision commit)) + (version (git-version "0.6" revision commit)) (source (origin (method git-fetch) (uri (git-reference - (url "https://gitlab.com/ideasman42/emacs-undo-fu-session") + (url "https://codeberg.org/ideasman42/emacs-undo-fu-session") (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "04wq1alrzzlidcb4mjb5j7pg68pks1vgv7kvvmi6dzb3l602mb2a")))) + (base32 "03pb88bi5z4f01972jbk9z6w9iqamqflfp20mih29ghvbiyn6ahj")))) (build-system emacs-build-system) (arguments (list #:tests? #t - #:test-command #~(list "emacs" "--batch" "-l" "undo-fu-session.el" - "-l" "undo-fu-session-test.el") + ;; The tests require temp files handling which a recent change disabled + ;; by default. We re-enable it here to make tests work again. + #:test-command #~(list "emacs" "--batch" "--eval" + "(setq undo-fu-session-ignore-temp-files nil)" + "-l" "tests/undo-fu-session-test.el" + "-f" "undo-fu-session-test-run-all") #:phases #~(modify-phases %standard-phases (add-before 'check 'set-home (lambda _ (setenv "HOME" "/tmp")))))) - (home-page "https://gitlab.com/ideasman42/emacs-undo-fu-session") + (home-page "https://codeberg.org/ideasman42/emacs-undo-fu-session") (synopsis "Save & recover undo steps between Emacs sessions") (description "This package writes undo/redo information upon file save which is restored where possible when the file is loaded again.") |