Hello community,

here is the log from the commit of package python-interlude for 
openSUSE:Factory checked in at 2013-12-09 16:57:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-interlude (Old)
 and      /work/SRC/openSUSE:Factory/.python-interlude.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-interlude"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-interlude/python-interlude.changes        
2013-10-25 11:19:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-interlude.new/python-interlude.changes   
2013-12-09 16:57:46.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Dec  8 21:39:09 UTC 2013 - [email protected]
+
+- Update to version 1.2
+  + make the ipython support work with newer ipython versions
+
+-------------------------------------------------------------------

Old:
----
  interlude-1.1.1.tar.gz

New:
----
  interlude-1.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-interlude.spec ++++++
--- /var/tmp/diff_new_pack.xIQwO1/_old  2013-12-09 16:57:46.000000000 +0100
+++ /var/tmp/diff_new_pack.xIQwO1/_new  2013-12-09 16:57:46.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-interlude
-Version:        1.1.1
+Version:        1.2
 Release:        0
 Url:            http://github.com/collective/interlude
 Summary:        Interlude for Doctests provides an Interactive Console

++++++ interlude-1.1.1.tar.gz -> interlude-1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/interlude-1.1.1/CHANGELOG.rst 
new/interlude-1.2/CHANGELOG.rst
--- old/interlude-1.1.1/CHANGELOG.rst   2010-12-21 18:35:35.000000000 +0100
+++ new/interlude-1.2/CHANGELOG.rst     2013-10-15 11:35:58.000000000 +0200
@@ -2,6 +2,11 @@
 Changes
 =======
 
+1.2
+---
+
+- make the ipython support work with newer ipython versions. [sunew]
+
 1.1.1
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/interlude-1.1.1/PKG-INFO new/interlude-1.2/PKG-INFO
--- old/interlude-1.1.1/PKG-INFO        2010-12-21 18:36:21.000000000 +0100
+++ new/interlude-1.2/PKG-INFO  2013-10-15 11:40:32.000000000 +0200
@@ -1,43 +1,54 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: interlude
-Version: 1.1.1
+Version: 1.2
 Summary: Interlude for Doctests provides an Interactive Console.
 Home-page: http://github.com/collective/interlude
 Author: Jens Klein
 Author-email: [email protected]
 License: LGPL
-Description: Provides an interactive shell aka console inside your doctest 
case.
+Description: Interlude - Interactive Doctests
+        ================================
         
+        Provides an interactive shell aka console inside your doctest case.
+            
         The console looks exact like in a doctest-case and you can copy and 
paste
-        code from the shell into your doctest. It feels as you are in the test 
case
-        itself. Its not pdb, it's a python shell.
+        code from the shell into your doctest. It feels as you are in the test 
case 
+        itself. Its not pdb, it's a python shell. 
         
         In your doctest you can invoke the shell at any point by calling::
-        
-        >>> interact( locals() )
+                
+            >>> interact(locals())        
         
         To make your testrunner interlude aware following is needed:
         
         1) import interlude
         
-        2) suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), 
...)
+        2) suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), 
...) 
         
         License
         =======
         
-        `interlude` is copyright 2006-2010 by BlueDynamics Alliance, Klein & 
Partner KG,
-        Austria. It is under the `GNU Lesser General Public License (LGPLv3).
+        `interlude` is copyright 2006-2013 by BlueDynamics Alliance, Klein & 
Partner KG,
+        Austria. It is under the `GNU Lesser General Public License (LGPLv3). 
         <http://opensource.org/licenses/lgpl-3.0.html>`_
         
         - code repository at `github collective 
<http://github.com/collective/interlude>`_
         
-        - written by `Jens Klein <mailto:[email protected]>`_
+        - written by `Jens Klein <mailto:[email protected]>`_ 
+        
+        - IPython support contributed by `Alan Justino 
<http://github.com/alanjds>`_ 
+        
+        - Upgrade/Bugfixes contributed by `Sune Broendum Woeller 
<https://github.com/sunew>`_
         
-        - IPython support contributed by `Alan Justino 
<http://github.com/alanjds>`_
         
         Changes
         =======
         
+        1.2
+        ---
+        
+        - make the ipython support work with newer ipython versions. [sunew]
+        
         1.1.1
         -----
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/interlude-1.1.1/README.rst 
new/interlude-1.2/README.rst
--- old/interlude-1.1.1/README.rst      2010-12-21 00:50:16.000000000 +0100
+++ new/interlude-1.2/README.rst        2013-10-15 11:39:44.000000000 +0200
@@ -1,3 +1,6 @@
+Interlude - Interactive Doctests
+================================
+
 Provides an interactive shell aka console inside your doctest case.
     
 The console looks exact like in a doctest-case and you can copy and paste
@@ -6,7 +9,7 @@
 
 In your doctest you can invoke the shell at any point by calling::
         
-    >>> interact( locals() )        
+    >>> interact(locals())        
 
 To make your testrunner interlude aware following is needed:
 
@@ -17,7 +20,7 @@
 License
 =======
 
-`interlude` is copyright 2006-2010 by BlueDynamics Alliance, Klein & Partner 
KG,
+`interlude` is copyright 2006-2013 by BlueDynamics Alliance, Klein & Partner 
KG,
 Austria. It is under the `GNU Lesser General Public License (LGPLv3). 
 <http://opensource.org/licenses/lgpl-3.0.html>`_
 
@@ -26,3 +29,6 @@
 - written by `Jens Klein <mailto:[email protected]>`_ 
 
 - IPython support contributed by `Alan Justino <http://github.com/alanjds>`_ 
+
+- Upgrade/Bugfixes contributed by `Sune Broendum Woeller 
<https://github.com/sunew>`_
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/interlude-1.1.1/setup.py new/interlude-1.2/setup.py
--- old/interlude-1.1.1/setup.py        2010-12-21 18:33:15.000000000 +0100
+++ new/interlude-1.2/setup.py  2013-10-15 11:39:10.000000000 +0200
@@ -1,7 +1,7 @@
 from setuptools import setup, find_packages
 import os
 
-version = '1.1.1'
+version = '1.2'
 shortdesc ="Interlude for Doctests provides an Interactive Console."
 longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() 
 longdesc += open(os.path.join(os.path.dirname(__file__), 
'CHANGELOG.rst')).read()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/interlude-1.1.1/src/interlude/__init__.py 
new/interlude-1.2/src/interlude/__init__.py
--- old/interlude-1.1.1/src/interlude/__init__.py       2010-12-21 
00:43:42.000000000 +0100
+++ new/interlude-1.2/src/interlude/__init__.py 2013-06-12 11:48:52.000000000 
+0200
@@ -9,18 +9,24 @@
 import code
 import sys
 
+try:
+    import IPython
+    HAS_IPYTHON = True
+except ImportError:
+    HAS_IPYTHON = False
+
 def interact(locals=None, use_ipython=True):
     """Provides an interactive shell aka console inside your testcase.
-    
+
     It looks exact like in a doctestcase and you can copy and paste
-    code from the shell into your doctest. The locals in the testcase are 
+    code from the shell into your doctest. The locals in the testcase are
     available, because you are _in_ the testcase.
 
     In your testcase or doctest you can invoke the shell at any point by
     calling::
-        
-        >>> interact( locals() ) #doctest: +SKIP        
-        
+
+        >>> interact( locals() ) #doctest: +SKIP
+
     locals -- passed to InteractiveInterpreter.__init__()
     """
     savestdout = sys.stdout
@@ -28,21 +34,23 @@
     sys.stderr.write('\n'+'='*78)
     sys.stdout.write("""
 Interlude DocTest Interactive Console - (c) BlueDynamics Alliance
-Note: You have the same locals available as in your test-case. 
+Note: You have the same locals available as in your test-case.
 Ctrl-D ends session and continues testing.
 """)
 
-    try:
-        if use_ipython:
+    if use_ipython and HAS_IPYTHON:
+        try:
             from IPython.Shell import IPShellEmbed
             ipshell = IPShellEmbed(user_ns=locals)
             ipshell()
-        else:
-            raise ImportError("Just use bare console")
-    except ImportError:
+        except ImportError:
+            from IPython.frontend.terminal.embed import InteractiveShellEmbed
+            ipshell = InteractiveShellEmbed(user_ns=locals)
+            ipshell()
+    else:
         console = code.InteractiveConsole(locals)
         console.interact()
 
     sys.stdout.write('\nend of Interlude DocTest Interactive Console 
session\n')
     sys.stdout.write('='*78+'\n')
-    sys.stdout = savestdout 
+    sys.stdout = savestdout
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/interlude-1.1.1/src/interlude.egg-info/PKG-INFO 
new/interlude-1.2/src/interlude.egg-info/PKG-INFO
--- old/interlude-1.1.1/src/interlude.egg-info/PKG-INFO 2010-12-21 
18:36:21.000000000 +0100
+++ new/interlude-1.2/src/interlude.egg-info/PKG-INFO   2013-10-15 
11:40:32.000000000 +0200
@@ -1,43 +1,54 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: interlude
-Version: 1.1.1
+Version: 1.2
 Summary: Interlude for Doctests provides an Interactive Console.
 Home-page: http://github.com/collective/interlude
 Author: Jens Klein
 Author-email: [email protected]
 License: LGPL
-Description: Provides an interactive shell aka console inside your doctest 
case.
+Description: Interlude - Interactive Doctests
+        ================================
         
+        Provides an interactive shell aka console inside your doctest case.
+            
         The console looks exact like in a doctest-case and you can copy and 
paste
-        code from the shell into your doctest. It feels as you are in the test 
case
-        itself. Its not pdb, it's a python shell.
+        code from the shell into your doctest. It feels as you are in the test 
case 
+        itself. Its not pdb, it's a python shell. 
         
         In your doctest you can invoke the shell at any point by calling::
-        
-        >>> interact( locals() )
+                
+            >>> interact(locals())        
         
         To make your testrunner interlude aware following is needed:
         
         1) import interlude
         
-        2) suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), 
...)
+        2) suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), 
...) 
         
         License
         =======
         
-        `interlude` is copyright 2006-2010 by BlueDynamics Alliance, Klein & 
Partner KG,
-        Austria. It is under the `GNU Lesser General Public License (LGPLv3).
+        `interlude` is copyright 2006-2013 by BlueDynamics Alliance, Klein & 
Partner KG,
+        Austria. It is under the `GNU Lesser General Public License (LGPLv3). 
         <http://opensource.org/licenses/lgpl-3.0.html>`_
         
         - code repository at `github collective 
<http://github.com/collective/interlude>`_
         
-        - written by `Jens Klein <mailto:[email protected]>`_
+        - written by `Jens Klein <mailto:[email protected]>`_ 
+        
+        - IPython support contributed by `Alan Justino 
<http://github.com/alanjds>`_ 
+        
+        - Upgrade/Bugfixes contributed by `Sune Broendum Woeller 
<https://github.com/sunew>`_
         
-        - IPython support contributed by `Alan Justino 
<http://github.com/alanjds>`_
         
         Changes
         =======
         
+        1.2
+        ---
+        
+        - make the ipython support work with newer ipython versions. [sunew]
+        
         1.1.1
         -----
         

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to