dev-python/jarowinkler: New package, v1.2.1

Bug: https://bugs.gentoo.org/871339
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-06-06 08:13:22 +02:00
parent def304707f
commit bd26cedeba
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST jarowinkler-1.2.1.tar.gz 85696 BLAKE2B 4e9c4dd4160a80fa600ae57c7cc97abd794bb0a49881137ed3f69c03549268bbf71dc410b86f8bd782b92df4eac63738ebd32dd716d682a0ce8aaaf039a38f61 SHA512 1337a5f67e54a0c0990dde7fc631c263b63c64c7dbefae82579842a639a85ea7214185489d56b6e2be5a6362773fbaea29a958f62dbfa270beefba516c325654

View File

@@ -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

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<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>