From 4bf936bd6670845bcc0f6cc1f5828dbba9d31f69 Mon Sep 17 00:00:00 2001 From: Sébastien Fabbro Date: Thu, 29 Dec 2016 19:55:34 +0000 Subject: dev-python/astropy: fixed for doc generation Missed dependencies and astropy-helpers local Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=604034 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-python/astropy/astropy-1.3.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'dev-python/astropy') diff --git a/dev-python/astropy/astropy-1.3.ebuild b/dev-python/astropy/astropy-1.3.ebuild index d85184f42f3e..8a49c8cee75d 100644 --- a/dev-python/astropy/astropy-1.3.ebuild +++ b/dev-python/astropy/astropy-1.3.ebuild @@ -36,9 +36,11 @@ DEPEND="${RDEPEND} media-gfx/graphviz dev-libs/libxml2[${PYTHON_USEDEP}] dev-python/h5py[${PYTHON_USEDEP}] + dev-python/jplephem[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] dev-python/pytest[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-gallery[${PYTHON_USEDEP}] dev-python/wcsaxes[${PYTHON_USEDEP}] sci-libs/scipy[${PYTHON_USEDEP}] ) @@ -60,7 +62,7 @@ PATCHES=( python_prepare_all() { export mydistutilsargs="--offline" export ASTROPY_USE_SYSTEM_PYTEST=True - rm -r ${PN}_helpers || die + #rm -r ${PN}_helpers || die cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die rm -r cextern/{expat,erfa,cfitsio,wcslib} || die sed -i -e '/auto_use/s/True/False/' setup.cfg || die @@ -74,10 +76,13 @@ python_prepare_all() { python_compile_all() { if use doc; then + mkdir -p examples + touch examples/README.txt || die + python_setup VARTEXFONTS="${T}"/fonts \ MPLCONFIGDIR="${BUILD_DIR}" \ PYTHONPATH="${BUILD_DIR}"/lib \ - esetup.py build_sphinx + esetup.py build_docs --no-intersphinx fi } -- cgit v1.2.3-65-gdbad