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/photutils/
Date: Tue, 27 Jun 2017 02:49:14
Message-Id: 1498531727.39755963b273b3388739f8f21f0b763fc5a77a5e.bicatali@gentoo
1 commit: 39755963b273b3388739f8f21f0b763fc5a77a5e
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 26 19:36:28 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 27 02:48:47 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39755963
7
8 dev-python/photutils: version bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/photutils/Manifest | 2 +-
13 .../{photutils-0.3.ebuild => photutils-0.3.2.ebuild} | 18 +++++++++++-------
14 2 files changed, 12 insertions(+), 8 deletions(-)
15
16 diff --git a/dev-python/photutils/Manifest b/dev-python/photutils/Manifest
17 index dd5bbb1b443..75e5cfb727f 100644
18 --- a/dev-python/photutils/Manifest
19 +++ b/dev-python/photutils/Manifest
20 @@ -1,2 +1,2 @@
21 DIST photutils-0.3.1.tar.gz 633814 SHA256 de1d102976f359079b00af62068f103d52a5d5b4931160c969a46a8eb9888209 SHA512 62f7b838e09cb76d0c3b400524340861d882455d305fc31bb062c5853018f0133a4364a5b5e5166101328ad931d474823dd59ab7e58fdcb68bd824dd2ed34959 WHIRLPOOL bcb851eca37d604ab40cbc27e434d2e6d92e6e3ffb8f941d21e270aae54644e6d1fc2d5c639d975df7e443c4a806dd69bc9a3eb5c4eff97acbdad94bf3517f4e
22 -DIST photutils-0.3.tar.gz 620001 SHA256 7a746229c1d538b671806c48f561fb7d85fabf460b23b828a8af8a66e0097872 SHA512 3b5ddbc424d28d6760751a8e7a447822200d310143d5103cbc39ea1b82f55f78cee3732efdf7a0000bd8835bf6c421072941f22f7daa1e5b6766ff7bf93ae6aa WHIRLPOOL 409ae335793dc14204650cc06ca6e1ba439ebbb84e3f8f41be21168c24928ef732981021c835754f5605521d7fb6f36ce43b5f6687f52e8c42096ef5918b89e4
23 +DIST photutils-0.3.2.tar.gz 634159 SHA256 a02a0b205c058467f10d1605acfcef8b56695a81005ee2136c64914e55c1b42d SHA512 69c845cee9e16ab9daa26e87bbd209f9159fbba4cbcbae1eea9e84bf4ab75b7723964bde30ecec4004d00a80370ed599d867d8314675700485eb6190c7aa0300 WHIRLPOOL b04611e6a887a5e9d663affc69ad9e7d1058738911b4217ec6cafc4479948d4b7f828042f209b97e1fdcb91712488df09103a18f9a261b9457fdb51f668e3765
24
25 diff --git a/dev-python/photutils/photutils-0.3.ebuild b/dev-python/photutils/photutils-0.3.2.ebuild
26 similarity index 75%
27 rename from dev-python/photutils/photutils-0.3.ebuild
28 rename to dev-python/photutils/photutils-0.3.2.ebuild
29 index 08eb4a7b99d..ddecca60449 100644
30 --- a/dev-python/photutils/photutils-0.3.ebuild
31 +++ b/dev-python/photutils/photutils-0.3.2.ebuild
32 @@ -1,9 +1,10 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 +# Copyright 1999-2017 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36
37 EAPI=6
38
39 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
40 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
41 +
42 inherit distutils-r1 virtualx
43
44 DESCRIPTION="Python package for image astronomical photometry"
45 @@ -21,15 +22,19 @@ RDEPEND="
46 dev-python/matplotlib[${PYTHON_USEDEP}]
47 dev-python/numpy[${PYTHON_USEDEP}]
48 sci-libs/scikits_image[${PYTHON_USEDEP}]
49 - sci-libs/scipy[${PYTHON_USEDEP}]"
50 + sci-libs/scipy[${PYTHON_USEDEP}]
51 +"
52 DEPEND="${RDEPEND}
53 dev-python/astropy-helpers[${PYTHON_USEDEP}]
54 dev-python/setuptools[${PYTHON_USEDEP}]
55 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
56 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
57 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
58 +"
59
60 python_prepare_all() {
61 sed -i -e '/auto_use/s/True/False/' setup.cfg || die
62 + export MPLCONFIGDIR="${T}"
63 + echo "backend: Agg" > "${MPLCONFIGDIR}"/matplotlibrc
64 distutils-r1_python_prepare_all
65 }
66
67 @@ -37,9 +42,8 @@ python_compile_all() {
68 if use doc; then
69 python_setup
70 VARTEXFONTS="${T}"/fonts \
71 - MPLCONFIGDIR="${BUILD_DIR}" \
72 - PYTHONPATH="${BUILD_DIR}"/lib \
73 - esetup.py build_sphinx
74 + PYTHONPATH="${BUILD_DIR}"/lib \
75 + esetup.py build_sphinx --no-intersphinx
76 fi
77 }