python310Packages.rapidfuzz: 2.1.0 -> 2.1.2
https://github.com/maxbachmann/RapidFuzz/blob/v2.1.2/CHANGELOG.md
This commit is contained in:
parent
ed40dba171
commit
07f1d6bab7
@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidfuzz";
|
||||
version = "2.1.0";
|
||||
version = "2.1.2";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "maxbachmann";
|
||||
repo = "RapidFuzz";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bvuT31qxYj/agEtPIJf/6YAOe6CGpEmaKpfNocw4wYQ=";
|
||||
hash = "sha256-7BP22Fon+7a3ZxTCS838uoLXABYdEexMEH2vZ0/KoRQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -50,6 +50,10 @@ buildPythonPackage rec {
|
||||
taskflow
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
export RAPIDFUZZ_BUILD_EXTENSION=1
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jarowinkler
|
||||
numpy
|
||||
@ -61,11 +65,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# import from $out
|
||||
rm -r rapidfuzz
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rapidfuzz.fuzz"
|
||||
"rapidfuzz.string_metric"
|
||||
|
Loading…
Reference in New Issue
Block a user