dev-python/jedi: Drop unnecessary deps
authorJustin Lecher <jlec@gentoo.org>
Mon, 2 Nov 2015 16:59:02 +0000 (17:59 +0100)
committerJustin Lecher <jlec@gentoo.org>
Tue, 3 Nov 2015 17:21:17 +0000 (18:21 +0100)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/jedi/jedi-0.8.1-r2.ebuild
dev-python/jedi/jedi-0.9.0.ebuild

index 47c34d6699e86514c072925691e41b4fe278b379..e85be829119e7f25692c21298c7b9b27aaccb93b 100644 (file)
@@ -21,23 +21,18 @@ DEPEND="
        app-arch/xz-utils
        dev-python/setuptools[${PYTHON_USEDEP}]
        doc? ( dev-python/sphinx )
-       test? (
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/tox[${PYTHON_USEDEP}]
-       )"
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
 
 python_test() {
-       PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test test || die "Tests failed under ${EPYTHON}"
+       PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v -v test \
+               || die "Tests failed under ${EPYTHON}"
 }
 
-src_compile() {
-       if use doc ; then
-               emake -C docs html
-       fi
-       distutils-r1_src_compile
+python_compile_all() {
+       use doc && emake -C docs html
 }
 
 python_install_all() {
-       use doc && dohtml -r "${S}"/docs/_build/html/*
+       use doc && HTML_DOCS=( "${S}"/docs/_build/html/. )
        distutils-r1_python_install_all
 }
index 0c0b29a0f32f593dcef6af44591712201dd9a105..4aa026ec2594ac1b9d35908d96b37994ca290aa1 100644 (file)
@@ -21,13 +21,11 @@ DEPEND="
        app-arch/xz-utils
        dev-python/setuptools[${PYTHON_USEDEP}]
        doc? ( dev-python/sphinx )
-       test? (
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/tox[${PYTHON_USEDEP}]
-       )"
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
 
 python_test() {
-       PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test test || die "Tests failed under ${EPYTHON}"
+       PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v -v test \
+               || die "Tests failed under ${EPYTHON}"
 }
 
 python_compile_all() {
@@ -35,6 +33,6 @@ python_compile_all() {
 }
 
 python_install_all() {
-       use doc && dohtml -r "${S}"/docs/_build/html/*
+       use doc && HTML_DOCS=( "${S}"/docs/_build/html/. )
        distutils-r1_python_install_all
 }