summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2016-10-30 23:30:50 +0100
committerDavid Seifert <soap@gentoo.org>2016-10-31 09:00:25 +0100
commit88c6f29ef99834dd37b783072344b6f8d1c032cd (patch)
tree41a7425c5e0dac696ea16c8ca02426194efb7c5b /dev-python/nbformat
parentnet-misc/openvpn: Old. (diff)
downloadgentoo-88c6f29ef99834dd37b783072344b6f8d1c032cd.tar.gz
gentoo-88c6f29ef99834dd37b783072344b6f8d1c032cd.tar.bz2
gentoo-88c6f29ef99834dd37b783072344b6f8d1c032cd.zip
dev-python/nbformat: Fix test call and dependencies
Gentoo-bug: 597730 Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2701 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/nbformat')
-rw-r--r--dev-python/nbformat/nbformat-4.1.0.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/dev-python/nbformat/nbformat-4.1.0.ebuild b/dev-python/nbformat/nbformat-4.1.0.ebuild
index 6014a328f20f..4771a068c024 100644
--- a/dev-python/nbformat/nbformat-4.1.0.ebuild
+++ b/dev-python/nbformat/nbformat-4.1.0.ebuild
@@ -21,7 +21,7 @@ IUSE="doc test"
RDEPEND="
>=dev-python/jsonschema-2.4.0[${PYTHON_USEDEP}]
dev-python/ipython_genutils[${PYTHON_USEDEP}]
- dev-python/traitlets[${PYTHON_USEDEP}]
+ >=dev-python/traitlets-4.1[${PYTHON_USEDEP}]
dev-python/jupyter_core[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
@@ -30,8 +30,9 @@ DEPEND="${RDEPEND}
dev-python/numpydoc[${PYTHON_USEDEP}]
)
test? (
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/testpath[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
)
"
@@ -51,7 +52,7 @@ python_compile_all() {
python_test() {
distutils_install_for_testing
cd "${TEST_DIR}"/lib || die
- nosetests --with-coverage --cover-package=nbformat nbformat || die
+ py.test -v --cov nbformat nbformat || die
}
python_install_all() {