diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-06 08:16:23 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-18 22:00:18 +0200 |
commit | 8621705704e1d2df4b229b0b1112787e8bc8991a (patch) | |
tree | 15b7a9a8d5e1c72144c16b17434cbf7bdb54590b /dev-python/Levenshtein | |
parent | Rename dev-python/{python-levenshtein → Levenshtein} (diff) | |
download | gentoo-8621705704e1d2df4b229b0b1112787e8bc8991a.tar.gz gentoo-8621705704e1d2df4b229b0b1112787e8bc8991a.tar.bz2 gentoo-8621705704e1d2df4b229b0b1112787e8bc8991a.zip |
dev-python/Levenshtein: Bump to 0.20.3 (fork)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Levenshtein')
-rw-r--r-- | dev-python/Levenshtein/Levenshtein-0.20.3.ebuild | 38 | ||||
-rw-r--r-- | dev-python/Levenshtein/Manifest | 1 | ||||
-rw-r--r-- | dev-python/Levenshtein/metadata.xml | 4 |
3 files changed, 41 insertions, 2 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.20.3.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.3.ebuild new file mode 100644 index 000000000000..3b7310807ac8 --- /dev/null +++ b/dev-python/Levenshtein/Levenshtein-0.20.3.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.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 diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest index f40b2e341618..ca19ada28e75 100644 --- a/dev-python/Levenshtein/Manifest +++ b/dev-python/Levenshtein/Manifest @@ -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 diff --git a/dev-python/Levenshtein/metadata.xml b/dev-python/Levenshtein/metadata.xml index 414d22588236..43ccee7cbff2 100644 --- a/dev-python/Levenshtein/metadata.xml +++ b/dev-python/Levenshtein/metadata.xml @@ -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> |