diff --git a/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild b/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild index 400c9ac6d2d6d..2a9d58b8c6d0b 100644 --- a/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild +++ b/dev-python/jupyter_core/jupyter_core-4.6.3.ebuild @@ -18,17 +18,20 @@ KEYWORDS="amd64 arm64 x86" RDEPEND="dev-python/traitlets[${PYTHON_USEDEP}]" BDEPEND=" - test? ( >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}] )" + test? ( + >=dev-python/ipython-4.0.1[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" distutils_enable_sphinx docs \ dev-python/sphinxcontrib-github-alt distutils_enable_tests pytest -src_prepare() { +python_prepare_all() { # rely on imports working without PYTHONPATH sed -e 's:test_not_on_path:_&:' \ -e 's:test_path_priority:_&:' \ -i jupyter_core/tests/test_command.py || die - distutils-r1_src_prepare + distutils-r1_python_prepare_all }