[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: gnu: emacs-org-ql: Update to 0.5.
From: |
guix-commits |
Subject: |
04/05: gnu: emacs-org-ql: Update to 0.5. |
Date: |
Thu, 17 Dec 2020 00:52:34 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit ca11bbc8f35f6d367cce7cfd6d38d7e979c3ef49
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 14 15:31:28 2020 -0500
gnu: emacs-org-ql: Update to 0.5.
* gnu/packages/emacs-xyz.scm (emacs-org-ql): Update to 0.5.
[propagated-inputs]: Add emacs-transient.
[native-inputs]: Add emacs-with-simulated-input.
[phases]{require-helm}: Remove.
{disable-failing-tests}: New phase.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 49d227a..9c7b74b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15043,7 +15043,7 @@ interactive commands and functions, such as
@code{completing-read}.")
(define-public emacs-org-ql
(package
(name "emacs-org-ql")
- (version "0.3.2")
+ (version "0.5")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -15051,7 +15051,7 @@ interactive commands and functions, such as
@code{completing-read}.")
(commit version)))
(sha256
(base32
- "11bhpi2l28vp8mm9nx18jljbqdnh9vxpv9kp1dn9lpsgivcdbc34"))
+ "14nsy2dbln3m5bpqzyfqycn18sb3qh407hjbkk1l0x2nqs3lrkqn"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(propagated-inputs
@@ -15064,20 +15064,24 @@ interactive commands and functions, such as
@code{completing-read}.")
("emacs-org" ,emacs-org)
("emacs-helm" ,emacs-helm)
("emacs-helm-org" ,emacs-helm-org)
- ("emacs-dash" ,emacs-dash)))
+ ("emacs-dash" ,emacs-dash)
+ ("emacs-transient" ,emacs-transient)))
(native-inputs
- `(("emacs-buttercup" ,emacs-buttercup)))
+ `(("emacs-buttercup" ,emacs-buttercup)
+ ("emacs-with-simulated-input" ,emacs-with-simulated-input)))
(arguments
- `(#:phases
+ `(#:tests? #t
+ #:test-command '("buttercup" "-L" ".")
+ #:phases
(modify-phases %standard-phases
- (add-after 'unpack 'require-helm
+ (add-after 'unpack 'disable-failing-tests
(lambda _
- (substitute* "helm-org-ql.el"
- (("^;;;; Requirements")
- ";;;; Requirements\n(require 'helm)\n(require 'helm-org)"))
- #t)))
- #:tests? #t
- #:test-command '("buttercup" "-L" ".")))
+ (substitute* "tests/test-org-ql.el"
+ ;; This test fails on Emacs 27.1 (see:
+ ;; https://github.com/alphapapa/org-super-agenda/issues/183).
+ (("it \"Can search buffer containing the link\"" all)
+ (string-append "x" all)))
+ #t)))))
(home-page "https://github.com/alphapapa/org-ql/")
(synopsis "Query language for Org buffers")
(description "This package provides a Lispy query language for Org