summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-27 08:19:17 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-27 08:22:10 +0200
commitf7db921d211caa5a8cd476141c18d6b2cfe8625c (patch)
tree874944a35142654920ce859a3b3235dc0e5d558e /dev-python/Levenshtein
parentdev-cpp/rapidfuzz-cpp: Bump to 1.7.0 (diff)
downloadgentoo-f7db921d211caa5a8cd476141c18d6b2cfe8625c.tar.gz
gentoo-f7db921d211caa5a8cd476141c18d6b2cfe8625c.tar.bz2
gentoo-f7db921d211caa5a8cd476141c18d6b2cfe8625c.zip
dev-python/Levenshtein: Bump to 0.20.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Levenshtein')
-rw-r--r--dev-python/Levenshtein/Levenshtein-0.20.4.ebuild38
-rw-r--r--dev-python/Levenshtein/Manifest1
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.20.4.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.4.ebuild
new file mode 100644
index 000000000000..e6bbbc1a531a
--- /dev/null
+++ b/dev-python/Levenshtein/Levenshtein-0.20.4.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 ca19ada28e75..a7a994c36c10 100644
--- a/dev-python/Levenshtein/Manifest
+++ b/dev-python/Levenshtein/Manifest
@@ -1,2 +1,3 @@
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 python-Levenshtein-0.12.2.tar.gz 50502 BLAKE2B d8992d30639e36aac1b85fada8f5273ed867aa3019208ffeb9972e999dad783d4ee16e1f6988c9306eb80f622b61fcf3a0a937b380c7a5acf50223268ed8de1d SHA512 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb