diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-11-26 11:05:44 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-11-26 11:26:01 +0100 |
commit | 81028e7bec0d02e1a25c566f74d78376d2441f2d (patch) | |
tree | f525717f9a2d9a043723f778c9978ef532bc7523 /dev-python/pandas | |
parent | app-office/texmaker: Drop old (diff) | |
download | gentoo-81028e7bec0d02e1a25c566f74d78376d2441f2d.tar.gz gentoo-81028e7bec0d02e1a25c566f74d78376d2441f2d.tar.bz2 gentoo-81028e7bec0d02e1a25c566f74d78376d2441f2d.zip |
dev-python/pandas: Use virtualx during doc building
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566756
Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/pandas')
-rw-r--r-- | dev-python/pandas/pandas-0.17.1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-python/pandas/pandas-0.17.1.ebuild b/dev-python/pandas/pandas-0.17.1.ebuild index 27eb12994652..8fd49dd1a785 100644 --- a/dev-python/pandas/pandas-0.17.1.ebuild +++ b/dev-python/pandas/pandas-0.17.1.ebuild @@ -7,6 +7,8 @@ EAPI=5 PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) PYTHON_REQ_USE="threads(+)" +VIRTUALX_REQUIRED="manual" + inherit distutils-r1 eutils flag-o-matic virtualx DESCRIPTION="Powerful data structures for data analysis and statistics" @@ -63,6 +65,7 @@ DEPEND="${MINIMAL_DEPEND} dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] doc? ( + ${VIRTUALX_DEPEND} dev-python/beautifulsoup:4[${PYTHON_USEDEP}] dev-python/html5lib[${PYTHON_USEDEP}] dev-python/ipython[${PYTHON_USEDEP}] @@ -79,6 +82,7 @@ DEPEND="${MINIMAL_DEPEND} x11-misc/xclip ) test? ( + ${VIRTUALX_DEPEND} ${RECOMMENDED_DEPEND} ${OPTIONAL_DEPEND} dev-python/beautifulsoup:4[${PYTHON_USEDEP}] @@ -115,9 +119,10 @@ python_compile_all() { # To build docs the need be located in $BUILD_DIR, # else PYTHONPATH points to unusable modules. if use doc; then + VIRTUALX_COMMAND="${EPYTHON}" cd "${BUILD_DIR}"/lib || die cp -ar "${S}"/doc . && cd doc || die - LANG=C PYTHONPATH=. "${EPYTHON}" make.py html || die + LANG=C PYTHONPATH=. virtualmake make.py html || die fi } |