diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-01 16:54:30 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-01 17:53:26 +0200 |
commit | a9793a3371fd75352273efe7274fae46f863bc55 (patch) | |
tree | b5a4bef345adcdb2e15cda5ac12f035f17f0d1d4 /dev-python/rapidfuzz | |
parent | gnome-extra/gnome-shell-extensions: Version bump to 43.0 (diff) | |
download | gentoo-a9793a3371fd75352273efe7274fae46f863bc55.tar.gz gentoo-a9793a3371fd75352273efe7274fae46f863bc55.tar.bz2 gentoo-a9793a3371fd75352273efe7274fae46f863bc55.zip |
dev-python/rapidfuzz: Bump to 2.10.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/rapidfuzz')
-rw-r--r-- | dev-python/rapidfuzz/Manifest | 1 | ||||
-rw-r--r-- | dev-python/rapidfuzz/rapidfuzz-2.10.3.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/rapidfuzz/Manifest b/dev-python/rapidfuzz/Manifest index 73a52b2bb27c..91250ab854d1 100644 --- a/dev-python/rapidfuzz/Manifest +++ b/dev-python/rapidfuzz/Manifest @@ -1 +1,2 @@ DIST rapidfuzz-2.10.2.tar.gz 788167 BLAKE2B 91264d83159ce91cac33138c2589d468ffb079daef06f1917596892b3c5fbb99f2012d79ca05f728e6d49c2241d83f68e0d3a44956cfdfafd38cae428496f507 SHA512 3d7610a2e4b32fbfaa0ac043847829bfc436e61c2d0c76d526fc0827cca4fd10a0b6ae659bd61ed48604695c4782bcb0984d2becaf84494b84a5d8e71c22e97a +DIST rapidfuzz-2.10.3.tar.gz 788237 BLAKE2B dd6e70bd1059317d98cf96c242e62ba8be2c9bdeac483f0da18b4f46179502ac0f0ae000f5bdfedc44374dceae1c4054bd2a6be7dde5e466497c617c699ceeeb SHA512 9774a203482ab90a4bdc7f9faaa2ea0c0c314e350fb6c957c3eed3f7cb5009d1fd2521c5438b25d8d04aedf96028004136908a3226305bd2cbcf4158d0bc0329 diff --git a/dev-python/rapidfuzz/rapidfuzz-2.10.3.ebuild b/dev-python/rapidfuzz/rapidfuzz-2.10.3.ebuild new file mode 100644 index 000000000000..3a1dc1af36a6 --- /dev/null +++ b/dev-python/rapidfuzz/rapidfuzz-2.10.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 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="Rapid fuzzy string matching in Python using various string metrics" +HOMEPAGE=" + https://github.com/maxbachmann/RapidFuzz/ + https://pypi.org/project/rapidfuzz/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + <dev-python/jarowinkler-2[${PYTHON_USEDEP}] + >=dev-python/jarowinkler-1.2.2[${PYTHON_USEDEP}] +" +# all these are header-only libraries +DEPEND=" + >=dev-cpp/taskflow-3.0.0 + >=dev-cpp/jarowinkler-cpp-1.0.0 + >=dev-cpp/rapidfuzz-cpp-1.0.1 + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/rapidfuzz_capi[${PYTHON_USEDEP}] + >=dev-python/scikit-build-0.13.0[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export RAPIDFUZZ_BUILD_EXTENSION=1 |