15
0
forked from pool/python-cliff

Accepting request 201416 from devel:languages:python

- 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 (forwarded request 201198 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/201416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=15
This commit is contained in:
Stephan Kulow
2013-10-01 06:26:50 +00:00
committed by Git OBS Bridge
parent 373f4dc33b
commit 0946425915
6 changed files with 17 additions and 54 deletions

View File

@@ -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 speilicke@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-pep8
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 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n cliff-%{version}
%patch0
%patch1 -p1
%build
python setup.py build