forked from pool/python-cliff
Accepting request 318751 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/318751 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=23
This commit is contained in:
@@ -17,13 +17,14 @@
|
||||
|
||||
|
||||
Name: python-cliff
|
||||
Version: 1.10.1
|
||||
Version: 1.13.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
|
||||
Patch0: relax-sphinx-requirement.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
@@ -75,6 +76,7 @@ This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n cliff-%{version}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
@@ -84,6 +86,8 @@ python setup.py build_sphinx
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
echo > test-requirements.txt
|
||||
echo > requirements.txt
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
|
||||
Reference in New Issue
Block a user