summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-26 12:55:40 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-26 13:10:07 +0200
commitbd390ab846a1aff0cf61fd10a9328a7df4a98b91 (patch)
tree4840b45d12320717e5f4ac39980b25d943abb51d /dev-python
parentdev-python/xmlschema: Bump to 2.1.0 (diff)
downloadgentoo-bd390ab846a1aff0cf61fd10a9328a7df4a98b91.tar.gz
gentoo-bd390ab846a1aff0cf61fd10a9328a7df4a98b91.tar.bz2
gentoo-bd390ab846a1aff0cf61fd10a9328a7df4a98b91.zip
dev-python/jarowinkler: Bump to 1.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jarowinkler/Manifest1
-rw-r--r--dev-python/jarowinkler/jarowinkler-1.2.2.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/jarowinkler/Manifest b/dev-python/jarowinkler/Manifest
index 9a21bec9dae1..f83a2d36bf17 100644
--- a/dev-python/jarowinkler/Manifest
+++ b/dev-python/jarowinkler/Manifest
@@ -1 +1,2 @@
DIST jarowinkler-1.2.1.tar.gz 85696 BLAKE2B 4e9c4dd4160a80fa600ae57c7cc97abd794bb0a49881137ed3f69c03549268bbf71dc410b86f8bd782b92df4eac63738ebd32dd716d682a0ce8aaaf039a38f61 SHA512 1337a5f67e54a0c0990dde7fc631c263b63c64c7dbefae82579842a639a85ea7214185489d56b6e2be5a6362773fbaea29a958f62dbfa270beefba516c325654
+DIST jarowinkler-1.2.2.tar.gz 85899 BLAKE2B f070be3b6fe69159c63cb37261bb8e837fc5f621b438405cd29de8f037f1848d0e27175c47a27a12895ca7ccf66681ed1ebc67c1f81d59e101c5acb1e665bcf6 SHA512 956eed36d4cdf36aefd1ca8ffedf61fdcf2567adbf3752ef3c7b3605c8851b97777132654ec14bb2ff66a4b737d2fa8bb1b81779a282d40cf5cf64980a8a6fde
diff --git a/dev-python/jarowinkler/jarowinkler-1.2.2.ebuild b/dev-python/jarowinkler/jarowinkler-1.2.2.ebuild
new file mode 100644
index 000000000000..3aaf6a9b002b
--- /dev/null
+++ b/dev-python/jarowinkler/jarowinkler-1.2.2.ebuild
@@ -0,0 +1,39 @@
+# 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="Fast fuzzy string matching using Jaro and Jaro-Winkler similarity"
+HOMEPAGE="
+ https://github.com/maxbachmann/JaroWinkler/
+ https://pypi.org/project/jarowinkler/
+"
+SRC_URI="
+ mirror://pypi/${PN::1}/${PN}/${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-cpp/jarowinkler-cpp
+"
+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 JAROWINKLER_BUILD_EXTENSION=1