dev-python/pyxdameraulevenshtein: Bump to 1.10.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-03-19 07:06:35 +01:00
parent afc8a5a72d
commit 35c5e51ef1
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST pyxDamerauLevenshtein-1.10.0.gh.tar.gz 12872 BLAKE2B e4777d444e4cea16ba1bcc92f246f8e50b0135c8ab226c9b03da029aedad5c403bfbc9802b7676b929a684afdc261a069348f0adc06117f117db4fc9ce3261f0 SHA512 2d2951f5afa969e60a56d4368e47854ed3938e8c52664e449cdc7fb97c069115afb253e99dff73f3eae384380a4fcf30f1175031349a497a0f108b04b3ab8c91
DIST pyxDamerauLevenshtein-1.9.0.gh.tar.gz 10812 BLAKE2B 59b82c5c57e4c94a70e74c3017fac14bda6c665a29eddd713b78574e63257d7561d8a1948d4af0ca8b54c44c3ed028ab27ddd172ab8c6c3bfd19428a4208ab75 SHA512 a9340f24e59822a2a38d36338d4689ae3859f6f41de8536464cbbb561f3c197aead3411290d9014aea9db7695e799a01dfac605a4420f813c5f23c0ae4ca030f

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2026 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
}