From 7b4bf80f7a97f3af83c7d16ed782874d309af168 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 25 Oct 2025 18:51:20 +0200 Subject: [PATCH] gnu: python-rapidfuzz: Update to 3.14.1. * gnu/packages/python-xyz.scm (python-rapidfuzz): Update to 3.14.1. [source]: Switch to git-fetch. [native-inputs]: Add cmake-minimal, python-cython, rapidfuzz-cpp and taskflow. Replace python-setuptools an python-scikit-build by python-scikit-build-core. [description]: Improve style. Change-Id: I6db380ffa6066eb41e8a930efdb0e2308a28736c Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 027fc7cfe67..42dc27a9d56 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4065,22 +4065,28 @@ distribute/setuptools setup.py script.") (define-public python-rapidfuzz (package (name "python-rapidfuzz") - (version "3.6.1") + (version "3.14.1") (source (origin - (method url-fetch) - (uri (pypi-uri "rapidfuzz" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/rapidfuzz/RapidFuzz") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1rrx043zqqql31pcp92k61digibymp3l382gaxr4h8717kp0nrim")))) + (base32 "1kqy9paxri1ih47mwmsxwz7a222sn2si5n8qd7gxhdf1wdrpdrm7")))) (build-system pyproject-build-system) (native-inputs - (list python-packaging + (list cmake-minimal + python-cython python-pytest - python-scikit-build - python-setuptools)) + python-scikit-build-core + rapidfuzz-cpp + taskflow)) (home-page "https://github.com/rapidfuzz/RapidFuzz") (synopsis "Rapid fuzzy string matching") - (description "RapidFuzz is a fast string matching library for Python and + (description + "RapidFuzz is a fast string matching library for Python and C++, which is using the string similarity calculations from FuzzyWuzzy.") (license license:expat)))