dev-python/jellyfish: Port to python3.10

Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Jakov Smolic
2021-05-18 09:52:11 +01:00
committed by Michał Górny
parent a4a4b8dff0
commit 7da97dd42c

View File

@@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
PYTHON_COMPAT=( python3_{7..10} )
inherit distutils-r1
DESCRIPTION="Python module for doing approximate and phonetic matching of strings"
@@ -14,7 +14,7 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 x86"
DEPEND="
BDEPEND="
test? (
dev-python/unicodecsv[${PYTHON_USEDEP}]
)
@@ -26,5 +26,5 @@ distutils_enable_tests pytest
python_test() {
cp -r testdata "${BUILD_DIR}" || die
cd "${BUILD_DIR}" || die
pytest -vv lib/jellyfish/test.py || die "tests failed with ${EPYTHON}"
epytest lib/jellyfish/test.py
}