[opensuse-python] pytest call in %check phase
Hi all, We happen to have mulitple options on how to call in pytest in the %check phase (see attachment). I guess this amount of variety is not really needed and we should provide macros for it and have ie. spec-cleaner replace the current matches with the macro as found. Basically most common and usable calls should be: %python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test- %{$python_bin_suffix} -v %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test- %{$python_bin_suffix} -v Which could be something like: %pytest_noarch %pytest_arch What is your take on this? Also some packages use %python_expand $python -m pytest but hey I am not to judge and it is not reflected in the attached list as I am lazy ;-) TIA Tom
participants (1)
-
Tomas Chvatal