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:
Nicolas Graves 2025-12-31 07:45:19 +01:00 committed by Andreas Enge
parent a42c00f2dc
commit 13a422138c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -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