commit:     ce3cfba17ac637ed4f52a3553ff1630647ce7885
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  7 16:47:17 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 19:08:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3cfba1

dev-python/bokeh: Move to pytest

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/bokeh/bokeh-0.11.0.ebuild | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/dev-python/bokeh/bokeh-0.11.0.ebuild 
b/dev-python/bokeh/bokeh-0.11.0.ebuild
index bb27562..f64ab76 100644
--- a/dev-python/bokeh/bokeh-0.11.0.ebuild
+++ b/dev-python/bokeh/bokeh-0.11.0.ebuild
@@ -42,17 +42,14 @@ RDEPEND="
 DEPEND="${REDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
-               dev-python/nose[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7)
-       )
-       "
+               dev-python/pytest[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep 
'>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' 'python2*')
+               $(python_gen_cond_dep 'dev-python/flexx[${PYTHON_USEDEP}]' 
'python3*')
+       )"
+
 python_test() {
        cd "${BUILD_DIR}"/lib || die
-       # exclude server tests for now
-       nosetests -v \
-               -e multiuser_auth_test \
-               -e usermodel_test \
-               || die
+       py.test -m 'not (js or examples or integration)' -vv || die
 }
 
 python_install_all() {

Reply via email to