forked from pool/python-tox
This commit is contained in:
parent
89cfd975f0
commit
5ba12ba7ba
@ -96,6 +96,8 @@ This is the HTML documentation for tox package.
|
||||
|
||||
%prep
|
||||
%setup -q -n tox-%{version}
|
||||
# remove cmdline test as they exec tox binary that is alternatived by us
|
||||
rm -f tests/unit/test_z_cmdline.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@ -108,9 +110,10 @@ done
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not network'
|
||||
|
||||
%post
|
||||
%python_install_alternative tox tox-quickstart
|
||||
|
Loading…
Reference in New Issue
Block a user