dev-python/Levenshtein: Bump to 0.20.3 (fork)

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-06-06 08:16:23 +02:00
parent d2ff2ee4cd
commit 8621705704
3 changed files with 41 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# custom wrapper over setuptools
DISTUTILS_USE_PEP517=standalone
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="Functions for fast computation of Levenshtein distance, and edit operations"
HOMEPAGE="
https://pypi.org/project/Levenshtein/
https://github.com/maxbachmann/Levenshtein/
"
SRC_URI="
https://github.com/maxbachmann/Levenshtein/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-cpp/rapidfuzz-cpp-1.0.4
"
RDEPEND="
<dev-python/rapidfuzz-3.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
>=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest

View File

@@ -1 +1,2 @@
DIST Levenshtein-0.20.3.gh.tar.gz 33573 BLAKE2B 2ba0b35cd15da645dae3e18ce7d57da685cc273bb3902e645bf6a0826f212fab0b91a5765fa6b9768fd6d5cca728a3f0e384f18a90e29fed571b71e03171dccb SHA512 3adde94e7f195aaae3361296d4ec2e7694c6afb92abcde866d659a827bfdfc2ab1fb28d92332966abd7da8392590cd96415b7f593bde8375b35bbe845e9ddfe3
DIST python-Levenshtein-0.12.2.tar.gz 50502 BLAKE2B d8992d30639e36aac1b85fada8f5273ed867aa3019208ffeb9972e999dad783d4ee16e1f6988c9306eb80f622b61fcf3a0a937b380c7a5acf50223268ed8de1d SHA512 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb

View File

@@ -6,7 +6,7 @@
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">python-Levenshtein</remote-id>
<remote-id type="github">ztane/python-Levenshtein</remote-id>
<remote-id type="pypi">Levenshtein</remote-id>
<remote-id type="github">maxbachmann/Levenshtein</remote-id>
</upstream>
</pkgmetadata>