From bcf4ab75111cfa0ea60b0c906ec5270ec18cb838 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 18 Mar 2025 13:37:26 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3bd783dd34e5fe44f148b4e53996e2e1da84c442..6bdfd2732175db61f7501eac3cd188f0d91382b9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15129,15 +15129,23 @@ GA4GH Task Execution API.") (define-public python-toposort (package (name "python-toposort") - (version "1.6") + (version "1.10") (source (origin (method url-fetch) (uri (pypi-uri "toposort" version)) (sha256 (base32 - "1b2hppzjg3p006qya3yfdnp76dwq8frl97lypdam0kw4xxb8yhm7")))) - (build-system python-build-system) + "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)) (home-page "https://gitlab.com/ericvsmith/toposort") (synopsis "Topological sort algorithm") (description