python312Packages.rapidfuzz: 3.10.0 -> 3.10.1
Diff: https://github.com/maxbachmann/RapidFuzz/compare/refs/tags/v3.10.0...v3.10.1 Changelog: https://github.com/maxbachmann/RapidFuzz/blob/refs/tags/v3.10.1/CHANGELOG.rst
This commit is contained in:
committed by
Weijia Wang
parent
ff18a1b257
commit
b322800344
@@ -4,7 +4,6 @@
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
cmake,
|
||||
cython,
|
||||
ninja,
|
||||
@@ -20,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidfuzz";
|
||||
version = "3.10.0";
|
||||
version = "3.10.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -29,18 +28,9 @@ buildPythonPackage rec {
|
||||
owner = "maxbachmann";
|
||||
repo = "RapidFuzz";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hLYidU09nCSOi42zgSh7dW83glxIjFY4C6BTmy/sf60=";
|
||||
hash = "sha256-0L8nkjgWdP/w//M69ZRxYk9If3CIEcnAl9mkJKJ4o1g=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/rapidfuzz/RapidFuzz/pull/414
|
||||
(fetchpatch2 {
|
||||
name = "support-taskflow-3.8.0.patch";
|
||||
url = "https://github.com/rapidfuzz/RapidFuzz/commit/8f0429bbd970ccc036018b87108845c384911ff7.patch";
|
||||
hash = "sha256-1wizdCkXYEMe5JWXUHCOCuDdS0z76FKimR47B3s2oVU=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "Cython >=3.0.11, <3.1.0" "Cython"
|
||||
|
||||
Reference in New Issue
Block a user