mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-14 03:07:56 -08:00
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>
22 lines
524 B
Bash
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
|