diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2016-10-30 23:20:51 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-10-31 09:00:54 +0100 |
commit | f55bda7b2e9ea4b3de3cedbac71aaa2784fb09de (patch) | |
tree | b3d12aec9366da3929a5e1d0dbf891dc436d2b48 /dev-python/nbconvert | |
parent | dev-python/nbformat: Fix test call and dependencies (diff) | |
download | gentoo-f55bda7b2e9ea4b3de3cedbac71aaa2784fb09de.tar.gz gentoo-f55bda7b2e9ea4b3de3cedbac71aaa2784fb09de.tar.bz2 gentoo-f55bda7b2e9ea4b3de3cedbac71aaa2784fb09de.zip |
dev-python/nbconvert: Fix test call and dependencies
Gentoo-bug: 597902
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2700
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/nbconvert')
-rw-r--r-- | dev-python/nbconvert/nbconvert-4.2.0.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/nbconvert/nbconvert-4.2.0.ebuild b/dev-python/nbconvert/nbconvert-4.2.0.ebuild index 15080a03a90c..3f6e2a0302cc 100644 --- a/dev-python/nbconvert/nbconvert-4.2.0.ebuild +++ b/dev-python/nbconvert/nbconvert-4.2.0.ebuild @@ -35,9 +35,11 @@ DEPEND="${RDEPEND} app-text/pandoc ) test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] - dev-python/coverage[${PYTHON_USEDEP}] dev-python/ipykernel[${PYTHON_USEDEP}] + dev-python/testpath[${PYTHON_USEDEP}] ) " @@ -57,7 +59,7 @@ python_compile_all() { python_test() { distutils_install_for_testing cd "${TEST_DIR}"/lib || die - nosetests --with-coverage --cover-package=nbconvert nbconvert || die + py.test --cov nbconvert -v --pyargs nbconvert || die } python_install_all() { |