Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/numba: numba-0.19.2.ebuild ChangeLog numba-0.17.0.ebuild
Date: Sun, 28 Jun 2015 10:06:54
Message-Id: 20150628100651.85961746@oystercatcher.gentoo.org
1 idella4 15/06/28 10:06:51
2
3 Modified: ChangeLog
4 Added: numba-0.19.2.ebuild
5 Removed: numba-0.17.0.ebuild
6 Log:
7 bump; add patch to facilitate new doc build, upgrade install of docs
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
10
11 Revision Changes Path
12 1.18 dev-python/numba/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numba/ChangeLog?rev=1.18&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numba/ChangeLog?rev=1.18&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numba/ChangeLog?r1=1.17&r2=1.18
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-python/numba/ChangeLog,v
21 retrieving revision 1.17
22 retrieving revision 1.18
23 diff -u -r1.17 -r1.18
24 --- ChangeLog 7 Jun 2015 14:22:05 -0000 1.17
25 +++ ChangeLog 28 Jun 2015 10:06:51 -0000 1.18
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-python/numba
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numba/ChangeLog,v 1.17 2015/06/07 14:22:05 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/numba/ChangeLog,v 1.18 2015/06/28 10:06:51 idella4 Exp $
31 +
32 +*numba-0.19.2 (28 Jun 2015)
33 +
34 + 28 Jun 2015; Ian Delaney <idella4@g.o>
35 + +files/numba-0.19.2-docbuild.patch, +numba-0.19.2.ebuild,
36 + -numba-0.17.0.ebuild:
37 + bump; add patch to facilitate new doc build, upgrade install of docs
38
39 07 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml:
40 Add github to remote-id in metadata.xml
41
42
43
44 1.1 dev-python/numba/numba-0.19.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numba/numba-0.19.2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/numba/numba-0.19.2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: numba-0.19.2.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-python/numba/numba-0.19.2.ebuild,v 1.1 2015/06/28 10:06:51 idella4 Exp $
54
55 EAPI=5
56
57 # test phase is pointless since it errors in circa 60% of 1984 tests
58 RESTRICT="test"
59
60 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
61
62 inherit distutils-r1
63
64 DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
65 HOMEPAGE="http://numba.pydata.org/"
66 SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
67
68 LICENSE="BSD"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71
72 IUSE="doc examples test"
73
74 RDEPEND="
75 dev-python/llvmlite[${PYTHON_USEDEP}]
76 >=dev-python/numpy-1.6[${PYTHON_USEDEP}]
77 $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3})
78 $(python_gen_cond_dep 'dev-python/funcsigs[${PYTHON_USEDEP}]' python2_7)"
79 DEPEND="test? ( ${RDEPEND} )
80 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
81
82 # Delete intersphinx & entry to set sphinxjp.themecore, which is absent from portage, from conf.py
83 PATCHES=( "${FILESDIR}"/${P}-docbuild.patch )
84
85 python_prepare_all() {
86 # Re-set them of doc build to one provided by sphinx
87 if has_version ">=dev-python/sphinx-1.3.1"; then
88 sed -e 's:basicstrap:classic:' -i docs/source/conf.py || die
89 else
90 sed -e 's:basicstrap:default:' -i docs/source/conf.py || die
91 fi
92 distutils-r1_python_prepare_all
93 }
94
95 python_compile() {
96 if ! python_is_python3; then
97 local CFLAGS="${CFLAGS} -fno-strict-aliasing"
98 export CFLAGS
99 fi
100 distutils-r1_python_compile
101 }
102
103 python_compile_all() {
104 use doc && emake -C docs/ html
105 }
106
107 python_test() {
108 cd "${BUILD_DIR}"/lib* || die
109 ${PYTHON} -c "import numba; numba.test()" || die
110 }
111
112 python_install_all() {
113 # doc needs obsolete sphinxjp package
114 # use doc && dodoc docs/Numba.pdf
115 use examples && local EXAMPLES=( examples/. )
116 use doc && local HTML_DOCS=( docs/_build/html/. )
117
118 distutils-r1_python_install_all
119 }