summaryrefslogtreecommitdiff
path: root/dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-14 01:25:01 +0000
committerSam James <sam@gentoo.org>2021-03-14 01:25:01 +0000
commit4d6b994866931b3c65a262689e508f2b3b2b4383 (patch)
treee3df32728f3883a183f40a4290301fcf246fcff4 /dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild
parent81d8960f7f4c107d56bbf54252d9c9e4b41c96ad (diff)
downloadgentoo-4d6b994866931b3c65a262689e508f2b3b2b4383.tar.gz
gentoo-4d6b994866931b3c65a262689e508f2b3b2b4383.tar.bz2
gentoo-4d6b994866931b3c65a262689e508f2b3b2b4383.zip
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>
Diffstat (limited to 'dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild')
-rw-r--r--dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild b/dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild
new file mode 100644
index 000000000000..f65b6cb184d5
--- /dev/null
+++ b/dev-python/ipython_genutils/ipython_genutils-0.2.0-r2.ebuild
@@ -0,0 +1,21 @@
+# 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