gnu: python-toposort: Update to 1.10.

* gnu/packages/python-xyz.scm (python-toposort): Update to 1.10.
[build-system]: Use pyproject-build-system.
[arguments]: Replace 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ifde522ecba6331634c911856892c3b25098fbd88
This commit is contained in:
Ricardo Wurmus 2025-03-18 13:37:26 +01:00 committed by Andreas Enge
parent 9ebcce5a92
commit bcf4ab7511
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -15129,15 +15129,23 @@ GA4GH Task Execution API.")
(define-public python-toposort (define-public python-toposort
(package (package
(name "python-toposort") (name "python-toposort")
(version "1.6") (version "1.10")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "toposort" version)) (uri (pypi-uri "toposort" version))
(sha256 (sha256
(base32 (base32
"1b2hppzjg3p006qya3yfdnp76dwq8frl97lypdam0kw4xxb8yhm7")))) "1gd66z5dy6j7qs5qkj1pg0vb15rwd571yq02fkm9d9nhaff4gfxz"))))
(build-system python-build-system) (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))
(home-page "https://gitlab.com/ericvsmith/toposort") (home-page "https://gitlab.com/ericvsmith/toposort")
(synopsis "Topological sort algorithm") (synopsis "Topological sort algorithm")
(description (description