python312Packages.rapidfuzz: 3.9.7 -> 3.10.0
Diff: https://github.com/maxbachmann/RapidFuzz/compare/refs/tags/v3.9.7...v3.10.0 Changelog: https://github.com/maxbachmann/RapidFuzz/blob/refs/tags/v3.10.0/CHANGELOG.rst
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
cmake,
|
||||
cython,
|
||||
ninja,
|
||||
scikit-build,
|
||||
scikit-build-core,
|
||||
setuptools,
|
||||
numpy,
|
||||
hypothesis,
|
||||
@@ -19,21 +19,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidfuzz";
|
||||
version = "3.9.7";
|
||||
version = "3.10.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "RapidFuzz";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hyjzY9ogroUa4nGSG8HOyr5FxifX9d7Hf8ezKq6zxVk=";
|
||||
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "scikit-build~=0.18.0" "scikit-build" \
|
||||
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"
|
||||
'';
|
||||
|
||||
@@ -41,8 +40,7 @@ buildPythonPackage rec {
|
||||
cmake
|
||||
cython
|
||||
ninja
|
||||
scikit-build
|
||||
setuptools
|
||||
scikit-build-core
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
@@ -61,7 +59,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
optional-dependencies = {
|
||||
full = [ numpy ];
|
||||
all = [ numpy ];
|
||||
};
|
||||
|
||||
preCheck = ''
|
||||
|
||||
Reference in New Issue
Block a user