Merge pull request #198714 from fabaff/editdistance-bump
python310Packages.editdistance: 0.6.0 -> 0.6.1
This commit is contained in:
commit
f927ea49df
@ -3,29 +3,38 @@
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, cython
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "editdistance";
|
||||
version = "0.6.0";
|
||||
version = "0.6.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "roy-ht";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "17xkndwdyf14nfxk25z1qnhkzm0yxw65fpj78c01haq241zfzjr5";
|
||||
hash = "sha256-c0TdH1nJAKrepatCSCTLaKsDv9NKruMQadCjclKGxBw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython ];
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
cythonize --inplace editdistance/bycython.pyx
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "editdistance" ];
|
||||
pythonImportsCheck = [
|
||||
"editdistance"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the edit distance (Levenshtein distance)";
|
||||
|
Loading…
Reference in New Issue
Block a user