summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-28 11:11:46 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-08-28 11:16:03 +0300
commit3dda9b0cfd344cec1209aa27bc0324b559fd5cf6 (patch)
treee61f6d38a168f931b20aed2ff39fd849d102bb47 /dev-python/fuzzywuzzy
parentdev-python/sphinx_selective_exclude: mark ALLARCHES (diff)
downloadgentoo-3dda9b0cfd344cec1209aa27bc0324b559fd5cf6.tar.gz
gentoo-3dda9b0cfd344cec1209aa27bc0324b559fd5cf6.tar.bz2
gentoo-3dda9b0cfd344cec1209aa27bc0324b559fd5cf6.zip
dev-python/fuzzywuzzy: enable py3.10, use d_e_t for tests
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/fuzzywuzzy')
-rw-r--r--dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild b/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild
index f9e0426f7f07..ad74977b648b 100644
--- a/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild
+++ b/dev-python/fuzzywuzzy/fuzzywuzzy-0.18.0.ebuild
@@ -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