summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-28 20:23:18 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-28 20:33:03 +0200
commitda9339e50601c85de57901d4f9a6354d851c210a (patch)
tree13587f0a0cc1bae62182f7d9d1f36315d1601006 /dev-python
parentdev-python/fakeredis: Bump to 1.9.3 (diff)
downloadgentoo-da9339e50601c85de57901d4f9a6354d851c210a.tar.gz
gentoo-da9339e50601c85de57901d4f9a6354d851c210a.tar.bz2
gentoo-da9339e50601c85de57901d4f9a6354d851c210a.zip
dev-python/Levenshtein: Bump to 0.20.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/Levenshtein/Levenshtein-0.20.5.ebuild38
-rw-r--r--dev-python/Levenshtein/Manifest1
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.20.5.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.5.ebuild
new file mode 100644
index 000000000000..e6bbbc1a531a
--- /dev/null
+++ b/dev-python/Levenshtein/Levenshtein-0.20.5.ebuild
@@ -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.7.0
+"
+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
diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest
index a7a994c36c10..8d7ae8e616b4 100644
--- a/dev-python/Levenshtein/Manifest
+++ b/dev-python/Levenshtein/Manifest
@@ -1,3 +1,4 @@
DIST Levenshtein-0.20.3.gh.tar.gz 33573 BLAKE2B 2ba0b35cd15da645dae3e18ce7d57da685cc273bb3902e645bf6a0826f212fab0b91a5765fa6b9768fd6d5cca728a3f0e384f18a90e29fed571b71e03171dccb SHA512 3adde94e7f195aaae3361296d4ec2e7694c6afb92abcde866d659a827bfdfc2ab1fb28d92332966abd7da8392590cd96415b7f593bde8375b35bbe845e9ddfe3
DIST Levenshtein-0.20.4.gh.tar.gz 34419 BLAKE2B ff15ef1d11d326d39a45781e729cc111cd8482ac2a2558b5623971dd8d5ae76833fc28e71afb0eed2f40b6a0d9323aeee4a3a3a77a172742239b70e70f65c775 SHA512 fef0f19e67ec5caae6a3ba42bba916fafcdc47c6ef5e5487cfe0a246ad0d9e393233269f986e3391a6443f707e64a9022531fa1a653597a952794ef402644dbe
+DIST Levenshtein-0.20.5.gh.tar.gz 35126 BLAKE2B b1322abdca5a4cd372bce74ce3f1d5e9f671783797830f0527282284fb1296be6ae9ef3fc68fe1f6867d1b1e9069c1c0c60106bd64f966f1333d087b52a9fe02 SHA512 d3afd384023537de5918e011e16395c7dc69ba61c4823eb64e938810dbf49cbf5379589a4cc13e7dd49f8a2e683498d3768717e52678ee01fb8d1dd55c304307
DIST python-Levenshtein-0.12.2.tar.gz 50502 BLAKE2B d8992d30639e36aac1b85fada8f5273ed867aa3019208ffeb9972e999dad783d4ee16e1f6988c9306eb80f622b61fcf3a0a937b380c7a5acf50223268ed8de1d SHA512 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb