~ruther/guix-local

87d7b94f47fb162925f4f4f7cef49043edc51758 — Sharlatan Hellseher 7 months ago 891b2f9
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
1 files changed, 3 insertions(+), 7 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +3 -7
@@ 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