15
0
forked from pool/python-cliff

Accepting request 407220 from devel:languages:python

- Switch to pypi.io as Source url

- update to 2.1.0:
  * Updated from global requirements
  * Update --max-width help
  * Add more test coverage for shell formatter
  * Add more test coverage for CSV formatter
  * Support multiple sub commands in completion
  * Factorize more test data
  * Factorize some test data
  * Factorize common test code
  * Factorize argparse importing
  * Updated from global requirements
  * Updated from global requirements
  * Add CLIFF_MAX_TERM_WIDTH envvar to complement --max-width
  * Fix prettytable.PrettyTable().max_width wrong usage
  * Fix AttributeError when entry point load failed
  * Distinguish no existed columns in ShowOne
  * Refactor HelpCommand
  * Updated from global requirements
  * Remove httplib2 from test-requirements.txt
  * Sync help message for --help
  * handle empty list in table formatter
  * Drop Python 2.6 support
  * Revert "app,command: disallow abbrev by default"
  * Fixes terminal_width on Windows
  * Updated from global requirements
  * remove openstack-common.conf
  * Add doc for deferred_help parameter
  * Fix pep8 failure

OBS-URL: https://build.opensuse.org/request/show/407220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=26
This commit is contained in:
2016-07-14 07:46:14 +00:00
committed by Git OBS Bridge
parent ceea8d7eea
commit 378590c61d
5 changed files with 65 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cliff
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX 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,13 +17,13 @@
Name: python-cliff
Version: 1.15.0
Version: 2.1.0
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
Source: https://pypi.io/packages/source/c/cliff/cliff-%{version}.tar.gz
Patch0: relax-sphinx-requirement.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-argparse
@@ -35,7 +35,7 @@ BuildRequires: python-Sphinx
BuildRequires: python-cmd2
BuildRequires: python-coverage >= 3.6
BuildRequires: python-httplib2 >= 0.7.5
BuildRequires: python-mock >= 1.2
BuildRequires: python-mock >= 2.0
BuildRequires: python-nose
BuildRequires: python-oslosphinx
BuildRequires: python-pbr
@@ -43,21 +43,13 @@ BuildRequires: python-pyparsing >= 2.0.1
BuildRequires: python-six
BuildRequires: python-stevedore
Requires: python-PrettyTable >= 0.7
%if 0%{?suse_version} <= 1110
Requires: python-argparse
%endif
Requires: python-PyYAML >= 3.1.0
Requires: python-cmd2 >= 0.6.7
Requires: python-pyparsing >= 2.0.1
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.5.0
Requires: python-stevedore >= 1.10.0
Requires: python-unicodecsv >= 0.8.0
%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
%else
BuildArch: noarch
%endif
%description
cliff is a framework for building command line programs. It uses