commit:     fcbead31f53092de4d6d851f9fd0a9334b63a674
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 21:48:03 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 06:21:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcbead31

dev-python/isort: Fix tests not finding the executable

Closes: https://bugs.gentoo.org/743340
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/isort/isort-4.3.21_p2-r1.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/isort/isort-4.3.21_p2-r1.ebuild 
b/dev-python/isort/isort-4.3.21_p2-r1.ebuild
index 6086f5b770a..5d9e679b496 100644
--- a/dev-python/isort/isort-4.3.21_p2-r1.ebuild
+++ b/dev-python/isort/isort-4.3.21_p2-r1.ebuild
@@ -20,10 +20,6 @@ KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86"
 
 RDEPEND="
        dev-python/pipfile[${PYTHON_USEDEP}]
-       $(python_gen_cond_dep '
-               dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
-               dev-python/futures[${PYTHON_USEDEP}]
-       ' -2)
 "
 BDEPEND="${RDEPEND}"
 
@@ -32,3 +28,8 @@ PATCHES=(
 )
 
 distutils_enable_tests pytest
+
+python_test() {
+       distutils_install_for_testing
+       pytest -vv || die "Tests failed with ${EPYTHON}"
+}

Reply via email to