Hello community,

here is the log from the commit of package python-cmd2 for openSUSE:Factory 
checked in at 2013-10-01 08:27:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-cmd2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cmd2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cmd2/python-cmd2.changes  2013-09-23 
11:17:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cmd2.new/python-cmd2.changes     
2013-10-01 08:27:02.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 27 13:51:06 UTC 2013 - dmuel...@suse.com
+
+- update to 0.6.7:
+  * various python 3.x compat fixes
+- remove cmd2-pyparsing201.patch, merged upstream
+
+-------------------------------------------------------------------

Old:
----
  cmd2-0.6.6.1.tar.gz
  cmd2-pyparsing201.patch

New:
----
  cmd2-0.6.7.tar.gz

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

Other differences:
------------------
++++++ python-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.47BVzV/_old  2013-10-01 08:27:03.000000000 +0200
+++ /var/tmp/diff_new_pack.47BVzV/_new  2013-10-01 08:27:03.000000000 +0200
@@ -17,15 +17,13 @@
 
 
 Name:           python-cmd2
-Version:        0.6.6.1
+Version:        0.6.7
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT
 Group:          Development/Languages/Python
 Url:            http://packages.python.org/cmd2/
 Source:         
http://pypi.python.org/packages/source/c/cmd2/cmd2-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM speili...@suse.com -- Relax pyparsing requirements again
-Patch0:         cmd2-pyparsing201.patch
 BuildRequires:  python-devel
 Requires:       python-pyparsing >= 2.0.1
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -56,7 +54,6 @@
 
 %prep
 %setup -q -n cmd2-%{version}
-%patch0 -p1
 chmod -x README.txt
 sed -i "s/\r//g" README.txt
 

++++++ cmd2-0.6.6.1.tar.gz -> cmd2-0.6.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.6.1/PKG-INFO new/cmd2-0.6.7/PKG-INFO
--- old/cmd2-0.6.6.1/PKG-INFO   2013-08-14 22:45:28.000000000 +0200
+++ new/cmd2-0.6.7/PKG-INFO     2013-09-21 03:29:58.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cmd2
-Version: 0.6.6.1
+Version: 0.6.7
 Summary: Extra features for standard library's cmd module
 Home-page: http://packages.python.org/cmd2/
 Author: Catherine Devlin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.6.1/cmd2.egg-info/PKG-INFO 
new/cmd2-0.6.7/cmd2.egg-info/PKG-INFO
--- old/cmd2-0.6.6.1/cmd2.egg-info/PKG-INFO     2013-08-14 22:45:28.000000000 
+0200
+++ new/cmd2-0.6.7/cmd2.egg-info/PKG-INFO       2013-09-21 03:29:58.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cmd2
-Version: 0.6.6.1
+Version: 0.6.7
 Summary: Extra features for standard library's cmd module
 Home-page: http://packages.python.org/cmd2/
 Author: Catherine Devlin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.6.1/cmd2.egg-info/requires.txt 
new/cmd2-0.6.7/cmd2.egg-info/requires.txt
--- old/cmd2-0.6.6.1/cmd2.egg-info/requires.txt 2013-08-14 22:45:28.000000000 
+0200
+++ new/cmd2-0.6.7/cmd2.egg-info/requires.txt   2013-09-21 03:29:58.000000000 
+0200
@@ -1 +1 @@
-pyparsing == 1.5.7
\ No newline at end of file
+pyparsing >= 2.0.1
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.6.1/cmd2.py new/cmd2-0.6.7/cmd2.py
--- old/cmd2-0.6.6.1/cmd2.py    2013-08-14 22:38:44.000000000 +0200
+++ new/cmd2-0.6.7/cmd2.py      2013-09-21 03:26:31.000000000 +0200
@@ -147,7 +147,7 @@
                     arg = arg.with_args_replaced(newArgs)
                 else:
                     arg = newArgs
-            except optparse.OptParseError, e:
+            except optparse.OptParseError as e:
                 print (e)
                 optionParser.print_help()
                 return
@@ -196,7 +196,7 @@
             win32clipboard.CloseClipboard()        
     except ImportError:
         def get_paste_buffer(*args):
-            raise OSError, pastebufferr % ('pywin32', 'Download from 
http://sourceforge.net/projects/pywin32/')
+            raise OSError(pastebufferr % ('pywin32', 'Download from 
http://sourceforge.net/projects/pywin32/'))
         write_to_paste_buffer = get_paste_buffer
 elif sys.platform == 'darwin':
     can_clip = False
@@ -215,7 +215,7 @@
             pbcopyproc.communicate(txt.encode())
     else:
         def get_paste_buffer(*args):
-            raise OSError, pastebufferr % ('pbcopy', 'On MacOS X - error 
should not occur - part of the default installation')
+            raise OSError(pastebufferr % ('pbcopy', 'On MacOS X - error should 
not occur - part of the default installation'))
         write_to_paste_buffer = get_paste_buffer
 else:
     can_clip = False
@@ -249,7 +249,7 @@
             xclipproc.stdin.close()
     else:
         def get_paste_buffer(*args):
-            raise OSError, pastebufferr % ('xclip', 'On Debian/Ubuntu, install 
with "sudo apt-get install xclip"')
+            raise OSError(pastebufferr % ('xclip', 'On Debian/Ubuntu, install 
with "sudo apt-get install xclip"'))
         write_to_paste_buffer = get_paste_buffer
           
 pyparsing.ParserElement.setDefaultWhitespaceChars(' \t')
@@ -787,7 +787,7 @@
                     self.restore_output(statement)
             except EmptyStatement:
                 return 0
-            except Exception, e:
+            except Exception as e:
                 self.perror(str(e), statement)            
         finally:
             return self.postparsing_postcmd(stop)        
@@ -796,14 +796,14 @@
         if (not line) or (
             not pyparsing.Or(self.commentGrammars).
                 setParseAction(lambda x: '').transformString(line)):
-            raise EmptyStatement
+            raise EmptyStatement()
         statement = self.parsed(line)
         while statement.parsed.multilineCommand and 
(statement.parsed.terminator == ''):
             statement = '%s\n%s' % (statement.parsed.raw, 
                                     
self.pseudo_raw_input(self.continuation_prompt))                
             statement = self.parsed(statement)
         if not statement.parsed.command:
-            raise EmptyStatement
+            raise EmptyStatement()
         return statement
     
     def redirect_output(self, statement):
@@ -1025,7 +1025,7 @@
                     onchange_hook(old=currentVal, new=val)
                 except AttributeError:
                     pass
-        except (ValueError, AttributeError, NotSettableError), e:
+        except (ValueError, AttributeError, NotSettableError) as e:
             self.do_show(arg)
                 
     def do_pause(self, arg):
@@ -1061,7 +1061,7 @@
                     file = open(arg)
                     interp.runcode(file.read())
                     file.close()
-                except IOError, e:
+                except IOError as e:
                     self.perror(e)
             self.pystate['quit'] = quit
             self.pystate['exit'] = quit
@@ -1182,7 +1182,7 @@
             f.write(saveme)
             f.close()
             self.pfeedback('Saved to %s' % (fname))
-        except Exception, e:
+        except Exception as e:
             self.perror('Error saving %s' % (fname))
             raise
             
@@ -1224,7 +1224,7 @@
             targetname, args = arg[0], (arg[1:] or [''])[0].strip()
         try:
             target = self.read_file_or_url(targetname)
-        except IOError, e:
+        except IOError as e:
             self.perror('Problem accessing script from %s: \n%s' % 
(targetname, e))
             return
         keepstate = Statekeeper(self, ('stdin','use_rawinput','prompt',
@@ -1486,7 +1486,7 @@
                 self.transcripts[fname] = iter(tfile.readlines())
                 tfile.close()
         if not len(self.transcripts):
-            raise (StandardError,), "No test files found - nothing to test."
+            raise StandardError("No test files found - nothing to test.")
     def setUp(self):
         if self.CmdApp:
             self.outputTrap = OutputTrap()
@@ -1537,7 +1537,7 @@
             result = self.outputTrap.read()
             # Read the expected result from transcript
             if line.startswith(self.cmdapp.prompt):
-                message = '\nFile %s, line %d\nCommand was:\n%s\nExpected: 
(nothing)\nGot:\n%s\n'%\
+                message = '\nFile %s, line %d\nCommand was:\n%r\nExpected: 
(nothing)\nGot:\n%r\n'%\
                     (fname, lineNum, command, result)     
                 self.assert_(not(result.strip()), message)
                 continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.6.1/setup.py new/cmd2-0.6.7/setup.py
--- old/cmd2-0.6.6.1/setup.py   2013-08-14 22:38:59.000000000 +0200
+++ new/cmd2-0.6.7/setup.py     2013-09-21 03:26:31.000000000 +0200
@@ -7,14 +7,14 @@
         return ['sqlpython']
 import sys
 
-if sys.version_info < (3, 0, 0):
+if sys.version_info[:2] == (2, 5):
     install_requires = ['pyparsing == 1.5.7']
 else:
-    install_requires = ['pyparsing >= 2.0.0']
+    install_requires = ['pyparsing >= 2.0.1']
 
 setup(
     name="cmd2",
-    version="0.6.6.1",
+    version="0.6.7",
     py_modules=["cmd2"],
     use_2to3=True,
     

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to