Hello community, here is the log from the commit of package python-cliff for openSUSE:Factory checked in at 2017-08-12 20:26:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cliff (Old) and /work/SRC/openSUSE:Factory/.python-cliff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cliff" Sat Aug 12 20:26:52 2017 rev:29 rq:514848 version:2.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cliff/python-cliff.changes 2017-02-21 13:41:32.302870021 +0100 +++ /work/SRC/openSUSE:Factory/.python-cliff.new/python-cliff.changes 2017-08-12 20:26:53.510640612 +0200 @@ -1,0 +2,43 @@ +Mon Aug 7 07:15:16 UTC 2017 - tbecht...@suse.com + +- update to 2.8.0: + * add tests for display command classes and hooks + * Run hooks for DisplayCommandBase + * add --fit-width option to table formatter + * sphinxext: Add 'application' option to the autoprogram directive + * use openstackdocstheme html context + * switch from oslosphinx to openstackdocstheme + * Fix erroneous line in command hook test + * make smart help formatter test deterministic + * remove references to distribute in the docs + * add before and after hooks + * add hook for get\_epilog + * add hook for manipulating the argument parser + * Updated from global requirements + * pass the command name from HelpCommand + * Adjust completenames tests for cmd2 0.7.3+ + * rearrange existing content to follow new standard + * sphinext: Use metavar where possible + * sphinxext: Use 'argparse.description', 'argparse.epilog' + * sphinxext: Allow configuration of ignorable options + * sphinxext: Generate better usage examples + * add cmd\_name argument to CompleteCommand + * Ensure python standard argparse module is loaded + * Updated from global requirements + * covert test suite to use testrepository + * Updated from global requirements + * Add smart help formatter for command parser + * Add support for epilogs + * Add 'autoprogram-cliff' Sphinx directive + * .gitignore: Ignore eggs + * Use Sphinx 1.5 warning-is-error + * Update cmd2 fix to still work with 0.6.7 + * Remove support for py34 + * Fix broken test with cmd2 0.7.0 + * Updated from global requirements + * Updated from global requirements + * Updated from global requirements + * Add newline if the output formatter is json +- Add 0001-Make-openstackdocstheme-an-optional-doc-dependency.patch + +------------------------------------------------------------------- Old: ---- cliff-2.4.0.tar.gz New: ---- 0001-Make-openstackdocstheme-an-optional-doc-dependency.patch cliff-2.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cliff.spec ++++++ --- /var/tmp/diff_new_pack.IOnUCy/_old 2017-08-12 20:26:54.534497131 +0200 +++ /var/tmp/diff_new_pack.IOnUCy/_new 2017-08-12 20:26:54.538496570 +0200 @@ -17,13 +17,15 @@ Name: python-cliff -Version: 2.4.0 +Version: 2.8.0 Release: 0 Url: https://github.com/dreamhost/cliff Summary: Command Line Interface Formulation Framework License: Apache-2.0 Group: Development/Languages/Python -Source: https://pypi.io/packages/source/c/cliff/cliff-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/c/cliff/cliff-%{version}.tar.gz +# PATCH-FEATURE-UPSTREAM 0001-Make-openstackdocstheme-an-optional-doc-dependency.patch -- https://review.openstack.org/491378 +Patch1: 0001-Make-openstackdocstheme-an-optional-doc-dependency.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-argparse BuildRequires: python-devel @@ -38,15 +40,15 @@ BuildRequires: python-nose BuildRequires: python-oslosphinx BuildRequires: python-pbr -BuildRequires: python-pyparsing >= 2.0.7 +BuildRequires: python-pyparsing >= 2.1.0 BuildRequires: python-six BuildRequires: python-stevedore Requires: python-PrettyTable >= 0.7 Requires: python-PyYAML >= 3.10.0 Requires: python-cmd2 >= 0.6.7 -Requires: python-pyparsing >= 2.0.7 +Requires: python-pyparsing >= 2.1.0 Requires: python-six >= 1.9.0 -Requires: python-stevedore >= 1.17.1 +Requires: python-stevedore >= 1.20.0 Requires: python-unicodecsv >= 0.8.0 BuildArch: noarch @@ -69,6 +71,7 @@ %prep %setup -q -n cliff-%{version} +%patch1 -p1 %build python setup.py build ++++++ 0001-Make-openstackdocstheme-an-optional-doc-dependency.patch ++++++ >From 5c37935139892a96fe11a563dda9fdcce31edba4 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold <tbecht...@suse.com> Date: Mon, 7 Aug 2017 09:28:04 +0200 Subject: [PATCH] Make openstackdocstheme an optional doc dependency cliff is a library that is used outside of OpenStack, too. Having a build requirement that needs something OpenStack specific makes life in cases (eg. for downstream packagers) more difficult. So let's make openstackdocstheme an optional requirement. Change-Id: I0f94a431be083b8b4baec850b1885ba07b5bf5c2 --- doc/source/conf.py | 19 +++++++++++++++---- setup.cfg | 7 +++++++ test-requirements.txt | 1 - tox.ini | 1 + 4 files changed, 23 insertions(+), 5 deletions(-) Index: cliff-2.8.0/doc/source/conf.py =================================================================== --- cliff-2.8.0.orig/doc/source/conf.py +++ cliff-2.8.0/doc/source/conf.py @@ -15,7 +15,15 @@ import datetime import subprocess -import openstackdocstheme +# make openstackdocstheme an optional dependency. cliff is a low level lib +# that is used outside of OpenStack. Not having something OpenStack specific +# as build requirement is a good thing. +try: + import openstackdocstheme +except ImportError: + has_openstackdocstheme = False +else: + has_openstackdocstheme = True # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -32,8 +40,9 @@ import openstackdocstheme # ones. extensions = [ 'sphinx.ext.autodoc', - 'openstackdocstheme', ] +if has_openstackdocstheme: + extensions.append('openstackdocstheme') # openstackdocstheme options repository_name = 'openstack/cliff' @@ -109,7 +118,8 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'default' -html_theme = 'openstackdocs' +if has_openstackdocstheme: + html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -118,7 +128,8 @@ html_theme = 'openstackdocs' # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] -html_theme_path = [openstackdocstheme.get_html_theme_path()] +if has_openstackdocstheme: + html_theme_path = [openstackdocstheme.get_html_theme_path()] # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". Index: cliff-2.8.0/setup.cfg =================================================================== --- cliff-2.8.0.orig/setup.cfg +++ cliff-2.8.0/setup.cfg @@ -16,6 +16,13 @@ classifier = Intended Audience :: Developers Environment :: Console +[extras] +docs = + # make openstackdocstheme an optional dependency. cliff is a low level lib + # that is used outside of OpenStack. Not having something OpenStack specific + # as build requirement is a good thing. + openstackdocstheme>=1.16.0 # Apache-2.0 + [global] setup-hooks = pbr.hooks.setup_hook Index: cliff-2.8.0/test-requirements.txt =================================================================== --- cliff-2.8.0.orig/test-requirements.txt +++ cliff-2.8.0/test-requirements.txt @@ -12,4 +12,3 @@ coverage!=4.4,>=4.0 # Apache-2.0 # this is required for the docs build jobs sphinx>=1.6.2 # BSD -openstackdocstheme>=1.11.0 # Apache-2.0 Index: cliff-2.8.0/tox.ini =================================================================== --- cliff-2.8.0.orig/tox.ini +++ cliff-2.8.0/tox.ini @@ -15,6 +15,7 @@ commands = python setup.py test --coverage --coverage-package-name=cliff --slowest --testr-args='{posargs}' coverage report --show-missing deps = -r{toxinidir}/test-requirements.txt + .[docs] [testenv:pep8] deps = flake8 ++++++ cliff-2.4.0.tar.gz -> cliff-2.8.0.tar.gz ++++++ ++++ 8493 lines of diff (skipped)