gnu: emacs-macrostep: Update to 0.9.2.
* gnu/packages/emacs-xyz.scm (emacs-macrostep): Update to 0.9.2. [source]<origin>: Switch to emacsorphanage repository. [home-page]: Adapt URL accordingly.
This commit is contained in:
parent
171aef7ce4
commit
dc1f0ca433
1 changed files with 40 additions and 41 deletions
|
@ -23035,53 +23035,52 @@ without disturbing alignment.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-macrostep
|
(define-public emacs-macrostep
|
||||||
(let ((commit "424e3734a1ee526a1bd7b5c3cd1d3ef19d184267"))
|
(package
|
||||||
(package
|
(name "emacs-macrostep")
|
||||||
(name "emacs-macrostep")
|
(version "0.9.2")
|
||||||
(version (git-version "0.9" "1" commit))
|
(source (origin
|
||||||
(source (origin
|
(method git-fetch)
|
||||||
(method git-fetch)
|
(uri (git-reference
|
||||||
(uri (git-reference
|
(url "https://github.com/emacsorphanage/macrostep")
|
||||||
(url "https://github.com/joddie/macrostep")
|
(commit version)))
|
||||||
(commit commit)))
|
(file-name (git-file-name name version))
|
||||||
(file-name (git-file-name name version))
|
(sha256
|
||||||
(sha256
|
(base32
|
||||||
(base32
|
"1sxvp1q8naf0328l9fs90nk8bzsv485sajx4khh77nwkz3v4sr9f"))))
|
||||||
"1fm40mxdn289cyzgw992223dgrjmwxn4q8svyyxfaxjrpb38jhjz"))))
|
(build-system emacs-build-system)
|
||||||
(build-system emacs-build-system)
|
(arguments
|
||||||
(arguments
|
(list
|
||||||
(list
|
#:tests? #t
|
||||||
#:tests? #t
|
#:phases
|
||||||
#:phases
|
#~(modify-phases %standard-phases
|
||||||
#~(modify-phases %standard-phases
|
(add-before 'check 'remove-test
|
||||||
(add-before 'check 'remove-test
|
;; Fails because of requirement ‘/bin/sh’.
|
||||||
;; Fails because of requirement ‘/bin/sh’.
|
(lambda _
|
||||||
(lambda _
|
(let ((file "macrostep-test.el"))
|
||||||
(let ((file "macrostep-test.el"))
|
(make-file-writable file)
|
||||||
(make-file-writable file)
|
(emacs-batch-edit-file file
|
||||||
(emacs-batch-edit-file file
|
`(progn (progn (goto-char (point-min))
|
||||||
`(progn (progn (goto-char (point-min))
|
(re-search-forward
|
||||||
(re-search-forward
|
"(ert-deftest macrostep-expand-c-macros")
|
||||||
"(ert-deftest macrostep-expand-c-macros")
|
(beginning-of-line)
|
||||||
(beginning-of-line)
|
(kill-sexp))
|
||||||
(kill-sexp))
|
(basic-save-buffer))))))
|
||||||
(basic-save-buffer))))))
|
(replace 'check
|
||||||
(replace 'check
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(when tests?
|
||||||
(when tests?
|
(invoke "emacs" "--batch" "-L" "."
|
||||||
(invoke "emacs" "--batch" "-L" "."
|
"-l" "macrostep-test.el"
|
||||||
"-l" "macrostep-test.el"
|
"-f" "ert-run-tests-batch-and-exit")))))))
|
||||||
"-f" "ert-run-tests-batch-and-exit")))))))
|
(home-page "https://github.com/emacsorphanage/macrostep")
|
||||||
(home-page "https://github.com/joddie/macrostep")
|
(synopsis "Interactive macro-expander for Emacs")
|
||||||
(synopsis "Interactive macro-expander for Emacs")
|
(description "@code{macrostep} is an Emacs minor mode for interactively
|
||||||
(description "@code{macrostep} is an Emacs minor mode for interactively
|
|
||||||
stepping through the expansion of macros in Emacs Lisp source code. It lets
|
stepping through the expansion of macros in Emacs Lisp source code. It lets
|
||||||
you see exactly what happens at each step of the expansion process by
|
you see exactly what happens at each step of the expansion process by
|
||||||
pretty-printing the expanded forms inline in the source buffer, which is
|
pretty-printing the expanded forms inline in the source buffer, which is
|
||||||
temporarily read-only while macro expansions are visible. You can expand and
|
temporarily read-only while macro expansions are visible. You can expand and
|
||||||
collapse macro forms one step at a time, and evaluate or instrument the
|
collapse macro forms one step at a time, and evaluate or instrument the
|
||||||
expansions for debugging with Edebug as normal.")
|
expansions for debugging with Edebug as normal.")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-macrostep-geiser
|
(define-public emacs-macrostep-geiser
|
||||||
;; XXX: Upstream does not tag commits (yet). The commit below matches the
|
;; XXX: Upstream does not tag commits (yet). The commit below matches the
|
||||||
|
|
Reference in a new issue