15
0
forked from pool/python-cliff

Accepting request 158847 from devel:languages:python

- add prettytable-0.7x.diff:
  - Be compatible with PrettyTable 0.7 
- tighten rpm dependencies (forwarded request 158846 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/158847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=4
This commit is contained in:
Stephan Kulow
2013-03-14 14:00:50 +00:00
committed by Git OBS Bridge
parent e2f2b21168
commit c12b6d89ca
3 changed files with 33 additions and 3 deletions

21
prettytable-0.7x.diff Normal file
View File

@@ -0,0 +1,21 @@
--- cliff.egg-info/requires.txt
+++ cliff.egg-info/requires.txt
@@ -1,4 +1,4 @@
distribute
-PrettyTable>=0.6,<0.7
+PrettyTable>=0.6,<0.8
cmd2==0.6.4
-pyparsing==1.5.7
\ Kein Zeilenumbruch am Dateiende.
+pyparsing==1.5.7
--- setup.py
+++ setup.py
@@ -23,7 +23,7 @@
install_requires = [
'distribute',
- 'PrettyTable>=0.6,<0.7',
+ 'PrettyTable>=0.6,<0.8',
'cmd2==0.6.4',
]

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 13 12:26:50 UTC 2013 - dmueller@suse.com
- add prettytable-0.7x.diff:
- Be compatible with PrettyTable 0.7
- tighten rpm dependencies
-------------------------------------------------------------------
Tue Mar 12 09:12:29 UTC 2013 - dmueller@suse.com

View File

@@ -24,6 +24,7 @@ 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: prettytable-0.7x.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-argparse
BuildRequires: python-devel
@@ -36,10 +37,10 @@ BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-pep8
BuildRequires: python-prettytable
BuildRequires: python-pyparsing
BuildRequires: python-pyparsing == 1.5.7
Requires: python-argparse
Requires: python-cmd2
Requires: python-prettytable
Requires: python-cmd2 == 0.6.4
Requires: python-prettytable >= 0.6
Requires: python-tablib
%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()")}
@@ -63,6 +64,7 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n cliff-%{version}
%patch0
%build
python setup.py build