public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pandas/
@ 2015-11-26 10:26 99% Justin Lecher
  0 siblings, 0 replies; 1+ results
From: Justin Lecher @ 2015-11-26 10:26 UTC (permalink / raw
  To: gentoo-commits

commit:     81028e7bec0d02e1a25c566f74d78376d2441f2d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 26 10:05:44 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Nov 26 10:26:01 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81028e7b

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 <AT> gentoo.org>

 dev-python/pandas/pandas-0.17.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/pandas/pandas-0.17.1.ebuild b/dev-python/pandas/pandas-0.17.1.ebuild
index 27eb129..8fd49dd 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
 }
 


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-26 10:26 99% [gentoo-commits] repo/gentoo:master commit in: dev-python/pandas/ Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox