mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-levenshtein: Update to 0.27.1.
* gnu/packages/python-xyz.scm (python-levenshtein): Update to 0.27.1. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [propagated-inputs]: Add python-rapidfuzz. [native-inputs]: Add cmake-minimal, python-cython, python-pytest, python-scikit-build-core, python-setuptools, rapidfuzz-cpp. Change-Id: I05011e5e34adf4c34acb425c493af56fbd99767d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7b4bf80f7a
commit
88e2dd4650
1 changed files with 25 additions and 15 deletions
|
|
@ -24989,26 +24989,36 @@ parts of the lines that were modified.")
|
|||
(define-public python-levenshtein
|
||||
(package
|
||||
(name "python-levenshtein")
|
||||
(version "0.12.2")
|
||||
(version "0.27.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "python-Levenshtein" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1xj60gymwx1jl2ra9razx2wk8nb9cv1i7l8d14qsp8a8s7xra8yw"))))
|
||||
(build-system python-build-system)
|
||||
(home-page "https://github.com/ztane/python-Levenshtein")
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/rapidfuzz/Levenshtein")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1khr1vjmrwakjfdsb22k508h3g8awjp0yb398ca8n1xanwzk4l8h"))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs (list python-rapidfuzz))
|
||||
(native-inputs
|
||||
(list cmake-minimal
|
||||
python-cython
|
||||
python-pytest
|
||||
python-scikit-build-core
|
||||
python-setuptools
|
||||
rapidfuzz-cpp))
|
||||
(home-page "https://github.com/rapidfuzz/Levenshtein")
|
||||
(synopsis "Fast computation of Levenshtein distance and string similarity")
|
||||
(description
|
||||
"The Levenshtein Python C extension module contains functions for fast computation of
|
||||
@enumerate
|
||||
@item Levenshtein (edit) distance, and edit operations
|
||||
@item string similarity
|
||||
@item approximate median strings, and generally string averaging
|
||||
@item string sequence and set similarity
|
||||
@end enumerate
|
||||
It supports both normal and Unicode strings.")
|
||||
@enumerate
|
||||
@item Levenshtein (edit) distance, and edit operations
|
||||
@item string similarity
|
||||
@item approximate median strings, and generally string averaging
|
||||
@item string sequence and set similarity
|
||||
@end enumerate
|
||||
It supports both normal and Unicode strings.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public python-scandir
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue