gnu: python-pyxdameraulevenshtein: Run and fix tests.

* gnu/packages/python-xyz.scm (python-pyxdameraulevenshtein)
[source]: Switch to git-fetch.
[native-inputs]: Add python-pytest, remove python-wheel.

Change-Id: I5835d0367438a3f3cc017b1dc37fd5d6f2f3c120
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-24 23:30:36 +02:00 committed by Sharlatan Hellseher
parent 53aa7a1585
commit f9fc9c1d4e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1300,15 +1300,15 @@ of VT100 terminal.")
(version "1.8.0") (version "1.8.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (pypi-uri "pyxdameraulevenshtein" version)) (uri (git-reference
(url "https://github.com/lanl/pyxDamerauLevenshtein")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "07nhds44ry9mchqjqjdnq2asp13y9pqc8003pkydvb3dah7wrvhv")))) (base32 "1qmmpgf8qxv5pfnqp328qqsj34jvyc63w8659xx18d8405agcjdr"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(native-inputs (native-inputs (list python-cython python-pytest python-setuptools))
(list python-cython
python-setuptools
python-wheel))
(home-page "https://github.com/lanl/pyxDamerauLevenshtein") (home-page "https://github.com/lanl/pyxDamerauLevenshtein")
(synopsis "Damerau-Levenshtein edit distance algorithm") (synopsis "Damerau-Levenshtein edit distance algorithm")
(description (description