diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-31 07:45:19 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:23:30 +0100 |
| commit | 8ec85a9ddfa5396c148d6555a1513d1b4872d38b (patch) | |
| tree | b07b03846e4f5ececa1ee7032bd85597e6576a41 /gnu/packages/python-science.scm | |
| parent | e42ad05e323f1d5cda2be6a5cd2b046f59d779a3 (diff) | |
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>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c80696d79c7..76ce6f43fa5 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -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 |
