Update to 2.2

epel9
Robert Kuska 11 years ago
parent bac56856a7
commit 709809af70

@ -3,7 +3,7 @@
%global with_python3 1
Name: python-%{pypi_name}
Version: 2.0
Version: 2.2
Release: 1%{?dist}
Summary: A simple wrapper around optparse for powerful command line utilities
@ -11,7 +11,6 @@ License: BSD
URL: http://github.com/mitsuhiko/click
Source0: https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
# Tests are not included in pypi package, checked from github
Source1: click-%{version}-tests.tgz
BuildArch: noarch
BuildRequires: python-devel
@ -77,11 +76,9 @@ popd
%{__python2} setup.py install --skip-build --root %{buildroot}
%check
tar xzf %{SOURCE1}
PYTHONPATH=$(pwd) py.test-%{python2_version} tests --tb=long --verbose
%if 0%{?with_python3}
pushd %{py3dir}
tar xzf %{SOURCE1}
LANG=en_GB.utf8 LC_ALL=en_GB.utf8 PYTHONPATH=$(pwd) py.test-%{python3_version} tests --tb=long --verbose
popd
%endif
@ -99,6 +96,9 @@ popd
%changelog
* Mon Jun 30 2014 Robert Kuska <rkuska@redhat.com> - 2.2-1
- Update to 2.2
* Thu Jun 12 2014 Robert Kuska <rkuska@redhat.com> - 2.0-1
- Update to 2.0

Loading…
Cancel
Save