summaryrefslogtreecommitdiff
path: root/dev-python/Levenshtein
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-18 13:56:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-18 13:56:32 +0100
commitcb9a501c2ed1312c376917c1cbfc79542d799806 (patch)
tree007413f26397078db8b9bb4ce69d7499ca5d0a3d /dev-python/Levenshtein
parenteb17cef883968037fcc6177549d44a030f08b69c (diff)
gentoo auto-resync : 18:10:2022 - 13:56:32
Diffstat (limited to 'dev-python/Levenshtein')
-rw-r--r--dev-python/Levenshtein/Levenshtein-0.20.7.ebuild45
-rw-r--r--dev-python/Levenshtein/Manifest2
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/Levenshtein/Levenshtein-0.20.7.ebuild b/dev-python/Levenshtein/Levenshtein-0.20.7.ebuild
new file mode 100644
index 000000000000..8887977b011f
--- /dev/null
+++ b/dev-python/Levenshtein/Levenshtein-0.20.7.ebuild
@@ -0,0 +1,45 @@
+# 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 ~riscv"
+
+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
+
+src_prepare() {
+ # sterilize build flags
+ sed -i -e '/CMAKE_INTERPROCEDURAL_OPTIMIZATION/d' CMakeLists.txt || die
+
+ distutils-r1_src_prepare
+}
diff --git a/dev-python/Levenshtein/Manifest b/dev-python/Levenshtein/Manifest
index 539de7804620..4d8d22fdfcc1 100644
--- a/dev-python/Levenshtein/Manifest
+++ b/dev-python/Levenshtein/Manifest
@@ -1,7 +1,9 @@
DIST Levenshtein-0.20.5.gh.tar.gz 35126 BLAKE2B b1322abdca5a4cd372bce74ce3f1d5e9f671783797830f0527282284fb1296be6ae9ef3fc68fe1f6867d1b1e9069c1c0c60106bd64f966f1333d087b52a9fe02 SHA512 d3afd384023537de5918e011e16395c7dc69ba61c4823eb64e938810dbf49cbf5379589a4cc13e7dd49f8a2e683498d3768717e52678ee01fb8d1dd55c304307
DIST Levenshtein-0.20.6.gh.tar.gz 36525 BLAKE2B d0b26f4aec5a985c04c0366c7d36633f172ce0efdb73f75a863cd306403d2d721acff7b2a460a74d19efacb0fd01f3973b93cc6d59695b576f8b11e79752b31e SHA512 4e2d6d7f59e8e2190029d9f5f49ed8407997935076233b79a7c81470a84446851e14f5edbbb42d48a85dbdf0116b40186d896f172f2d740f769a7e7cb9350e7f
+DIST Levenshtein-0.20.7.gh.tar.gz 36561 BLAKE2B dceaab4c16e386c685707edeea766701234c07e4bc1216d801ba7f5e92751126b976f8918b31d48ae928750e8d20102245e40161446b78e91ff74a285edaf12a SHA512 bca69e91e056b4b86340860f4c4e91af291f535d38a756c9a4f9a377024c0491724b972fa5b014da1ad563333cb9b797c9d05359185fc0aecc9fc018fe5d258e
DIST python-Levenshtein-0.12.2.tar.gz 50502 BLAKE2B d8992d30639e36aac1b85fada8f5273ed867aa3019208ffeb9972e999dad783d4ee16e1f6988c9306eb80f622b61fcf3a0a937b380c7a5acf50223268ed8de1d SHA512 97eac9d19121758af7620ad3963846e48434ceabb5376a83f28452015adf1a620620bfb53edb1c4f60b0fc8ec2b0faf35a105d7e2a0fc5df7a45fce81ba0dcdb
EBUILD Levenshtein-0.12.2.ebuild 630 BLAKE2B a56ef0d6431d51516f69a6a00dabec4681aa3e999fecfd904d34fee2dc1d4e8fca5ef47af6d388b0dcb72a9a1664f4d8ccb4124496d6ddb1306c7194aba06d1a SHA512 12021fce00cc5bb951cdfaba190a14f512bab14cef53b430504400bfa99daa91faa04a819fef750c7e558b0a99698fc52c8f52294d4ce47069efdf30a2d9600a
EBUILD Levenshtein-0.20.5-r1.ebuild 991 BLAKE2B 0f04ff79ebfd57e3f0615f086219560ab2b5c2aea834a11f46f78a9fe0697a3f8370eaeb9473b72c3c266ea9c9134b356e3770c73ca9cc897a8ec924e59fafd4 SHA512 fa296b0fa76d1adb457b0c1059a3db4a861952a0d59a0016e58d3a2a54677e8f53fdd452750238303ae3fd98e398c51682b65eba9b9e830e9a649bcd14de12af
EBUILD Levenshtein-0.20.6.ebuild 991 BLAKE2B 0f04ff79ebfd57e3f0615f086219560ab2b5c2aea834a11f46f78a9fe0697a3f8370eaeb9473b72c3c266ea9c9134b356e3770c73ca9cc897a8ec924e59fafd4 SHA512 fa296b0fa76d1adb457b0c1059a3db4a861952a0d59a0016e58d3a2a54677e8f53fdd452750238303ae3fd98e398c51682b65eba9b9e830e9a649bcd14de12af
+EBUILD Levenshtein-0.20.7.ebuild 991 BLAKE2B 0f04ff79ebfd57e3f0615f086219560ab2b5c2aea834a11f46f78a9fe0697a3f8370eaeb9473b72c3c266ea9c9134b356e3770c73ca9cc897a8ec924e59fafd4 SHA512 fa296b0fa76d1adb457b0c1059a3db4a861952a0d59a0016e58d3a2a54677e8f53fdd452750238303ae3fd98e398c51682b65eba9b9e830e9a649bcd14de12af
MISC metadata.xml 378 BLAKE2B 59900a9f2532c274a220466ff9bd5db4a4830b221119a95a0fdf82928b90c64b458b16c26257b69093ac08346bafbe54189bdb873bb8f119753a4f2243973eb9 SHA512 26b3ddc5d3843122a47941cb1e388e41f6a3f98e3f8d2f5108f50240b5c9005edb2b1e2df55c9046d48a8b4e07941f8ccd4fdee129f4ac948a47a6207b73c7ba