Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/ipython/files: 2.1.0-disable-tests.patch
Date: Fri, 01 Aug 2014 03:25:34
Message-Id: 20140801032528.551F520035@flycatcher.gentoo.org
1 idella4 14/08/01 03:25:26
2
3 Added: 2.1.0-disable-tests.patch
4 Log:
5 major version bump: extensive re-write; add py3.4 support, drop keywords arm ia64 ppc ppc64 (which will be requested for re-addition), re-write of doc build, test phase, patch by cel1, thanks to cel1 for cross testing, fixes Bug 507410
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.1 dev-python/ipython/files/2.1.0-disable-tests.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/2.1.0-disable-tests.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/2.1.0-disable-tests.patch?rev=1.1&content-type=text/plain
14
15 Index: 2.1.0-disable-tests.patch
16 ===================================================================
17 The extension magics for oct2py and rpy live now in the oct2py and rpy2 package. The tests shipped with ipython are broken. We should disable
18 those tests and remove the magics files:
19
20 IPython/extensions/rmagic.py -> rpy/ipython/rmagic.py
21 IPython/extension/octavemagic.py -> oct2py/ipython/octavemagic.py
22
23 deleted: IPython/extensions/octavemagic.py
24 deleted: IPython/extensions/rmagic.py
25 modified: IPython/testing/iptest.py
26
27 diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py
28 index 45d2c78..db0bdfe 100644
29 --- a/IPython/testing/iptest.py
30 +++ b/IPython/testing/iptest.py
31 @@ -250,12 +250,10 @@ sec = test_sections['extensions']
32 if not have['cython']:
33 sec.exclude('cythonmagic')
34 sec.exclude('tests.test_cythonmagic')
35 -if not have['oct2py']:
36 - sec.exclude('octavemagic')
37 - sec.exclude('tests.test_octavemagic')
38 -if not have['rpy2'] or not have['numpy']:
39 - sec.exclude('rmagic')
40 - sec.exclude('tests.test_rmagic')
41 +sec.exclude('octavemagic')
42 +sec.exclude('tests.test_octavemagic')
43 +sec.exclude('rmagic')
44 +sec.exclude('tests.test_rmagic')
45 # autoreload does some strange stuff, so move it to its own test section
46 sec.exclude('autoreload')
47 sec.exclude('tests.test_autoreload')