Hello community,

here is the log from the commit of package python-cliff for openSUSE:Factory 
checked in at 2014-01-31 09:44:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-10-01 08:26:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-cliff.new/python-cliff.changes   
2014-01-31 09:44:05.000000000 +0100
@@ -1,0 +2,12 @@
+Tue Jan 21 13:22:18 UTC 2014 - [email protected]
+
+- update to 1.5.2:
+  * Fix the arguments passed to commands when they are instantiated to
+  pull out help.
+  * Add bash command completion.
+  * Use stevedore to load formatter plugins
+  * Use pbr for packaging
+- add remove-distribute-dep.patch: remove distribute dependency
+- add 0001-Fix-doc-build-with-Python-2.6.x.patch: Fix build with python 2.6
+
+-------------------------------------------------------------------

Old:
----
  cliff-1.4.5.tar.gz

New:
----
  0001-Fix-doc-build-with-Python-2.6.x.patch
  cliff-1.5.2.tar.gz
  remove-distribute-dep.patch

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

Other differences:
------------------
++++++ python-cliff.spec ++++++
--- /var/tmp/diff_new_pack.zsDXdx/_old  2014-01-31 09:44:06.000000000 +0100
+++ /var/tmp/diff_new_pack.zsDXdx/_new  2014-01-31 09:44:06.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cliff
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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,31 +17,39 @@
 
 
 Name:           python-cliff
-Version:        1.4.5
+Version:        1.5.2
 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:         remove-distribute-dep.patch
+Patch1:         0001-Fix-doc-build-with-Python-2.6.x.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-argparse
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
-BuildRequires:  python-tablib
 # Test requirements:
 BuildRequires:  python-PrettyTable
+BuildRequires:  python-Sphinx
 BuildRequires:  python-cmd2
 BuildRequires:  python-coverage
 BuildRequires:  python-mock >= 1.0.1
 BuildRequires:  python-nose
+BuildRequires:  python-pbr
 BuildRequires:  python-pep8
 BuildRequires:  python-pyparsing >= 2.0.1
+BuildRequires:  python-six
+BuildRequires:  python-stevedore
 Requires:       python-PrettyTable >= 0.6
+%if 0%{?suse_version} <= 1110
 Requires:       python-argparse
+%endif
 Requires:       python-cmd2 >= 0.6.7
 Requires:       python-pyparsing >= 2.0.1
-Requires:       python-tablib
+Requires:       python-six
+Requires:       python-stevedore
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %py_requires
@@ -64,15 +72,18 @@
 
 %prep
 %setup -q -n cliff-%{version}
+%patch0
+%patch1 -p1
 
 %build
 python setup.py build
+python setup.py build_sphinx
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
 %check
-nosetests
+python setup.py test
 
 %files
 %defattr(-,root,root,-)

++++++ 0001-Fix-doc-build-with-Python-2.6.x.patch ++++++
>From 7cf3dc000b374bab2a876495ab4528dd9f51d6a2 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <[email protected]>
Date: Thu, 30 Jan 2014 16:48:00 +0100
Subject: [PATCH] Fix doc build with Python 2.6.x

subprocess.check_output was new in Python 2.7.
Use an alternative construct via subprocess.Popen
which works on Python 2.6 as well.

Change-Id: I0b44fc19183f1c6b23fe5a9cce31de381809534d
---
 docs/source/conf.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 131a9f9..ee6daeb 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -51,10 +51,8 @@ copyright = u'2012-%s, Doug Hellmann' % 
datetime.datetime.today().year
 # built documents.
 #
 # The short X.Y version.
-version = subprocess.check_output([
-    'sh', '-c',
-    'cd ../..; python setup.py --version',
-])
+version = subprocess.Popen(['sh', '-c', 'cd ../..; python setup.py --version'],
+                           stdout=subprocess.PIPE).stdout.read()
 version = version.strip()
 # The full version, including alpha/beta/rc tags.
 release = version
-- 
1.8.4.1

++++++ cliff-1.4.5.tar.gz -> cliff-1.5.2.tar.gz ++++++
++++ 10070 lines of diff (skipped)

++++++ remove-distribute-dep.patch ++++++
--- test-requirements.txt
+++ test-requirements.txt
@@ -3,5 +3,4 @@
 coverage
 pep8
 cmd2
-distribute
 PrettyTable
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to