From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/ipython/files: ipython-0.12-globalpath.patch |
Date: | Tue, 10 Jan 2012 22:15:10 |
Message-Id: | 20120110221458.C19EE2004C@flycatcher.gentoo.org |
1 | bicatali 12/01/10 22:14:58 |
2 | |
3 | Added: ipython-0.12-globalpath.patch |
4 | Log: |
5 | Removed bundled libraries, added suggested dependencies and optional ones as run depedencies. Propagate global patch prefix friendly. Fix tests, some other modifications from Arfrever |
6 | |
7 | (Portage version: 2.1.10.41/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/ipython/files/ipython-0.12-globalpath.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/ipython-0.12-globalpath.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/ipython-0.12-globalpath.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: ipython-0.12-globalpath.patch |
16 | =================================================================== |
17 | --- IPython/quarantine/ipy_gnuglobal.py.orig 2012-01-10 20:16:35.153515474 +0000 |
18 | +++ IPython/quarantine/ipy_gnuglobal.py 2012-01-10 20:18:30.196504374 +0000 |
19 | @@ -7,10 +7,11 @@ |
20 | |
21 | from IPython.core import ipapi |
22 | ip = ipapi.get() |
23 | -import os |
24 | +import os |
25 | +import sys |
26 | |
27 | # alter to your liking |
28 | -global_bin = 'd:/opt/global/bin/global' |
29 | +global_bin = os.path.join(sys.prefix,'bin','global') |
30 | |
31 | def global_f(self,cmdline): |
32 | simple = 0 |