Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jedi/
Date: Tue, 03 Nov 2015 17:21:31
Message-Id: 1446571277.de03760169f26ea0892b975837ceeb8e833bc7ef.jlec@gentoo
1 commit: de03760169f26ea0892b975837ceeb8e833bc7ef
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 2 16:59:02 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 3 17:21:17 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de037601
7
8 dev-python/jedi: Drop unnecessary deps
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/jedi/jedi-0.8.1-r2.ebuild | 17 ++++++-----------
14 dev-python/jedi/jedi-0.9.0.ebuild | 10 ++++------
15 2 files changed, 10 insertions(+), 17 deletions(-)
16
17 diff --git a/dev-python/jedi/jedi-0.8.1-r2.ebuild b/dev-python/jedi/jedi-0.8.1-r2.ebuild
18 index 47c34d6..e85be82 100644
19 --- a/dev-python/jedi/jedi-0.8.1-r2.ebuild
20 +++ b/dev-python/jedi/jedi-0.8.1-r2.ebuild
21 @@ -21,23 +21,18 @@ DEPEND="
22 app-arch/xz-utils
23 dev-python/setuptools[${PYTHON_USEDEP}]
24 doc? ( dev-python/sphinx )
25 - test? (
26 - dev-python/pytest[${PYTHON_USEDEP}]
27 - dev-python/tox[${PYTHON_USEDEP}]
28 - )"
29 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
30
31 python_test() {
32 - PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test test || die "Tests failed under ${EPYTHON}"
33 + PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v -v test \
34 + || die "Tests failed under ${EPYTHON}"
35 }
36
37 -src_compile() {
38 - if use doc ; then
39 - emake -C docs html
40 - fi
41 - distutils-r1_src_compile
42 +python_compile_all() {
43 + use doc && emake -C docs html
44 }
45
46 python_install_all() {
47 - use doc && dohtml -r "${S}"/docs/_build/html/*
48 + use doc && HTML_DOCS=( "${S}"/docs/_build/html/. )
49 distutils-r1_python_install_all
50 }
51
52 diff --git a/dev-python/jedi/jedi-0.9.0.ebuild b/dev-python/jedi/jedi-0.9.0.ebuild
53 index 0c0b29a..4aa026e 100644
54 --- a/dev-python/jedi/jedi-0.9.0.ebuild
55 +++ b/dev-python/jedi/jedi-0.9.0.ebuild
56 @@ -21,13 +21,11 @@ DEPEND="
57 app-arch/xz-utils
58 dev-python/setuptools[${PYTHON_USEDEP}]
59 doc? ( dev-python/sphinx )
60 - test? (
61 - dev-python/pytest[${PYTHON_USEDEP}]
62 - dev-python/tox[${PYTHON_USEDEP}]
63 - )"
64 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
65
66 python_test() {
67 - PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test test || die "Tests failed under ${EPYTHON}"
68 + PYTHONPATH="${PYTHONPATH%:}${PYTHONPATH+:}${S}/test" py.test -v -v test \
69 + || die "Tests failed under ${EPYTHON}"
70 }
71
72 python_compile_all() {
73 @@ -35,6 +33,6 @@ python_compile_all() {
74 }
75
76 python_install_all() {
77 - use doc && dohtml -r "${S}"/docs/_build/html/*
78 + use doc && HTML_DOCS=( "${S}"/docs/_build/html/. )
79 distutils-r1_python_install_all
80 }