[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: emacs-elfeed-org: Fix build.
From: |
guix-commits |
Subject: |
03/08: gnu: emacs-elfeed-org: Fix build. |
Date: |
Fri, 22 Sep 2023 18:03:57 -0400 (EDT) |
lilyp pushed a commit to branch emacs-team
in repository guix.
commit 66abcaacde92ea2aa92546a1cb6d11311dab161f
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Fri Sep 15 20:35:59 2023 +0200
gnu: emacs-elfeed-org: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-elfeed-org)[#:phases]: Add
‘xt-number-tests’.
---
gnu/packages/emacs-xyz.scm | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b15b769103..95217aea1a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13840,7 +13840,22 @@ A function to toggle the @code{*elfeed-log*} buffer in
a popup window.
(modify-phases %standard-phases
(add-before 'check 'chmod
(lambda _
- (chmod "test/fixture-mark-feed-ignore.org" #o644))))))
+ (chmod "test/fixture-mark-feed-ignore.org" #o644)))
+ (add-before 'check 'xt-number-tests
+ (lambda _
+ ((lambda (file test-name) ; variant of ert-number-tests
+ (emacs-batch-edit-file file
+ `(let ((i 0))
+ (while (re-search-forward ,(string-append "xt-deftest "
+ test-name)
+ nil t)
+ (goto-char (match-beginning 0))
+ (kill-region (match-beginning 0) (match-end 0))
+ (insert (format "xt-deftest %s-%d" ,test-name i))
+ (setq i (+ i 1)))
+ (basic-save-buffer))))
+ "test/elfeed-org-test.el"
+ "rmh-elfeed-org-convert-headline-to-tagger-params"))))))
(propagated-inputs
(list emacs-elfeed emacs-org emacs-dash emacs-s))
(native-inputs
- branch emacs-team updated (95ddf01d11 -> cdbd81ce14), guix-commits, 2023/09/22
- 03/08: gnu: emacs-elfeed-org: Fix build.,
guix-commits <=
- 08/08: Merge branch 'master' into emacs-team, guix-commits, 2023/09/22
- 05/08: gnu: emacs-ob-go: Fix build., guix-commits, 2023/09/22
- 04/08: gnu: emacs-matcha: Update to 0.0.1-2.dc4a940., guix-commits, 2023/09/22
- 01/08: gnu: emacs-go-mode: Fix build., guix-commits, 2023/09/22
- 02/08: gnu: emacs-lispy: Fix build., guix-commits, 2023/09/22
- 06/08: gnu: emacs-pyvenv: Fix build., guix-commits, 2023/09/22
- 07/08: gnu: emacs-rjsx-mode: Fix build., guix-commits, 2023/09/22