]> git.pld-linux.org Git - packages/python3-click.git/blobdiff - python-click.spec
- release 4 (by relup.sh)
[packages/python3-click.git] / python-click.spec
index c3f8f64c650f329c64d3aa8e0d855de3d2e44606..f4dddad065c1281ba8277aeb4c91837fcaa26221 100644 (file)
@@ -10,7 +10,7 @@ Summary:      A simple wrapper around optparse for powerful command line utilities
 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
@@ -88,14 +88,14 @@ Dokumentacja do modułu Pythona click.
 %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
 
This page took 0.081765 seconds and 4 git commands to generate.