From 87d7b94f47fb162925f4f4f7cef49043edc51758 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 24 Oct 2025 12:11:36 +0100 Subject: [PATCH] gnu: python-toposort: Use custom test backend. * gnu/packages/python-xyz.scm (python-toposort)[arguments] : Implement logic from custom check phase here. : 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 a035706231b2f0b2c9873f2c296b6375ae6d25ec..6bd973b73ddf17da0cf2c343bac4460d145f20f7 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