[3.21] backports/py3-levenshtein: upgrade to 0.26.1 #792

Merged
forge merged 1 commit from py3-levenshtein/upgrade-0.26.1 into v3.21 2024-12-16 15:45:08 +00:00

View file

@ -1,8 +1,8 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-levenshtein
pkgver=0.25.1
pkgrel=2
pkgver=0.26.1
pkgrel=0
pkgdesc="Python extension for computing string edit distances and similarities"
url="https://github.com/maxbachmann/Levenshtein"
arch="all"
@ -13,6 +13,7 @@ makedepends="
cython
py3-gpep517
py3-scikit-build
py3-scikit-build-core
python3-dev
rapidfuzz
samurai
@ -31,15 +32,15 @@ build() {
check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer \
.dist/Levenshtein*.whl
.dist/levenshtein*.whl
.testenv/bin/python3 -m pytest
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/Levenshtein*.whl
.dist/levenshtein*.whl
}
sha512sums="
936dab36b15df6f2ee5425efb1fdb1490fb8f618ba453f464a6dd615bcc427e55ceee7474f06b34392871d9f38470b853602a11d8f9776eee66ec34156511ca4 py3-levenshtein-0.25.1.tar.gz
589b1f404108f488caf880063f20ee9c6a2033b0a2cd819352bf15e285ea8537c1dc8117de70679f720fd3da47546f7e0e5c620e4da8cf09bf8df9b119e6abc9 py3-levenshtein-0.26.1.tar.gz
"