guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 87d7b94f47fb162925f4f4f7cef49043edc51758
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 24 12:11:36 2025 +0100
gnu: python-toposort: Use custom test backend.
* gnu/packages/python-xyz.scm (python-toposort)[arguments]
<test-backend, test-flags>: Implement logic from custom check phase here.
<phases>: Use default 'check.
[native-inputs]: Remove python-wheel.
Change-Id: If03fd3225ca907423bbb12b9cb6d3b79b0ffdbb0
---
gnu/packages/python-xyz.scm | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a035706231..6bd973b73d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15624,13 +15624,9 @@ GA4GH Task Execution API.")
"1gd66z5dy6j7qs5qkj1pg0vb15rwd571yq02fkm9d9nhaff4gfxz"))))
(build-system pyproject-build-system)
(arguments
- (list
- #:phases
- '(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (invoke "python3" "-m" "test.test_toposort"))))))
- (native-inputs (list python-setuptools python-wheel))
+ (list #:test-backend #~'custom
+ #:test-flags #~(list "-m" "test.test_toposort")))
+ (native-inputs (list python-setuptools))
(home-page "https://gitlab.com/ericvsmith/toposort")
(synopsis "Topological sort algorithm")
(description