Hello community,

here is the log from the commit of package python3-cmd2 for openSUSE:Factory 
checked in at 2015-01-10 23:05:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-cmd2 (Old)
 and      /work/SRC/openSUSE:Factory/.python3-cmd2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-cmd2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-cmd2/python3-cmd2.changes        
2013-06-21 19:01:31.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-cmd2.new/python3-cmd2.changes   
2015-01-10 23:05:30.000000000 +0100
@@ -1,0 +2,18 @@
+Sat Jan 10 01:37:31 UTC 2015 - a...@gmx.de
+
+- specfile: update copyright year
+
+- update to version 0.6.8:
+  * better editor checking (by Ian Cordascu)
+
+- changes from version 0.6.6.1:
+  * No changes to code trunk.  Generated sdist from Python 2.7 to
+    avoid 2to3 changes being applied to source.  (Issue
+    https://bitbucket.org/catherinedevlin/cmd2/issue/6/packaging-bug)
+
+- changes from version 0.6.6:
+  * Added fix by bitbucket.org/desaintmartin to silence the editor
+    check.
+    bitbucket.org/catherinedevlin/cmd2/issue/1/silent-editor-check
+
+-------------------------------------------------------------------

Old:
----
  cmd2-0.6.5.1.tar.gz

New:
----
  cmd2-0.6.8.tar.gz

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

Other differences:
------------------
++++++ python3-cmd2.spec ++++++
--- /var/tmp/diff_new_pack.qDOrjA/_old  2015-01-10 23:05:30.000000000 +0100
+++ /var/tmp/diff_new_pack.qDOrjA/_new  2015-01-10 23:05:30.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-cmd2
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           python3-cmd2
-Version:        0.6.5.1
+Version:        0.6.8
 Release:        0
 Summary:        Extra features for standard library's cmd module
 License:        MIT

++++++ cmd2-0.6.5.1.tar.gz -> cmd2-0.6.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.5.1/PKG-INFO new/cmd2-0.6.8/PKG-INFO
--- old/cmd2-0.6.5.1/PKG-INFO   2013-03-18 17:45:35.000000000 +0100
+++ new/cmd2-0.6.8/PKG-INFO     2014-12-09 03:25:33.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cmd2
-Version: 0.6.5.1
+Version: 0.6.8
 Summary: Extra features for standard library's cmd module
 Home-page: http://packages.python.org/cmd2/
 Author: Catherine Devlin
@@ -41,3 +41,9 @@
 Classifier: Programming Language :: Python
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.5.1/cmd2.egg-info/PKG-INFO 
new/cmd2-0.6.8/cmd2.egg-info/PKG-INFO
--- old/cmd2-0.6.5.1/cmd2.egg-info/PKG-INFO     2013-03-18 17:45:35.000000000 
+0100
+++ new/cmd2-0.6.8/cmd2.egg-info/PKG-INFO       2014-12-09 03:25:33.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: cmd2
-Version: 0.6.5.1
+Version: 0.6.8
 Summary: Extra features for standard library's cmd module
 Home-page: http://packages.python.org/cmd2/
 Author: Catherine Devlin
@@ -41,3 +41,9 @@
 Classifier: Programming Language :: Python
 Classifier: License :: OSI Approved :: MIT License
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.0
+Classifier: Programming Language :: Python :: 3.1
+Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cmd2-0.6.5.1/cmd2.egg-info/requires.txt 
new/cmd2-0.6.8/cmd2.egg-info/requires.txt
--- old/cmd2-0.6.5.1/cmd2.egg-info/requires.txt 2013-03-18 17:45:35.000000000 
+0100
+++ new/cmd2-0.6.8/cmd2.egg-info/requires.txt   2014-12-09 03:25:33.000000000 
+0100
@@ -1 +1 @@
-pyparsing >= 2.0.0
\ 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.5.1/cmd2.py new/cmd2-0.6.8/cmd2.py
--- old/cmd2-0.6.5.1/cmd2.py    2013-03-18 17:41:18.000000000 +0100
+++ new/cmd2-0.6.8/cmd2.py      2014-12-09 03:17:08.000000000 +0100
@@ -42,7 +42,7 @@
 from optparse import make_option
 import pyparsing
 
-__version__ = '0.6.5.1'
+__version__ = '0.6.8'
 
 if sys.version_info[0] == 2:
     pyparsing.ParserElement.enablePackrat()
@@ -104,6 +104,12 @@
         return getattr(obj, attr)
     except AttributeError:
         return None
+
+def _which(editor):
+    try:
+        return subprocess.Popen(['which', editor], stdout=subprocess.PIPE, 
stderr=subprocess.STDOUT).communicate()[0]
+    except OSError:
+        return None
     
 optparse.Values.get = _attr_get_
     
@@ -147,7 +153,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 +202,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 +221,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 +255,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')
@@ -420,8 +426,8 @@
         if sys.platform[:3] == 'win':
             editor = 'notepad'
         else:
-            for editor in ['gedit', 'kate', 'vim', 'emacs', 'nano', 'pico']:
-                if subprocess.Popen(['which', editor], 
stdout=subprocess.PIPE).communicate()[0]:
+            for editor in ['gedit', 'kate', 'vim', 'vi', 'emacs', 'nano', 
'pico']:
+                if _which(editor):
                     break
 
     colorcodes =    {'bold':{True:'\x1b[1m',False:'\x1b[22m'},
@@ -787,7 +793,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 +802,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 +1031,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 +1067,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 +1188,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 +1230,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 +1492,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 +1543,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.5.1/setup.py new/cmd2-0.6.8/setup.py
--- old/cmd2-0.6.5.1/setup.py   2013-03-18 17:40:56.000000000 +0100
+++ new/cmd2-0.6.8/setup.py     2014-12-09 03:17:16.000000000 +0100
@@ -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.5.1",
+    version="0.6.8",
     py_modules=["cmd2"],
     use_2to3=True,
     
@@ -61,6 +61,13 @@
         'Programming Language :: Python',
         'License :: OSI Approved :: MIT License',
         'Topic :: Software Development :: Libraries :: Python Modules',
+        'Programming Language :: Python :: 2.6',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3.0',
+        'Programming Language :: Python :: 3.1',
+        'Programming Language :: Python :: 3.2',
+        'Programming Language :: Python :: 3.3',
+
     ],
     )
 

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

Reply via email to