Hello community, here is the log from the commit of package python-cliff for openSUSE:Factory checked in at 2013-10-01 08:26:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cliff (Old) and /work/SRC/openSUSE:Factory/.python-cliff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cliff" Changes: -------- --- /work/SRC/openSUSE:Factory/python-cliff/python-cliff.changes 2013-09-23 13:15:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-cliff.new/python-cliff.changes 2013-10-01 08:26:52.000000000 +0200 @@ -1,0 +2,12 @@ +Fri Sep 27 13:44:08 UTC 2013 - dmuel...@suse.com + +- update to 1.4.5: + * Update the pyparsing dependency to a version that supports both + Python 2 and Python 3. + * Add PyPy testing. +- remove patches that went upstream: + * remove 0001-Require-pyparsing-2.0.1.patch + * remove relax-cmd2-requires.diff +- fix requires + +------------------------------------------------------------------- Old: ---- 0001-Require-pyparsing-2.0.1.patch cliff-1.4.4.tar.gz relax-cmd2-requires.diff New: ---- cliff-1.4.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cliff.spec ++++++ --- /var/tmp/diff_new_pack.hXLYnU/_old 2013-10-01 08:26:53.000000000 +0200 +++ /var/tmp/diff_new_pack.hXLYnU/_new 2013-10-01 08:26:53.000000000 +0200 @@ -17,16 +17,13 @@ Name: python-cliff -Version: 1.4.4 +Version: 1.4.5 Release: 0 Url: https://github.com/dreamhost/cliff Summary: Command Line Interface Formulation Framework License: Apache-2.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/c/cliff/cliff-%{version}.tar.gz -Patch0: relax-cmd2-requires.diff -# PATCH-FIX-UPSTREAM speili...@suse.com -- Backport of https://github.com/dreamhost/cliff/pull/47 -Patch1: 0001-Require-pyparsing-2.0.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-argparse BuildRequires: python-devel @@ -42,7 +39,7 @@ BuildRequires: python-pyparsing >= 2.0.1 Requires: python-PrettyTable >= 0.6 Requires: python-argparse -Requires: python-cmd2 >= 0.6.4 +Requires: python-cmd2 >= 0.6.7 Requires: python-pyparsing >= 2.0.1 Requires: python-tablib %if 0%{?suse_version} && 0%{?suse_version} <= 1110 @@ -67,8 +64,6 @@ %prep %setup -q -n cliff-%{version} -%patch0 -%patch1 -p1 %build python setup.py build ++++++ cliff-1.4.4.tar.gz -> cliff-1.4.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/.travis.yml new/cliff-1.4.5/.travis.yml --- old/cliff-1.4.4/.travis.yml 2012-05-13 00:38:20.000000000 +0200 +++ new/cliff-1.4.5/.travis.yml 2013-09-23 21:52:11.000000000 +0200 @@ -2,5 +2,7 @@ python: - 2.7 - 3.2 + - 3.3 + - pypy install: pip install -r test-requirements.txt script: nosetests -d \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/PKG-INFO new/cliff-1.4.5/PKG-INFO --- old/cliff-1.4.4/PKG-INFO 2013-08-29 18:18:53.000000000 +0200 +++ new/cliff-1.4.5/PKG-INFO 2013-09-23 21:55:50.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cliff -Version: 1.4.4 +Version: 1.4.5 Summary: Command Line Interface Formulation Framework Home-page: https://github.com/dreamhost/cliff Author: Doug Hellmann diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/announce.rst new/cliff-1.4.5/announce.rst --- old/cliff-1.4.4/announce.rst 2013-08-29 18:17:49.000000000 +0200 +++ new/cliff-1.4.5/announce.rst 2013-09-23 21:54:00.000000000 +0200 @@ -1,5 +1,5 @@ ======================================================================== - cliff -- Command Line Interface Formulation Framework -- version 1.4.4 + cliff -- Command Line Interface Formulation Framework -- version 1.4.5 ======================================================================== .. tags:: python cliff release DreamHost @@ -11,8 +11,9 @@ What's New In This Release? =========================== -- Provide better error handling for unknown commands run from the - command line. (Contributed by Christophe Chauvet.) +- Update the pyparsing dependency to a version that supports both + Python 2 and Python 3. +- Add PyPy testing. Documentation ============= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/cliff.egg-info/PKG-INFO new/cliff-1.4.5/cliff.egg-info/PKG-INFO --- old/cliff-1.4.4/cliff.egg-info/PKG-INFO 2013-08-29 18:18:52.000000000 +0200 +++ new/cliff-1.4.5/cliff.egg-info/PKG-INFO 2013-09-23 21:55:49.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: cliff -Version: 1.4.4 +Version: 1.4.5 Summary: Command Line Interface Formulation Framework Home-page: https://github.com/dreamhost/cliff Author: Doug Hellmann diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/cliff.egg-info/SOURCES.txt new/cliff-1.4.5/cliff.egg-info/SOURCES.txt --- old/cliff-1.4.4/cliff.egg-info/SOURCES.txt 2013-08-29 18:18:53.000000000 +0200 +++ new/cliff-1.4.5/cliff.egg-info/SOURCES.txt 2013-09-23 21:55:49.000000000 +0200 @@ -40,6 +40,7 @@ demoapp/README.rst demoapp/setup.py demoapp/build/lib/cliffdemo/__init__.py +demoapp/build/lib/cliffdemo/encoding.py demoapp/build/lib/cliffdemo/list.py demoapp/build/lib/cliffdemo/main.py demoapp/build/lib/cliffdemo/show.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/cliff.egg-info/requires.txt new/cliff-1.4.5/cliff.egg-info/requires.txt --- old/cliff-1.4.4/cliff.egg-info/requires.txt 2013-08-29 18:18:52.000000000 +0200 +++ new/cliff-1.4.5/cliff.egg-info/requires.txt 2013-09-23 21:55:49.000000000 +0200 @@ -1,3 +1,3 @@ PrettyTable>=0.6,<0.8 -cmd2>=0.6.4,<0.6.6 -pyparsing==1.5.7 \ No newline at end of file +pyparsing>=2.0.1 +cmd2>=0.6.7 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/demoapp/build/lib/cliffdemo/encoding.py new/cliff-1.4.5/demoapp/build/lib/cliffdemo/encoding.py --- old/cliff-1.4.4/demoapp/build/lib/cliffdemo/encoding.py 1970-01-01 01:00:00.000000000 +0100 +++ new/cliff-1.4.5/demoapp/build/lib/cliffdemo/encoding.py 2013-08-14 17:13:28.000000000 +0200 @@ -0,0 +1,23 @@ +# -*- encoding: utf-8 -*- + +import logging + +from cliff.lister import Lister + + +class Encoding(Lister): + """Show some unicode text + """ + + log = logging.getLogger(__name__) + + def take_action(self, parsed_args): + messages = [ + u'pi: π', + u'GB18030:鼀丅㐀ٸཌྷᠧꌢ€', + ] + return ( + ('UTF-8', 'Unicode'), + [(repr(t.encode('utf-8')), t) + for t in messages], + ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/demoapp/build/lib/cliffdemo/list.py new/cliff-1.4.5/demoapp/build/lib/cliffdemo/list.py --- old/cliff-1.4.4/demoapp/build/lib/cliffdemo/list.py 2012-04-28 17:12:23.000000000 +0200 +++ new/cliff-1.4.5/demoapp/build/lib/cliffdemo/list.py 2012-06-20 22:48:27.000000000 +0200 @@ -12,7 +12,7 @@ log = logging.getLogger(__name__) - def get_data(self, parsed_args): + def take_action(self, parsed_args): return (('Name', 'Size'), ((n, os.stat(n).st_size) for n in os.listdir('.')) ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/demoapp/build/lib/cliffdemo/main.py new/cliff-1.4.5/demoapp/build/lib/cliffdemo/main.py --- old/cliff-1.4.4/demoapp/build/lib/cliffdemo/main.py 2012-04-29 01:38:25.000000000 +0200 +++ new/cliff-1.4.5/demoapp/build/lib/cliffdemo/main.py 2012-05-10 21:21:09.000000000 +0200 @@ -16,7 +16,7 @@ command_manager=CommandManager('cliff.demo'), ) - def initialize_app(self): + def initialize_app(self, argv): self.log.debug('initialize_app') def prepare_to_run_command(self, cmd): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/demoapp/build/lib/cliffdemo/show.py new/cliff-1.4.5/demoapp/build/lib/cliffdemo/show.py --- old/cliff-1.4.4/demoapp/build/lib/cliffdemo/show.py 2012-04-28 02:06:06.000000000 +0200 +++ new/cliff-1.4.5/demoapp/build/lib/cliffdemo/show.py 2012-06-20 22:48:27.000000000 +0200 @@ -14,7 +14,7 @@ parser.add_argument('filename', nargs='?', default='.') return parser - def get_data(self, parsed_args): + def take_action(self, parsed_args): stat_data = os.stat(parsed_args.filename) columns = ('Name', 'Size', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/demoapp/build/lib/cliffdemo/simple.py new/cliff-1.4.5/demoapp/build/lib/cliffdemo/simple.py --- old/cliff-1.4.4/demoapp/build/lib/cliffdemo/simple.py 2012-04-23 00:16:42.000000000 +0200 +++ new/cliff-1.4.5/demoapp/build/lib/cliffdemo/simple.py 2012-06-20 22:59:30.000000000 +0200 @@ -8,7 +8,7 @@ log = logging.getLogger(__name__) - def run(self, parsed_args): + def take_action(self, parsed_args): self.log.info('sending greeting') self.log.debug('debugging') self.app.stdout.write('hi!\n') @@ -19,6 +19,6 @@ log = logging.getLogger(__name__) - def run(self, parsed_args): + def take_action(self, parsed_args): self.log.info('causing error') raise RuntimeError('this is the expected exception') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/demoapp/setup.py new/cliff-1.4.5/demoapp/setup.py --- old/cliff-1.4.4/demoapp/setup.py 2013-08-14 17:13:28.000000000 +0200 +++ new/cliff-1.4.5/demoapp/setup.py 2013-09-23 21:52:11.000000000 +0200 @@ -41,7 +41,7 @@ scripts=[], provides=[], - install_requires=['distribute', 'cliff'], + install_requires=['cliff'], namespace_packages=[], packages=find_packages(), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/docs/source/history.rst new/cliff-1.4.5/docs/source/history.rst --- old/cliff-1.4.4/docs/source/history.rst 2013-08-29 18:16:49.000000000 +0200 +++ new/cliff-1.4.5/docs/source/history.rst 2013-09-23 21:53:32.000000000 +0200 @@ -2,6 +2,12 @@ Release History ================= +1.4.5 + +- Update the pyparsing dependency to a version that supports both + Python 2 and Python 3. +- Add PyPy testing. + 1.4.4 - Provide better error handling for unknown commands run from the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/setup.py new/cliff-1.4.5/setup.py --- old/cliff-1.4.4/setup.py 2013-08-29 18:18:08.000000000 +0200 +++ new/cliff-1.4.5/setup.py 2013-09-23 21:53:43.000000000 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/env python PROJECT = 'cliff' -VERSION = '1.4.4' +VERSION = '1.4.5' from setuptools import setup, find_packages @@ -17,20 +17,10 @@ install_requires = [ 'PrettyTable>=0.6,<0.8', - # Restrict cliff from bringing in cmd2 0.6.6 until the problem - # with the Python 3-only code is resolved. - 'cmd2>=0.6.4,<0.6.6', + 'pyparsing>=2.0.1', + 'cmd2>=0.6.7', ] -# We need a different version of PyParsing, depending on which version -# of Python we're using. cmd2 should have this set properly, but until -# there is a release declare the dependency ourselves. -# http://trac-hg.assembla.com/python-cmd2/rev/a5f3d5a89d6c -if sys.version_info[0] < 3: - install_requires.append('pyparsing==1.5.7') -else: - install_requires.append('pyparsing>=2.0.0') - try: import argparse # noqa except ImportError: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cliff-1.4.4/tox.ini new/cliff-1.4.5/tox.ini --- old/cliff-1.4.4/tox.ini 2013-08-16 18:09:07.000000000 +0200 +++ new/cliff-1.4.5/tox.ini 2013-09-23 21:52:11.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,py32,py33,style +envlist = py26,py27,py32,py33,pypy,style [testenv] distribute = False -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org