1 |
commit: f55bda7b2e9ea4b3de3cedbac71aaa2784fb09de |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Sun Oct 30 22:20:51 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 08:00:54 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55bda7b |
7 |
|
8 |
dev-python/nbconvert: Fix test call and dependencies |
9 |
|
10 |
Gentoo-bug: 597902 |
11 |
|
12 |
Package-Manager: portage-2.3.0 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/2700 |
14 |
|
15 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
16 |
|
17 |
dev-python/nbconvert/nbconvert-4.2.0.ebuild | 6 ++++-- |
18 |
1 file changed, 4 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-python/nbconvert/nbconvert-4.2.0.ebuild b/dev-python/nbconvert/nbconvert-4.2.0.ebuild |
21 |
index 15080a0..3f6e2a0 100644 |
22 |
--- a/dev-python/nbconvert/nbconvert-4.2.0.ebuild |
23 |
+++ b/dev-python/nbconvert/nbconvert-4.2.0.ebuild |
24 |
@@ -35,9 +35,11 @@ DEPEND="${RDEPEND} |
25 |
app-text/pandoc |
26 |
) |
27 |
test? ( |
28 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
29 |
+ dev-python/pytest-cov[${PYTHON_USEDEP}] |
30 |
dev-python/nose[${PYTHON_USEDEP}] |
31 |
- dev-python/coverage[${PYTHON_USEDEP}] |
32 |
dev-python/ipykernel[${PYTHON_USEDEP}] |
33 |
+ dev-python/testpath[${PYTHON_USEDEP}] |
34 |
) |
35 |
" |
36 |
|
37 |
@@ -57,7 +59,7 @@ python_compile_all() { |
38 |
python_test() { |
39 |
distutils_install_for_testing |
40 |
cd "${TEST_DIR}"/lib || die |
41 |
- nosetests --with-coverage --cover-package=nbconvert nbconvert || die |
42 |
+ py.test --cov nbconvert -v --pyargs nbconvert || die |
43 |
} |
44 |
|
45 |
python_install_all() { |