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/naima/
Date: Thu, 29 Dec 2016 19:56:45
Message-Id: 1483041361.1716512bc179c748c3bbc75b9fec4e1aceee2f6c.bicatali@gentoo
1 commit: 1716512bc179c748c3bbc75b9fec4e1aceee2f6c
2 Author: S├ębastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 29 18:05:40 2016 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 29 19:56:01 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1716512b
7
8 dev-python/naima: add addpredict workaround during install
9 Bug hard to reproduce.
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=604012
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 dev-python/naima/metadata.xml | 1 +
15 dev-python/naima/{naima-0.8.ebuild => naima-0.8-r1.ebuild} | 12 ++++++++----
16 2 files changed, 9 insertions(+), 4 deletions(-)
17
18 diff --git a/dev-python/naima/metadata.xml b/dev-python/naima/metadata.xml
19 index 4744569..a8f7917 100644
20 --- a/dev-python/naima/metadata.xml
21 +++ b/dev-python/naima/metadata.xml
22 @@ -13,6 +13,7 @@
23 Markov Chain Monte Carlo.
24 </longdescription>
25 <upstream>
26 + <remote-id type="github">zblz/naima</remote-id>
27 <remote-id type="pypi">naima</remote-id>
28 </upstream>
29 </pkgmetadata>
30
31 diff --git a/dev-python/naima/naima-0.8.ebuild b/dev-python/naima/naima-0.8-r1.ebuild
32 similarity index 80%
33 rename from dev-python/naima/naima-0.8.ebuild
34 rename to dev-python/naima/naima-0.8-r1.ebuild
35 index 6052c8e..749dafc 100644
36 --- a/dev-python/naima/naima-0.8.ebuild
37 +++ b/dev-python/naima/naima-0.8-r1.ebuild
38 @@ -20,22 +20,26 @@ DOCS=( README.rst )
39
40 RDEPEND="
41 dev-python/astropy[${PYTHON_USEDEP}]
42 + dev-python/corner[${PYTHON_USEDEP}]
43 dev-python/emcee[${PYTHON_USEDEP}]
44 - >=dev-python/numpy-1.10[${PYTHON_USEDEP}]"
45 + dev-python/h5py[${PYTHON_USEDEP}]
46 + dev-python/numpy[${PYTHON_USEDEP}]
47 + sci-libs/scipy[${PYTHON_USEDEP}]"
48
49 DEPEND="${RDEPEND}
50 dev-python/astropy-helpers[${PYTHON_USEDEP}]
51 dev-python/setuptools[${PYTHON_USEDEP}]
52 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
53 - test? (
54 - dev-python/h5py[${PYTHON_USEDEP}]
55 - dev-python/pytest[${PYTHON_USEDEP}] )"
56 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
57
58 DOCS=( README.rst CHANGES.rst )
59
60 python_prepare_all() {
61 sed -e '/auto_use/s/True/False/' -i setup.cfg || die
62 xdg_environment_reset
63 + # issues during install time (bug #604012)
64 + addpredict /proc/mtrr
65 + addpredict /sys/devices/system/cpu/
66 distutils-r1_python_prepare_all
67 }