Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH updated 3/3] Example benefit of those changes.
Date: Mon, 03 Dec 2012 11:00:27
Message-Id: 1354532406-5591-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] [PATCH updated 1/3] Set env for best Python impl in *_all() phases. by "Michał Górny"
1 ---
2 gx86/dev-python/pytest/pytest-2.3.3-r1.ebuild | 9 +--------
3 1 file changed, 1 insertion(+), 8 deletions(-)
4
5 diff --git a/gx86/dev-python/pytest/pytest-2.3.3-r1.ebuild b/gx86/dev-python/pytest/pytest-2.3.3-r1.ebuild
6 index decab54..2c4d7f2 100644
7 --- a/gx86/dev-python/pytest/pytest-2.3.3-r1.ebuild
8 +++ b/gx86/dev-python/pytest/pytest-2.3.3-r1.ebuild
9 @@ -37,14 +37,7 @@ python_prepare_all() {
10 }
11
12 python_compile_all() {
13 - if use doc; then
14 - python_export_best EPYTHON
15 -
16 - local PYTHONPATH=${S}/doc:${S}-${EPYTHON}/lib
17 - export PYTHONPATH
18 -
19 - emake -C doc/en html
20 - fi
21 + use doc && emake -C doc/en html
22 }
23
24 python_test() {
25 --
26 1.8.0