gnu: python-dpath: Update to 2.2.0.

* gnu/packages/python-xyz.scm (python-dpath): Update to 2.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Remove python-mock and python-nose; add python-nose2,
python-setuptools, and python-wheel.

Change-Id: I30ca919712b03f868d3e9fed4802817e4602dcda
This commit is contained in:
Ricardo Wurmus 2025-03-18 13:40:47 +01:00 committed by Andreas Enge
parent 1dc317fbbd
commit f7ac711df5
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -34853,25 +34853,17 @@ dates in almost any string formats commonly found on web pages.")
(define-public python-dpath
(package
(name "python-dpath")
(version "2.0.1")
(version "2.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "dpath" version))
(sha256
(base32
"1ymi9ssk7i0mx3mviplf4csfvzibdd6wyj4qzj6s487n9xgnp85y"))))
(build-system python-build-system)
"0gkavmc44f9cj3kch68343r2ajsbvbsjcmsmkqhkzsjmvhqfdxrl"))))
(build-system pyproject-build-system)
(native-inputs
(list python-hypothesis python-mock python-nose))
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
;; This invocation is taken from tox.ini.
(invoke "nosetests" "-d" "-v" "tests/"))))))
(list python-hypothesis python-nose2 python-setuptools python-wheel))
(home-page "https://github.com/akesterson/dpath-python")
(synopsis "File-system-like pathing and searching for dictionaries")
(description