guix_mirror_bot pushed a commit to branch next-master
in repository guix.
commit d2ee6423b526dfc8117f0da9ee4f15ebe8c53d58
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Dec 31 07:45:19 2025 +0100
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 <[email protected]>
---
gnu/packages/python-science.scm | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index c80696d79c..76ce6f43fa 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