gnu: python-screed: Adjust following Python build system changes.

* gnu/packages/bioinformatics.scm (python-screed)[arguments]: Remove field, no
longer necessary.
This commit is contained in:
Maxim Cournoyer 2021-01-22 13:16:52 -05:00
parent 5e47bebf3b
commit 3c0b373310
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -6295,25 +6295,6 @@ (define-public python-screed
(base32
"148vcb7w2wr6a4w6vs2bsxanbqibxfk490zbcbg4m61s8669zdjx"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
;; 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-pytest" ,python-pytest)
("python-pytest-cov" ,python-pytest-cov)