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/numba/
Date: Fri, 21 Jul 2017 00:23:04
Message-Id: 1500596549.19975f88124c85d8a28e5b8a4f734edb93ea9f15.bicatali@gentoo
1 commit: 19975f88124c85d8a28e5b8a4f734edb93ea9f15
2 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 19 18:27:14 2017 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 21 00:22:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19975f88
7
8 dev-python/numba: version bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-python/numba/numba-0.34.0.ebuild | 18 ++++++++++++------
13 1 file changed, 12 insertions(+), 6 deletions(-)
14
15 diff --git a/dev-python/numba/numba-0.34.0.ebuild b/dev-python/numba/numba-0.34.0.ebuild
16 index 7435caa4386..40122f0ca61 100644
17 --- a/dev-python/numba/numba-0.34.0.ebuild
18 +++ b/dev-python/numba/numba-0.34.0.ebuild
19 @@ -14,17 +14,19 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
20 LICENSE="BSD"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
23 -IUSE="doc examples test"
24 +IUSE="examples test"
25
26 RDEPEND="
27 >=dev-python/llvmlite-0.19[${PYTHON_USEDEP}]
28 - >=dev-python/numpy-1.7[${PYTHON_USEDEP}]
29 + dev-python/numpy[${PYTHON_USEDEP}]
30 virtual/python-enum34[${PYTHON_USEDEP}]
31 - virtual/python-funcsigs[${PYTHON_USEDEP}]"
32 + virtual/python-funcsigs[${PYTHON_USEDEP}]
33 + virtual/python-singledispatch[${PYTHON_USEDEP}]
34 +"
35 DEPEND="${RDEPEND}
36 - test? ( virtual/python-singledispatch[${PYTHON_USEDEP}] )
37 + dev-python/setuptools[${PYTHON_USEDEP}]
38 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
39 "
40 -# doc building highly broken
41
42 python_test() {
43 cd "${BUILD_DIR}"/lib* || die
44 @@ -32,6 +34,10 @@ python_test() {
45 }
46
47 python_install_all() {
48 - use examples && local EXAMPLES=( examples/. )
49 distutils-r1_python_install_all
50 + if use examples; then
51 + insinto /usr/share/doc/${PF}
52 + doins -r examples
53 + docompress -x /usr/share/doc/${PF}/examples
54 + fi
55 }