1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
10 DESCRIPTION="Fuzzy string matching in python"
11 HOMEPAGE="https://github.com/seatgeek/fuzzywuzzy"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
19 RESTRICT="!test? ( test )"
21 DEPEND="test? ( dev-python/pycodestyle[${PYTHON_USEDEP}] )"
22 RDEPEND="${PYTHON_DEPS}
23 dev-python/python-levenshtein[${PYTHON_USEDEP}]"
26 "${PYTHON}" test_fuzzywuzzy.py || die "tests failed under ${EPYTHON}"