dev-python/bokeh: Move to pytest
authorJustin Lecher <jlec@gentoo.org>
Thu, 7 Jan 2016 16:47:17 +0000 (17:47 +0100)
committerJustin Lecher <jlec@gentoo.org>
Thu, 7 Jan 2016 19:08:55 +0000 (20:08 +0100)
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/bokeh/bokeh-0.11.0.ebuild

index bb275620812bde2665cbe240d29fa748f844215d..f64ab76ccaada56b1fe715db13e6a59b26731026 100644 (file)
@@ -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() {