backports/py3-levenshtein: upgrade to 0.26.1
All checks were successful
/ lint (pull_request) Successful in 30s
/ build-x86_64 (pull_request) Successful in 1m10s
/ deploy-x86_64 (pull_request) Successful in 26s
/ build-aarch64 (pull_request) Successful in 2m52s
/ deploy-aarch64 (pull_request) Successful in 54s

This commit is contained in:
Antoine Martin 2024-12-16 10:40:23 -05:00
parent 3429a21d56
commit 62eb3dd8c2
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

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