diff --git a/info.yml b/info.yml index 31d0898..8f869fc 100644 --- a/info.yml +++ b/info.yml @@ -1,7 +1,7 @@ name: python-levenshtein description: Python extension for computing string edit distances and similarities -version: 0.27.3 -revision: 2 +version: 0.27.4 +revision: 1 url: https://github.com/rapidfuzz/Levenshtein license: GPL2-or-later maintainers: @@ -26,4 +26,4 @@ downloads: - url: https://github.com/rapidfuzz/Levenshtein/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: bc052cc7ac742b4a2dcfb82212b157f4adce9193ed27fe4d495f1349546eecdd + checksum: 7ac3f0df534a3a78906107b494868bdb20943a99048f7a8478a0ede37b511899 diff --git a/recipe.sh b/recipe.sh index cda02c9..2a6ec13 100644 --- a/recipe.sh +++ b/recipe.sh @@ -7,8 +7,8 @@ prepare() { cd "$BPM_SOURCE" - patch -Np1 -i "$BPM_WORKDIR"/remove-version-constraints.patch - sed -e 's|-m cython|-m cython --cplus|g' -i src/Levenshtein/CMakeLists.txt # Fix building with Cython 3.2 + # Remove Cython version constraints + sed -i 's| "Cython>=.*| "Cython"|g' -i pyproject.toml } # The build function is executed in the source directory diff --git a/source-files/remove-version-constraints.patch b/source-files/remove-version-constraints.patch deleted file mode 100644 index 5784300..0000000 --- a/source-files/remove-version-constraints.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,7 +1,7 @@ - [build-system] - requires = [ - "scikit-build-core>=0.11", -- "Cython>=3.1.6,<3.2.0" -+ "Cython" - ] - build-backend = "scikit_build_core.build" -