Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astropy/
Date: Thu, 29 Dec 2016 19:56:57
Message-Id: 1483041363.4bf936bd6670845bcc0f6cc1f5828dbba9d31f69.bicatali@gentoo
1 commit: 4bf936bd6670845bcc0f6cc1f5828dbba9d31f69
2 Author: S├ębastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 29 19:55:34 2016 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 29 19:56:03 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bf936bd
7
8 dev-python/astropy: fixed for doc generation
9 Missed dependencies and astropy-helpers local
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=604034
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 dev-python/astropy/astropy-1.3.ebuild | 11 ++++++++---
15 1 file changed, 8 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-python/astropy/astropy-1.3.ebuild b/dev-python/astropy/astropy-1.3.ebuild
18 index d85184f..8a49c8c 100644
19 --- a/dev-python/astropy/astropy-1.3.ebuild
20 +++ b/dev-python/astropy/astropy-1.3.ebuild
21 @@ -36,9 +36,11 @@ DEPEND="${RDEPEND}
22 media-gfx/graphviz
23 dev-libs/libxml2[${PYTHON_USEDEP}]
24 dev-python/h5py[${PYTHON_USEDEP}]
25 + dev-python/jplephem[${PYTHON_USEDEP}]
26 dev-python/matplotlib[${PYTHON_USEDEP}]
27 + dev-python/pillow[${PYTHON_USEDEP}]
28 dev-python/pytest[${PYTHON_USEDEP}]
29 - dev-python/sphinx[${PYTHON_USEDEP}]
30 + dev-python/sphinx-gallery[${PYTHON_USEDEP}]
31 dev-python/wcsaxes[${PYTHON_USEDEP}]
32 sci-libs/scipy[${PYTHON_USEDEP}]
33 )
34 @@ -60,7 +62,7 @@ PATCHES=(
35 python_prepare_all() {
36 export mydistutilsargs="--offline"
37 export ASTROPY_USE_SYSTEM_PYTEST=True
38 - rm -r ${PN}_helpers || die
39 + #rm -r ${PN}_helpers || die
40 cp "${FILESDIR}"/astropy-ply.py astropy/extern/ply.py || die
41 rm -r cextern/{expat,erfa,cfitsio,wcslib} || die
42 sed -i -e '/auto_use/s/True/False/' setup.cfg || die
43 @@ -74,10 +76,13 @@ python_prepare_all() {
44
45 python_compile_all() {
46 if use doc; then
47 + mkdir -p examples
48 + touch examples/README.txt || die
49 + python_setup
50 VARTEXFONTS="${T}"/fonts \
51 MPLCONFIGDIR="${BUILD_DIR}" \
52 PYTHONPATH="${BUILD_DIR}"/lib \
53 - esetup.py build_sphinx
54 + esetup.py build_docs --no-intersphinx
55 fi
56 }