dev-python/pyxdameraulevenshtein: Bump to 1.9.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-10-02 05:13:23 +02:00
parent 7aa85142c1
commit e685a2e3ec
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pyxDamerauLevenshtein-1.8.0.gh.tar.gz 9175 BLAKE2B 2c17ee794153071081cb463597a85d1428eb0620f4f30966a0deb257eb03efb34f95c45fc7d90a22bfd5034283ba7ba08ab1338278f0d81024e45d6ab8d19b05 SHA512 87429f8c106b31c024893313645d9f7af04f855c01009a461a59c506ac778be717c3052af47e9dce53a28c00ed4ee47347e975e9f8ccb50eb504c97b7d580206
DIST pyxDamerauLevenshtein-1.9.0.gh.tar.gz 10812 BLAKE2B 59b82c5c57e4c94a70e74c3017fac14bda6c665a29eddd713b78574e63257d7561d8a1948d4af0ca8b54c44c3ed028ab27ddd172ab8c6c3bfd19428a4208ab75 SHA512 a9340f24e59822a2a38d36338d4689ae3859f6f41de8536464cbbb561f3c197aead3411290d9014aea9db7695e799a01dfac605a4420f813c5f23c0ae4ca030f

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
MY_P=pyxDamerauLevenshtein-${PV}
DESCRIPTION="Implements the Damerau-Levenshtein edit distance algorithm for Python in Cython"
HOMEPAGE="
https://github.com/lanl/pyxDamerauLevenshtein/
https://pypi.org/project/pyxDamerauLevenshtein/
"
SRC_URI="
https://github.com/lanl/pyxDamerauLevenshtein/archive/v${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~riscv ~x86"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_configure() {
# recythonize
cd pyxdameraulevenshtein || die
cython -3 -f *.pyx || die
}
src_test() {
rm -r pyxdameraulevenshtein || die
distutils-r1_src_test
}