mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-ruffus: Switch to pyproject.
* gnu/packages/python-science.scm (python-ruffus): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Improve style. Improve 'check phase. [native-inputs]: Add python-setuptools. Change-Id: If6607ce5db313c97d5aaff062ac8bfa4b55d5dee Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
a42c00f2dc
commit
13a422138c
1 changed files with 11 additions and 14 deletions
|
|
@ -2733,21 +2733,18 @@ applications.")
|
|||
(method url-fetch)
|
||||
(uri (pypi-uri "ruffus" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ai673k1s94s8b6pyxai8mk17p6zvvyi87rl236fs6ls8mpdklvc"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "1ai673k1s94s8b6pyxai8mk17p6zvvyi87rl236fs6ls8mpdklvc"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'check)
|
||||
(add-after 'install 'check
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(with-directory-excursion "ruffus/test"
|
||||
(invoke "bash" "run_all_unit_tests3.cmd"))))))))
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion "ruffus/test"
|
||||
(invoke "bash" "run_all_unit_tests3.cmd"))))))))
|
||||
(native-inputs (list python-pytest python-setuptools))
|
||||
(home-page "http://www.ruffus.org.uk")
|
||||
(synopsis "Light-weight computational pipeline management")
|
||||
(description
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue