commit:     39e1cdc6864d498f4e930f0a29999aaa5323852a
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jan 20 22:49:38 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Tue Jan 20 22:49:38 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=39e1cdc6

dev-python/bokeh: Apply changes of bug report #529986

---
 dev-python/bokeh/bokeh-0.7.1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/bokeh/bokeh-0.7.1.ebuild 
b/dev-python/bokeh/bokeh-0.7.1.ebuild
index 9c874ed..95241a5 100644
--- a/dev-python/bokeh/bokeh-0.7.1.ebuild
+++ b/dev-python/bokeh/bokeh-0.7.1.ebuild
@@ -20,6 +20,7 @@ IUSE="examples test chaco"
 # A doc build requires napoleon sphinx extension which will be included in 
sphinx release 1.3
 # Therefore refraining from adding the doc build for now
 RDEPEND="
+       >=net-libs/nodejs-0.8.28[npm]
        >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
        >=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}]
        >=dev-python/itsdangerous-0.21[${PYTHON_USEDEP}]
@@ -68,6 +69,12 @@ python_prepare_all() {
                sed -i -e "/'bokeh.chaco_gg'/d" setup.py || die
        fi
 
+       sed -i -e "s/jsbuild = get_user_jsargs()/jsbuild = False/g" setup.py || 
die
+       cd bokehjs || die
+       npm install ||die
+       cd .. || die
+       python ./setup.py --build_js sdist || die
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to