gnu: emacs-adoc-mode: Update to 0.7.0.

* gnu/packages/emacs-xyz.scm (emacs-adoc-mode): Update to 0.7.0.
[arguments]: Fix tests location.
This commit is contained in:
Nicolas Goaziou 2023-03-10 18:42:57 +01:00
parent d4a8639dbd
commit f1d38bfbe8
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -25880,17 +25880,17 @@ (define-public emacs-markup-faces
(define-public emacs-adoc-mode (define-public emacs-adoc-mode
(package (package
(name "emacs-adoc-mode") (name "emacs-adoc-mode")
(version "0.6.6") (version "0.7.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/sensorflo/adoc-mode") (url "https://github.com/bbatsov/adoc-mode")
(commit (string-append "V" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"0kp2aafjhqxz3mjr9hkkss85r4n51chws5a2qj1xzb63dh36liwm")))) "0bp2i66a9gp41r7nvbx8f4s334gd7lwjdxi3qw5yhgaav6gk3bkc"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -25907,7 +25907,7 @@ (define-public emacs-adoc-mode
(substitute* file (substitute* file
(((string-append "^\\(ert-deftest " test-name ".*") all) (((string-append "^\\(ert-deftest " test-name ".*") all)
(string-append all "(skip-unless nil)\n")) ...))))) (string-append all "(skip-unless nil)\n")) ...)))))
(disable-tests "adoc-mode-test.el" (disable-tests "test/adoc-mode-test.el"
("adoctest-test-tempo-delimited-blocks" ("adoctest-test-tempo-delimited-blocks"
"adoctest-test-tempo-macros" "adoctest-test-tempo-macros"
"adoctest-test-tempo-paragraphs" "adoctest-test-tempo-paragraphs"
@ -25916,7 +25916,7 @@ (define-public emacs-adoc-mode
#t))) #t)))
#:tests? #t #:tests? #t
#:test-command '("emacs" "-Q" "-batch" #:test-command '("emacs" "-Q" "-batch"
"-l" "adoc-mode-test.el" "-l" "test/adoc-mode-test.el"
"-f" "ert-run-tests-batch-and-exit"))) "-f" "ert-run-tests-batch-and-exit")))
(propagated-inputs (propagated-inputs
(list emacs-markup-faces)) (list emacs-markup-faces))