15
0
forked from pool/python-cliff

Accepting request 174973 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/174973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=9
This commit is contained in:
Stephan Kulow
2013-05-13 13:25:22 +00:00
committed by Git OBS Bridge
parent f1ad881443
commit 97bfc7e179
6 changed files with 14 additions and 60 deletions

View File

@@ -17,31 +17,29 @@
Name: python-cliff
Version: 1.3.2
Version: 1.3.3
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: ignore-cmd2-requires.diff
Patch1: 0001-Restore-compatibility-with-Prettytable-0.7.2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-argparse
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-tablib
# Test requirements:
BuildRequires: python-PrettyTable
BuildRequires: python-cmd2
BuildRequires: python-coverage
BuildRequires: python-mock >= 1.0.1
BuildRequires: python-nose
BuildRequires: python-pep8
BuildRequires: python-prettytable
BuildRequires: python-pyparsing == 1.5.7
Requires: python-PrettyTable >= 0.6
Requires: python-argparse
Requires: python-cmd2 >= 0.6.4
Requires: python-prettytable >= 0.6
Requires: python-pyparsing == 1.5.7
Requires: python-tablib
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -66,8 +64,6 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n cliff-%{version}
%patch0
%patch1 -p1
%build
python setup.py build