Summary(pl.UTF-8): Proste obudowanie optparse do tworzenia potężnych narzędzi linii poleceń
Name: python-%{module}
Version: 6.7
-Release: 2
+Release: 4
License: BSD
Group: Libraries/Python
Source0: https://github.com/pallets/click/archive/%{version}.tar.gz
%if %{with python2}
%py_build
%if %{with tests}
-PYTHONPATH=$(pwd) py.test-%{py_ver} tests --tb=long --verbose
+PYTHONPATH=$(pwd) %{__python} -m pytest tests --tb=long --verbose
%endif
%endif
%if %{with python3}
%py3_build
%if %{with tests}
-LC_ALL=C.UTF-8 PYTHONPATH=$(pwd) py.test-%{py3_ver} tests --tb=long --verbose
+LC_ALL=C.UTF-8 PYTHONPATH=$(pwd) %{__python3} -m pytest tests --tb=long --verbose
%endif
%endif