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/pandas/
Date: Thu, 26 Nov 2015 10:26:11
Message-Id: 1448533561.81028e7bec0d02e1a25c566f74d78376d2441f2d.jlec@gentoo
1 commit: 81028e7bec0d02e1a25c566f74d78376d2441f2d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 26 10:05:44 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 26 10:26:01 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81028e7b
7
8 dev-python/pandas: Use virtualx during doc building
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566756
11
12 Package-Manager: portage-2.2.25
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 dev-python/pandas/pandas-0.17.1.ebuild | 7 ++++++-
16 1 file changed, 6 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-python/pandas/pandas-0.17.1.ebuild b/dev-python/pandas/pandas-0.17.1.ebuild
19 index 27eb129..8fd49dd 100644
20 --- a/dev-python/pandas/pandas-0.17.1.ebuild
21 +++ b/dev-python/pandas/pandas-0.17.1.ebuild
22 @@ -7,6 +7,8 @@ EAPI=5
23 PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
24 PYTHON_REQ_USE="threads(+)"
25
26 +VIRTUALX_REQUIRED="manual"
27 +
28 inherit distutils-r1 eutils flag-o-matic virtualx
29
30 DESCRIPTION="Powerful data structures for data analysis and statistics"
31 @@ -63,6 +65,7 @@ DEPEND="${MINIMAL_DEPEND}
32 dev-python/setuptools[${PYTHON_USEDEP}]
33 >=dev-python/cython-0.19.1[${PYTHON_USEDEP}]
34 doc? (
35 + ${VIRTUALX_DEPEND}
36 dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
37 dev-python/html5lib[${PYTHON_USEDEP}]
38 dev-python/ipython[${PYTHON_USEDEP}]
39 @@ -79,6 +82,7 @@ DEPEND="${MINIMAL_DEPEND}
40 x11-misc/xclip
41 )
42 test? (
43 + ${VIRTUALX_DEPEND}
44 ${RECOMMENDED_DEPEND}
45 ${OPTIONAL_DEPEND}
46 dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
47 @@ -115,9 +119,10 @@ python_compile_all() {
48 # To build docs the need be located in $BUILD_DIR,
49 # else PYTHONPATH points to unusable modules.
50 if use doc; then
51 + VIRTUALX_COMMAND="${EPYTHON}"
52 cd "${BUILD_DIR}"/lib || die
53 cp -ar "${S}"/doc . && cd doc || die
54 - LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die
55 + LANG=C PYTHONPATH=. virtualmake make.py html || die
56 fi
57 }