dev-python/jupyter_core: Add missing test dep on dev-python/nose

Closes: https://bugs.gentoo.org/731716
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-08-17 22:36:18 +02:00
parent 6af7aa4dc6
commit 16ddeaabba

View File

@@ -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
}