gentoo/dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild
Sam James 4d6b994866
dev-python/ipython_genutils: add missing nose runtime dep
Provides decorators which need nose.

From dev-python/notebook:
/usr/lib/python3.7/site-packages/_pytest/assertion/rewrite.py:170: in exec_module
    exec(co, module.__dict__)
notebook/nbconvert/tests/test_nbconvert_handlers.py:50: in <module>
    class APITest(NotebookTestBase):
notebook/nbconvert/tests/test_nbconvert_handlers.py:83: in APITest
    @onlyif_cmds_exist('pandoc')
/usr/lib/python3.7/site-packages/ipython_genutils/testing/decorators.py:165: in skip_decorator
    import nose
E   ModuleNotFoundError: No module named 'nose'

Signed-off-by: Sam James <sam@gentoo.org>
2021-03-14 01:25:01 +00:00

22 lines
524 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="Vestigial utilities from IPython"
HOMEPAGE="https://github.com/ipython/ipython_genutils"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 x86"
# Needed because package provides decorators which use nose
RDEPEND="dev-python/nose[${PYTHON_USEDEP}]"
distutils_enable_tests nose