Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/bokeh: metadata.xml ChangeLog bokeh-0.4.4.ebuild
Date: Mon, 07 Jul 2014 06:52:48
Message-Id: 20140707065243.DEC3F2004E@flycatcher.gentoo.org
1 jlec 14/07/07 06:52:43
2
3 Modified: metadata.xml ChangeLog
4 Added: bokeh-0.4.4.ebuild
5 Log:
6 dev-python/bokeh: Importing Version BUmp from sci overlay, thanks olifre; #516052
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.2 dev-python/bokeh/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/bokeh/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 6 Feb 2014 20:02:28 -0000 1.1
24 +++ metadata.xml 7 Jul 2014 06:52:43 -0000 1.2
25 @@ -1,12 +1,15 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>sci</herd>
30 -<longdescription lang="en">
31 + <herd>sci</herd>
32 + <longdescription lang="en">
33 Bokeh is a Python interactive visualization library for large
34 datasets that natively uses the latest web technologies. Its goal is
35 to provide elegant, concise construction of novel graphics in the
36 style of Protovis/D3, while delivering high-performance
37 interactivity over large data to thin clients.
38 </longdescription>
39 + <use>
40 + <flag name="chaco">Enable interface for implementing qplot and ggplot like functionality using chaco</flag>
41 + </use>
42 </pkgmetadata>
43
44
45
46 1.5 dev-python/bokeh/ChangeLog
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/ChangeLog?rev=1.5&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/ChangeLog?rev=1.5&content-type=text/plain
50 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/ChangeLog?r1=1.4&r2=1.5
51
52 Index: ChangeLog
53 ===================================================================
54 RCS file: /var/cvsroot/gentoo-x86/dev-python/bokeh/ChangeLog,v
55 retrieving revision 1.4
56 retrieving revision 1.5
57 diff -u -r1.4 -r1.5
58 --- ChangeLog 6 Jul 2014 12:40:22 -0000 1.4
59 +++ ChangeLog 7 Jul 2014 06:52:43 -0000 1.5
60 @@ -1,6 +1,12 @@
61 # ChangeLog for dev-python/bokeh
62 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
63 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/ChangeLog,v 1.4 2014/07/06 12:40:22 mgorny Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/ChangeLog,v 1.5 2014/07/07 06:52:43 jlec Exp $
65 +
66 +*bokeh-0.4.4 (07 Jul 2014)
67 +
68 + 07 Jul 2014; Justin Lecher <jlec@g.o> +bokeh-0.4.4.ebuild,
69 + +files/bokeh-0.4.4-fix_test_object.patch, metadata.xml:
70 + Importing Version BUmp from sci overlay, thanks olifre; #516052
71
72 06 Jul 2014; Michał Górny <mgorny@g.o> bokeh-0.4.1.ebuild,
73 bokeh-0.4.2.ebuild, bokeh-0.4.ebuild:
74
75
76
77 1.1 dev-python/bokeh/bokeh-0.4.4.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/bokeh-0.4.4.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/bokeh-0.4.4.ebuild?rev=1.1&content-type=text/plain
81
82 Index: bokeh-0.4.4.ebuild
83 ===================================================================
84 # Copyright 1999-2014 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/dev-python/bokeh/bokeh-0.4.4.ebuild,v 1.1 2014/07/07 06:52:43 jlec Exp $
87
88 EAPI=5
89
90 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
91
92 inherit distutils-r1
93
94 DESCRIPTION="Statistical and interactive HTML plots for Python"
95 HOMEPAGE="http://bokeh.pydata.org/"
96 SRC_URI="https://github.com/ContinuumIO/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
97
98 SLOT="0"
99 LICENSE="BSD"
100 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
101 IUSE="examples test chaco"
102 # docs require napoleon sphinx extension which will be included in next sphinx release
103
104 RDEPEND="
105 >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
106 >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
107 >=dev-python/itsdangerous-0.23[${PYTHON_USEDEP}]
108 >=dev-python/jinja-2.7[${PYTHON_USEDEP}]
109 >=dev-python/markdown-2.3.1[${PYTHON_USEDEP}]
110 >=dev-python/markupsafe-0.18[${PYTHON_USEDEP}]
111 >=dev-python/numpy-1.7.1[${PYTHON_USEDEP}]
112 >=dev-python/pandas-0.11[${PYTHON_USEDEP}]
113 >=dev-python/pygments-1.6[${PYTHON_USEDEP}]
114 >=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
115 >=dev-python/pystache-0.5.3[${PYTHON_USEDEP}]
116 >=dev-python/pytz-2013b[${PYTHON_USEDEP}]
117 >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
118 >=dev-python/redis-py-2.7.6[${PYTHON_USEDEP}]
119 >=dev-python/requests-1.2.3[${PYTHON_USEDEP}]
120 >=dev-python/six-1.5.2[${PYTHON_USEDEP}]
121 >=dev-python/werkzeug-0.9.1[${PYTHON_USEDEP}]
122 $(python_gen_cond_dep '>=dev-python/gevent-1.0[${PYTHON_USEDEP}]' python2_7)
123 $(python_gen_cond_dep '>=dev-python/gevent-websocket-0.9.2[${PYTHON_USEDEP}]' python2_7)
124 chaco? (
125 $(python_gen_cond_dep '>=dev-python/traits-4.4[${PYTHON_USEDEP}]' python2_7)
126 $(python_gen_cond_dep '>=dev-python/chaco-4.4[${PYTHON_USEDEP}]' python2_7)
127 )
128
129 "
130 # testing server: needs websocket not in portage yet
131 # >=dev-python/websocket[${PYTHON_USEDEP}]
132 # hdf5 backend: needs array management not in portage yet
133 DEPEND="
134 test? (
135 ${RDEPEND}
136 >=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
137 >=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
138 >=dev-python/colorama-0.2.7[${PYTHON_USEDEP}]
139 )
140 "
141 DOCS=( CHANGELOG QUICKSTART.md README.md )
142
143 python_prepare_all() {
144 # Fix test_references_by_ref_by_value from test_object.py
145 local PATCHES=( "${FILESDIR}"/${P}-fix_test_object.patch )
146 # Remove broken test case
147 sed -i -e "s:MetaTest:_&:" bokeh/tests/test_bokeh_init.py || die
148
149 if ! use chaco; then
150 sed -i -e "/'bokeh.chaco_gg'/d" setup.py || die
151 fi
152
153 distutils-r1_python_prepare_all
154 }
155
156 python_install_all() {
157 use examples && local EXAMPLES=( examples/. )
158
159 distutils-r1_python_install_all
160 }
161
162 python_test() {
163 cd "${BUILD_DIR}"/lib || die
164 # exclude server tests for now
165 nosetests -v \
166 -e multiuser_auth_test \
167 -e usermodel_test \
168 || die
169 }
170
171 pkg_postinst() {
172 elog "websockets work only with python2_7"
173 local chaco_msg="chaco useflag doesn't affect python targets other than python2_7"
174 if use chaco; then
175 if use python_targets_python2_7; then
176 elog "${chaco_msg}"
177 else
178 ewarn "${chaco_msg}"
179 fi
180 fi
181 }