Update package version to 0.27.4
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: python-levenshtein
|
name: python-levenshtein
|
||||||
description: Python extension for computing string edit distances and similarities
|
description: Python extension for computing string edit distances and similarities
|
||||||
version: 0.27.3
|
version: 0.27.4
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://github.com/rapidfuzz/Levenshtein
|
url: https://github.com/rapidfuzz/Levenshtein
|
||||||
license: GPL2-or-later
|
license: GPL2-or-later
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -26,4 +26,4 @@ downloads:
|
|||||||
- url: https://github.com/rapidfuzz/Levenshtein/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
- url: https://github.com/rapidfuzz/Levenshtein/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: bc052cc7ac742b4a2dcfb82212b157f4adce9193ed27fe4d495f1349546eecdd
|
checksum: 7ac3f0df534a3a78906107b494868bdb20943a99048f7a8478a0ede37b511899
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
prepare() {
|
prepare() {
|
||||||
cd "$BPM_SOURCE"
|
cd "$BPM_SOURCE"
|
||||||
|
|
||||||
patch -Np1 -i "$BPM_WORKDIR"/remove-version-constraints.patch
|
# Remove Cython version constraints
|
||||||
sed -e 's|-m cython|-m cython --cplus|g' -i src/Levenshtein/CMakeLists.txt # Fix building with Cython 3.2
|
sed -i 's| "Cython>=.*| "Cython"|g' -i pyproject.toml
|
||||||
}
|
}
|
||||||
|
|
||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
|
|||||||
@@ -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"
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user