python312Packages.rapidfuzz: 3.9.7 -> 3.10.0 (#344062)

This commit is contained in:
Robert Schütz 2024-10-08 15:11:21 -07:00 committed by GitHub
commit e8597a0de1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 11 deletions

View File

@ -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 = ''

View File

@ -30,14 +30,14 @@
buildPythonPackage rec {
pname = "scikit-build-core";
version = "0.10.5";
version = "0.10.7";
pyproject = true;
src = fetchFromGitHub {
owner = "scikit-build";
repo = "scikit-build-core";
rev = "refs/tags/v${version}";
hash = "sha256-hpwXEWPofgMT4ua2tZI1mtGbaBkT2XPBd6QL8xTi1A0=";
hash = "sha256-R6/Y9brIYBA1P3YeG8zGaoPcxWFUDqZlqbZpWu3MIIw=";
};
postPatch = lib.optionalString (pythonOlder "3.11") ''
@ -89,7 +89,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Next generation Python CMake adaptor and Python API for plugins";
homepage = "https://github.com/scikit-build/scikit-build-core";
changelog = "https://github.com/scikit-build/scikit-build-core/releases/tag/v${version}";
changelog = "https://github.com/scikit-build/scikit-build-core/blob/${src.rev}/docs/changelog.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ veprbl ];
};