[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: emacs-projectile: Activate tests.
From: |
guix-commits |
Subject: |
08/08: gnu: emacs-projectile: Activate tests. |
Date: |
Thu, 24 Nov 2022 12:09:37 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 8f3e10ae819aabbe8216bfee6cd3e7857bc27293
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu Nov 24 18:03:06 2022 +0100
gnu: emacs-projectile: Activate tests.
* gnu/packages/emacs-xyz.scm (emacs-projectile)[source]: Use Git repository
instead of released tarball to get the test file.
[arguments]: Activate tests, and fix a failing one.
---
gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++--------
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0132193197..2eef75925a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11836,15 +11836,29 @@ like @code{org-edit-src-code} but for arbitrary
regions.")
(package
(name "emacs-projectile")
(version "2.7.0")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://raw.githubusercontent.com/bbatsov"
- "/projectile/v" version "/projectile.el"))
- (file-name (string-append "projectile-" version ".el"))
- (sha256
- (base32
- "1jd1csrvafy49dcfag0ccpqbdn5my183h325bv6j4x4c3a6qbp98"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bbatsov/projectile")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0ybd41iss8vd56qv6czpxqq7a99s4h7i3a2r4khy4rf5blj5zdqi"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:tests? #t
+ #:test-command #~(list "buttercup" "-L" ".")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'fix-failing-test
+ (lambda _
+ (substitute* "test/projectile-test.el"
+ (("user-emacs-directory") "\".\"")))))))
+ (native-inputs
+ (list emacs-buttercup))
(propagated-inputs
(list emacs-dash emacs-pkg-info))
(home-page "https://github.com/bbatsov/projectile")
- branch master updated (c29d999a34 -> 8f3e10ae81), guix-commits, 2022/11/24
- 05/08: gnu: emacs-kind-icon: Update to 0.1.8., guix-commits, 2022/11/24
- 04/08: gnu: emacs-vertico: Update to 0.29., guix-commits, 2022/11/24
- 01/08: gnu: emacs-org-modern: Update to 0.6., guix-commits, 2022/11/24
- 03/08: gnu: emacs-eldev: Update to 1.3., guix-commits, 2022/11/24
- 07/08: gnu: emacs-projectile: Improve description., guix-commits, 2022/11/24
- 08/08: gnu: emacs-projectile: Activate tests.,
guix-commits <=
- 06/08: gnu: emacs-projectile: Update to 2.7.0., guix-commits, 2022/11/24
- 02/08: gnu: emacs-detached: Update to 0.10.0., guix-commits, 2022/11/24