summaryrefslogtreecommitdiff
path: root/dev-python/jarowinkler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-18 17:20:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-18 17:20:12 +0100
commit1b295861f983d29f9bd5d5906c7ca3cee4cf1f9a (patch)
tree1e7c76ef2f11271cde321f54bcd340b6e30afdd0 /dev-python/jarowinkler
parent5142c1d68ca78d43985ab47bc3ae7c19954a9945 (diff)
gentoo auto-resync : 18:09:2022 - 17:20:12
Diffstat (limited to 'dev-python/jarowinkler')
-rw-r--r--dev-python/jarowinkler/Manifest4
-rw-r--r--dev-python/jarowinkler/jarowinkler-1.2.1.ebuild34
-rw-r--r--dev-python/jarowinkler/metadata.xml9
3 files changed, 37 insertions, 10 deletions
diff --git a/dev-python/jarowinkler/Manifest b/dev-python/jarowinkler/Manifest
index 03d430929f9a..f166384ebd35 100644
--- a/dev-python/jarowinkler/Manifest
+++ b/dev-python/jarowinkler/Manifest
@@ -1,3 +1,3 @@
DIST jarowinkler-1.2.1.tar.gz 85696 BLAKE2B 4e9c4dd4160a80fa600ae57c7cc97abd794bb0a49881137ed3f69c03549268bbf71dc410b86f8bd782b92df4eac63738ebd32dd716d682a0ce8aaaf039a38f61 SHA512 1337a5f67e54a0c0990dde7fc631c263b63c64c7dbefae82579842a639a85ea7214185489d56b6e2be5a6362773fbaea29a958f62dbfa270beefba516c325654
-EBUILD jarowinkler-1.2.1.ebuild 419 BLAKE2B 7063c9bbd412368b7bf992d6760032e4d02273f2776aedefc39d6b2aba37974f4625b43ac8b1938a64a1a5850d1dc9dd32fa7e701f37da48881d5eaae915a75a SHA512 e3f9682bd5c0774fd8a48a22637f9e041f4fe8f1f8913d99f5e16e1eea549f2d87eb1c0921e7d11d73fed53f13eb97bf8cf9b462dec995227ada31c16aa5a5c9
-MISC metadata.xml 217 BLAKE2B f8189b02494f180dac078dcd5c275d3c795f20f360f8b172c66065a2d937e396b24b8631bba4cd8567d60285ce89fc77b9539f2233bf33899c820613c48c33ba SHA512 f0c9e5b3d281fecd21b1e23a6f44c94c1c0b3220de46a177d35932111b7f1ab4399061c42833ac1ee9bd0324b139fc8db66e0d2890224d607bd3be38ae469be9
+EBUILD jarowinkler-1.2.1.ebuild 813 BLAKE2B 897d354dba6889e38ad14d68c23b5396f58188651998c7def84b530702e549f3c4aac97273e246f47973bcfa2226f93ef2a2e49949f6c10307adb56c1a466c5d SHA512 684e08ca81311c12cd3c9d5ec9943cc15b426ac3e2a4306e13213580215287d56ee05c56730d95f6688505212476b37219aa7bc6a73b1ecfe57c997467261a7e
+MISC metadata.xml 378 BLAKE2B cab755442b4916aff192b1510608c613e7b9e71258c5fa5d4beeee509384d83ebb798b4149db2458b7449942502c9bb45bd286a252fb9501251f92334f8b70c9 SHA512 334c4fe6aa31d180a227c828ffda309a9c1892eca69f414f5e6dbb8ba33a496e319701e3c8c72e955c0a1401b8e9d49bf44702537447282e683789138e170ba1
diff --git a/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild b/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild
index 47752e66cc05..3aaf6a9b002b 100644
--- a/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild
+++ b/dev-python/jarowinkler/jarowinkler-1.2.1.ebuild
@@ -1,17 +1,39 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+
+# custom wrapper over setuptools
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
-DESCRIPTION="String matching in Python using various string metrics"
-HOMEPAGE="https://github.com/maxbachmann/JaroWinkler"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+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"
-distutils_enable_tests setup.py
+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
diff --git a/dev-python/jarowinkler/metadata.xml b/dev-python/jarowinkler/metadata.xml
index 572c7daf2ccf..8e8cec6dbf6f 100644
--- a/dev-python/jarowinkler/metadata.xml
+++ b/dev-python/jarowinkler/metadata.xml
@@ -1,7 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>pacho@gentoo.org</email>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">maxbachmann/JaroWinkler</remote-id>
+ <remote-id type="pypi">jarowinkler</remote-id>
+ </upstream>
</pkgmetadata>