[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/28: gnu: python-screed: Update to 1.0.
From: |
Ricardo Wurmus |
Subject: |
25/28: gnu: python-screed: Update to 1.0. |
Date: |
Sun, 21 Oct 2018 17:07:02 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 50e33c3a8c591af8a6112ea42d53ed6f0ec80208
Author: Ricardo Wurmus <address@hidden>
Date: Sun Oct 21 22:58:30 2018 +0200
gnu: python-screed: Update to 1.0.
* gnu/packages/bioinformatics.scm (python-screed): Update to 1.0.
[arguments]: Run tests after installation.
[native-inputs]: Add python-pytest, python-pytest-cov, and
python-pytest-runner; remove python-nose.
---
gnu/packages/bioinformatics.scm | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index a99deeb..9afb2c1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -5602,25 +5602,38 @@ complexity samples.")
(define-public python-screed
(package
(name "python-screed")
- (version "0.9")
+ (version "1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "screed" version))
(sha256
(base32
- "18czszp9fkx3j6jr7y5kp6dfialscgddk05mw1zkhh2zhn0jd8i0"))))
+ "148vcb7w2wr6a4w6vs2bsxanbqibxfk490zbcbg4m61s8669zdjx"))))
(build-system python-build-system)
(arguments
- `(#:phases
+ '(#:phases
(modify-phases %standard-phases
- (replace 'check
- (lambda _
- (setenv "PYTHONPATH"
- (string-append (getenv "PYTHONPATH") ":."))
- (zero? (system* "nosetests" "--attr" "!known_failing")))))))
+ ;; Tests must be run after installation, as the "screed" command does
+ ;; not exist right after building.
+ (delete 'check)
+ (add-after 'install 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (setenv "PYTHONPATH"
+ (string-append out "/lib/python"
+ (string-take (string-take-right
+ (assoc-ref inputs "python")
+ 5) 3)
+ "/site-packages:"
+ (getenv "PYTHONPATH")))
+ (setenv "PATH" (string-append out "/bin:" (getenv "PATH"))))
+ (invoke "python" "setup.py" "test")
+ #t)))))
(native-inputs
- `(("python-nose" ,python-nose)))
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-runner" ,python-pytest-runner)))
(inputs
`(("python-bz2file" ,python-bz2file)))
(home-page "https://github.com/dib-lab/screed/")
- 26/28: gnu: khmer: Update to 2.1.2., (continued)
- 26/28: gnu: khmer: Update to 2.1.2., Ricardo Wurmus, 2018/10/21
- 22/28: gnu: edirect: Update to 10.2.20181018., Ricardo Wurmus, 2018/10/21
- 27/28: gnu: seqan: Update to 2.4.0., Ricardo Wurmus, 2018/10/21
- 24/28: gnu: fasttree: Use INVOKE., Ricardo Wurmus, 2018/10/21
- 23/28: gnu: express-beta-diversity: Update to 1.0.8., Ricardo Wurmus, 2018/10/21
- 20/28: gnu: discrover: Fetch from git., Ricardo Wurmus, 2018/10/21
- 17/28: gnu: Add texlive-latex-readarray., Ricardo Wurmus, 2018/10/21
- 18/28: gnu: Add texlive-latex-verbatimbox., Ricardo Wurmus, 2018/10/21
- 14/28: gnu: diamond: Fetch from git., Ricardo Wurmus, 2018/10/21
- 11/28: gnu: eolie: Update to 0.9.45., Ricardo Wurmus, 2018/10/21
- 25/28: gnu: python-screed: Update to 1.0.,
Ricardo Wurmus <=
- 19/28: gnu: Add texlive-latex-examplep., Ricardo Wurmus, 2018/10/21
- 16/28: gnu: Add texlive-generic-listofitems., Ricardo Wurmus, 2018/10/21
- 15/28: gnu: Add texlive-latex-doi., Ricardo Wurmus, 2018/10/21
- 10/28: gnu: python-dendropy: Fetch from git., Ricardo Wurmus, 2018/10/21
- 09/28: gnu: python-py2bit: Update to 0.3.0., Ricardo Wurmus, 2018/10/21
- 21/28: gnu: eigensoft: Update to 7.2.1., Ricardo Wurmus, 2018/10/21
- 13/28: gnu: delly: Update to 0.7.9., Ricardo Wurmus, 2018/10/21
- 12/28: gnu: deeptools: Update to 3.1.3., Ricardo Wurmus, 2018/10/21
- 08/28: gnu: cutadapt: Update to 1.18., Ricardo Wurmus, 2018/10/21
- 06/28: gnu: crossmap: Update to 0.2.9., Ricardo Wurmus, 2018/10/21