[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
109/155: gnu: cutadapt: Use ‘modify-phases’ syntax.
From: |
John Darrington |
Subject: |
109/155: gnu: cutadapt: Use ‘modify-phases’ syntax. |
Date: |
Wed, 21 Dec 2016 20:48:38 +0000 (UTC) |
jmd pushed a commit to branch wip-installer
in repository guix.
commit 4b68eb799d40bc516f19abae7322f7862d2f5dba
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
- 95/155: Revert "gnu: grub: Add dependency on efibootmgr.", (continued)
- 95/155: Revert "gnu: grub: Add dependency on efibootmgr.", John Darrington, 2016/12/21
- 108/155: gnu: enlightenment: Update to 0.21.5., John Darrington, 2016/12/21
- 81/155: gnu: openssh: Update to 7.4p1., John Darrington, 2016/12/21
- 105/155: services: guix: Remove dependency on lsh., John Darrington, 2016/12/21
- 123/155: build: Bump version number., John Darrington, 2016/12/21
- 119/155: gnu: cuirass: Make sure 'cuirass' has 'evaluate' in $PATH., John Darrington, 2016/12/21
- 125/155: import: pypi: Match new 'pypi-uri' domain in updater., John Darrington, 2016/12/21
- 133/155: gnu: nss: Add comment about test failures in NSS 3.27.2, John Darrington, 2016/12/21
- 73/155: gnu: mig: Update to 1.8., John Darrington, 2016/12/21
- 99/155: gnu: utox: Update to 0.11.0., John Darrington, 2016/12/21
- 109/155: gnu: cutadapt: Use ‘modify-phases’ syntax.,
John Darrington <=
- 106/155: services: guix: Add 'log-file' configuration option., John Darrington, 2016/12/21
- 121/155: services: cuirass: Add Cuirass to the system profile., John Darrington, 2016/12/21
- 128/155: mailmap: Add alias for Marius Bakke., John Darrington, 2016/12/21
- 126/155: build: Delete all the .service and .conf files upon 'make clean'., John Darrington, 2016/12/21
- 134/155: gnu: borg: Update to 1.0.9., John Darrington, 2016/12/21
- 136/155: gnu: mailutils: Update to 3.1.1., John Darrington, 2016/12/21
- 137/155: gnu: mailutils: Use 'modify-phases' syntax., John Darrington, 2016/12/21
- 130/155: environment: Add '--root' option., John Darrington, 2016/12/21
- 144/155: gnu: imagemagick: Update to 6.9.7-0., John Darrington, 2016/12/21
- 149/155: gnu: jsoncpp: Update to 1.8.0., John Darrington, 2016/12/21