From f9fc9c1d4eb001b93e051fac965255950e31a525 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 24 Sep 2025 23:30:36 +0200 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 249d5e733a43c2b3cb298f385c533437ae6685e5..6dd53151c9ee5e51bc14746366ed1f5f218b82db 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1300,15 +1300,15 @@ of VT100 terminal.") (version "1.8.0") (source (origin - (method url-fetch) - (uri (pypi-uri "pyxdameraulevenshtein" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/lanl/pyxDamerauLevenshtein") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "07nhds44ry9mchqjqjdnq2asp13y9pqc8003pkydvb3dah7wrvhv")))) + (base32 "1qmmpgf8qxv5pfnqp328qqsj34jvyc63w8659xx18d8405agcjdr")))) (build-system pyproject-build-system) - (native-inputs - (list python-cython - python-setuptools - python-wheel)) + (native-inputs (list python-cython python-pytest python-setuptools)) (home-page "https://github.com/lanl/pyxDamerauLevenshtein") (synopsis "Damerau-Levenshtein edit distance algorithm") (description