mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user