From: | "Mike Gilbert (floppym)" <floppym@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/ipython/files: ipython-1.0.0-setuptools.patch |
Date: | Thu, 26 Sep 2013 17:59:08 |
Message-Id: | 20130926175902.0EA3A2004C@flycatcher.gentoo.org |
1 | floppym 13/09/26 17:59:01 |
2 | |
3 | Added: ipython-1.0.0-setuptools.patch |
4 | Log: |
5 | Add patch to ensure consistent setuptools behavior with python2. |
6 | |
7 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-python/ipython/files/ipython-1.0.0-setuptools.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/ipython-1.0.0-setuptools.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/ipython-1.0.0-setuptools.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: ipython-1.0.0-setuptools.patch |
16 | =================================================================== |
17 | Import setuptools unconditionally to ensure consistent egg-info behavior. |
18 | |
19 | --- a/setup.py |
20 | +++ b/setup.py |
21 | @@ -53,9 +53,7 @@ |
22 | |
23 | from distutils.core import setup |
24 | |
25 | -# On Python 3, we need distribute (new setuptools) to do the 2to3 conversion |
26 | -if PY3: |
27 | - import setuptools |
28 | +import setuptools |
29 | |
30 | # Our own imports |
31 | from setupbase import target_update |