mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/fuzzywuzzy: enable py3.10, use d_e_t for tests
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -14,14 +14,8 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
RDEPEND="dev-python/python-levenshtein[${PYTHON_USEDEP}]"
|
||||
BDEPEND="test? ( dev-python/pycodestyle[${PYTHON_USEDEP}] )"
|
||||
|
||||
DEPEND="test? ( dev-python/pycodestyle[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/python-levenshtein[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" test_fuzzywuzzy.py || die "tests failed under ${EPYTHON}"
|
||||
}
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user