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/bokeh: metadata.xml bokeh-0.5.0.ebuild ChangeLog
Date: Wed, 29 Oct 2014 06:40:38
Message-Id: 20141029064034.5F4508FBE@oystercatcher.gentoo.org
1 idella4 14/10/29 06:40:34
2
3 Modified: metadata.xml ChangeLog
4 Added: bokeh-0.5.0.ebuild
5 Log:
6 bump; update deps, update test phase and fix broken install in setup.py,
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.3 dev-python/bokeh/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/bokeh/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 7 Jul 2014 06:52:43 -0000 1.2
24 +++ metadata.xml 29 Oct 2014 06:40:34 -0000 1.3
25 @@ -2,6 +2,7 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <herd>sci</herd>
29 + <herd>python</herd>
30 <longdescription lang="en">
31 Bokeh is a Python interactive visualization library for large
32 datasets that natively uses the latest web technologies. Its goal is
33
34
35
36 1.8 dev-python/bokeh/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/ChangeLog?rev=1.8&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/ChangeLog?rev=1.8&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/ChangeLog?r1=1.7&r2=1.8
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/dev-python/bokeh/ChangeLog,v
45 retrieving revision 1.7
46 retrieving revision 1.8
47 diff -u -r1.7 -r1.8
48 --- ChangeLog 7 Jul 2014 09:22:32 -0000 1.7
49 +++ ChangeLog 29 Oct 2014 06:40:34 -0000 1.8
50 @@ -1,6 +1,12 @@
51 # ChangeLog for dev-python/bokeh
52 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/ChangeLog,v 1.7 2014/07/07 09:22:32 jlec Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/ChangeLog,v 1.8 2014/10/29 06:40:34 idella4 Exp $
55 +
56 +*bokeh-0.5.0 (29 Oct 2014)
57 +
58 + 29 Oct 2014; Ian Delaney <idella4@g.o> +bokeh-0.5.0.ebuild,
59 + metadata.xml:
60 + bump; update deps, update test phase and fix broken install in setup.py,
61
62 07 Jul 2014; Justin Lecher <jlec@g.o> bokeh-0.4.4.ebuild:
63 Fix parallel installation issues, #516052
64
65
66
67 1.1 dev-python/bokeh/bokeh-0.5.0.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/bokeh-0.5.0.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/bokeh-0.5.0.ebuild?rev=1.1&content-type=text/plain
71
72 Index: bokeh-0.5.0.ebuild
73 ===================================================================
74 # Copyright 1999-2014 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/bokeh-0.5.0.ebuild,v 1.1 2014/10/29 06:40:34 idella4 Exp $
77
78 EAPI=5
79
80 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
81
82 inherit distutils-r1
83
84 DESCRIPTION="Statistical and interactive HTML plots for Python"
85 HOMEPAGE="http://bokeh.pydata.org/"
86 SRC_URI="https://github.com/ContinuumIO/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
87
88 SLOT="0"
89 LICENSE="BSD"
90 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
91 IUSE="examples test chaco"
92
93 # A doc build requires napoleon sphinx extension which will be included in sphinx release 1.3
94 # Therefore refraining from adding the doc build for now
95 RDEPEND="
96 >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
97 >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
98 >=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
99 >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
100 >=dev-python/markdown-2.3.1[${PYTHON_USEDEP}]
101 >=dev-python/markupsafe-0.18[${PYTHON_USEDEP}]
102 >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
103 >=dev-python/pandas-0.11[${PYTHON_USEDEP}]
104 >=dev-python/pygments-1.6[${PYTHON_USEDEP}]
105 >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
106 >=dev-python/pystache-0.5.3[${PYTHON_USEDEP}]
107 >=dev-python/pytz-2013b[${PYTHON_USEDEP}]
108 >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
109 >=dev-python/redis-py-2.7.6[${PYTHON_USEDEP}]
110 >=dev-python/requests-1.2.3[${PYTHON_USEDEP}]
111 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
112 >=dev-python/werkzeug-0.9.1[${PYTHON_USEDEP}]
113 $(python_gen_cond_dep '>=dev-python/gevent-1.0[${PYTHON_USEDEP}]' python2_7)
114 $(python_gen_cond_dep '>=dev-python/gevent-websocket-0.9.2[${PYTHON_USEDEP}]' python2_7)
115 chaco? (
116 $(python_gen_cond_dep '>=dev-python/traits-4.4[${PYTHON_USEDEP}]' python2_7)
117 $(python_gen_cond_dep '>=dev-python/chaco-4.4[${PYTHON_USEDEP}]' python2_7) )
118 "
119 # testing server: needs websocket not in portage yet
120 # websocket is in pypi for the adding
121 # hdf5 backend: needs array management not in portage yet
122 DEPEND="
123 test? (
124 ${RDEPEND}
125 >=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
126 $(python_gen_cond_dep '>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]' python2_7)
127 >=dev-python/colorama-0.2.7[${PYTHON_USEDEP}] )
128 "
129 DOCS=( CHANGELOG QUICKSTART.md README.md )
130
131 DISTUTILS_NO_PARALLEL_BUILD=1
132
133 python_prepare_all() {
134 # https://github.com/bokeh/bokeh/issues/1352
135 sed -e "s: 'bokeh.mplexporter',:&\n 'bokeh.mplexporter.renderers',:" \
136 -i setup.py || die
137
138 if ! use chaco; then
139 sed -i -e "/'bokeh.chaco_gg'/d" setup.py || die
140 fi
141
142 distutils-r1_python_prepare_all
143 }
144
145 python_install_all() {
146 use examples && local EXAMPLES=( examples/. )
147
148 distutils-r1_python_install_all
149 }
150
151 python_test() {
152 cd "${BUILD_DIR}"/lib || die
153 # exclude server tests for now
154 nosetests -v \
155 -e multiuser_auth_test \
156 -e usermodel_test \
157 || die
158 }
159
160 pkg_postinst() {
161 elog "websockets work only with python2_7"
162 local chaco_msg="chaco useflag doesn't affect python targets other than python2_7"
163 if use chaco; then
164 if use python_targets_python2_7; then
165 elog "${chaco_msg}"
166 else
167 ewarn "${chaco_msg}"
168 fi
169 fi
170 }