summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-02 17:59:02 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-03 18:21:17 +0100
commitde03760169f26ea0892b975837ceeb8e833bc7ef (patch)
tree24ad3f4ba26d5ad1a4331c6c162202271ae5e925 /dev-python/jedi
parentnet-misc/openssh: x86 stable wrt bug #555518 (diff)
downloadgentoo-de03760169f26ea0892b975837ceeb8e833bc7ef.tar.gz
gentoo-de03760169f26ea0892b975837ceeb8e833bc7ef.tar.bz2
gentoo-de03760169f26ea0892b975837ceeb8e833bc7ef.zip
dev-python/jedi: Drop unnecessary deps
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/jedi')
-rw-r--r--dev-python/jedi/jedi-0.8.1-r2.ebuild17
-rw-r--r--dev-python/jedi/jedi-0.9.0.ebuild10
2 files changed, 10 insertions, 17 deletions
diff --git a/dev-python/jedi/jedi-0.8.1-r2.ebuild b/dev-python/jedi/jedi-0.8.1-r2.ebuild
index 47c34d6699e8..e85be829119e 100644
--- a/dev-python/jedi/jedi-0.8.1-r2.ebuild
+++ b/dev-python/jedi/jedi-0.8.1-r2.ebuild
@@ -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
}
diff --git a/dev-python/jedi/jedi-0.9.0.ebuild b/dev-python/jedi/jedi-0.9.0.ebuild
index 0c0b29a0f32f..4aa026ec2594 100644
--- a/dev-python/jedi/jedi-0.9.0.ebuild
+++ b/dev-python/jedi/jedi-0.9.0.ebuild
@@ -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
}