[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: cutadapt: Use ‘modify-phases’ syntax.
From: |
Tobias Geerinckx-Rice |
Subject: |
01/08: gnu: cutadapt: Use ‘modify-phases’ syntax. |
Date: |
Tue, 20 Dec 2016 04:51:17 +0000 (UTC) |
nckx pushed a commit to branch master
in repository guix.
commit 33d5b2464deffc24473ff6542f6731deaba8faba
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Dec 19 21:13:53 2016 +0100
gnu: cutadapt: Use ‘modify-phases’ syntax.
* gnu/packages/bioinformatics.scm (cutadapt)[arguments]: Use
‘modify-phases’.
---
gnu/packages/bioinformatics.scm | 29 +++++++++++++++--------------
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index f363936..912941e 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -1816,20 +1816,21 @@ preparation protocols.")
"19smhh6444ikn4jlmyhvffw4m5aw7yg07rqsk7arg8dkwyga1i4v"))))
(build-system python-build-system)
(arguments
- ;; tests must be run after install
- `(#:phases (alist-cons-after
- 'install 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (setenv "PYTHONPATH"
- (string-append
- (getenv "PYTHONPATH")
- ":" (assoc-ref outputs "out")
- "/lib/python"
- (string-take (string-take-right
- (assoc-ref inputs "python") 5) 3)
- "/site-packages"))
- (zero? (system* "nosetests" "-P" "tests")))
- (alist-delete 'check %standard-phases))))
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; The tests must be run after installation.
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (setenv "PYTHONPATH"
+ (string-append
+ (getenv "PYTHONPATH")
+ ":" (assoc-ref outputs "out")
+ "/lib/python"
+ (string-take (string-take-right
+ (assoc-ref inputs "python") 5) 3)
+ "/site-packages"))
+ (zero? (system* "nosetests" "-P" "tests")))))))
(inputs
`(("python-xopen" ,python-xopen)))
(native-inputs
- branch master updated (2fb5af2 -> 1feeb2e), Tobias Geerinckx-Rice, 2016/12/19
- 04/08: gnu: Add Ancient Greek Aspell dictionary., Tobias Geerinckx-Rice, 2016/12/19
- 03/08: gnu: aspell-dictionary: Use ‘modify-phases’ syntax., Tobias Geerinckx-Rice, 2016/12/19
- 07/08: gnu: cppcheck: Update to 1.76.1., Tobias Geerinckx-Rice, 2016/12/19
- 08/08: gnu: argon2: Update to 20161029., Tobias Geerinckx-Rice, 2016/12/19
- 01/08: gnu: cutadapt: Use ‘modify-phases’ syntax.,
Tobias Geerinckx-Rice <=
- 02/08: gnu: weechat: Use new xz-compressed tarball., Tobias Geerinckx-Rice, 2016/12/19
- 06/08: gnu: hunspell: Add missing perl dependency., Tobias Geerinckx-Rice, 2016/12/19
- 05/08: gnu: hunspell: Update to 1.5.4., Tobias Geerinckx-Rice, 2016/12/19