From: | "Ian Delaney (idella4)" <idella4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/bokeh/files: 0.5.0-setup.patch |
Date: | Thu, 30 Oct 2014 10:59:14 |
Message-Id: | 20141030105905.A8C2B9106@oystercatcher.gentoo.org |
1 | idella4 14/10/30 10:59:05 |
2 | |
3 | Added: 0.5.0-setup.patch |
4 | Log: |
5 | add patch to purge check for previous install from setup.py, fixes Bug #527336 |
6 | |
7 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/bokeh/files/0.5.0-setup.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/files/0.5.0-setup.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bokeh/files/0.5.0-setup.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: 0.5.0-setup.patch |
16 | =================================================================== |
17 | Remove inappropriate check for a previous install. See Bug #527336 |
18 | diff -u bokeh-0.5.0.orig/setup.py bokeh-0.5.0/setup.py |
19 | --- setup.py 2014-07-09 02:56:57.000000000 +0800 |
20 | +++ setup.py 2014-10-30 18:31:42.075161454 +0800 |
21 | @@ -253,12 +253,6 @@ |
22 | site_packages = getsitepackages()[0] |
23 | |
24 | bokeh_path = join(site_packages, "bokeh") |
25 | -if exists(bokeh_path) and isdir(bokeh_path): |
26 | - val = raw_input("found existing bokeh install, remove it?[y|N]") |
27 | - if val == "y": |
28 | - print ("removing old bokeh install") |
29 | - shutil.rmtree(bokeh_path) |
30 | - print ("not removing old bokeh install") |
31 | |
32 | path_file = join(site_packages, "bokeh.pth") |
33 | path = abspath(dirname(__file__)) |
34 | Common subdirectories: bokeh-0.5.0.orig/sphinx and bokeh-0.5.0/sphinx |