forked from pool/python-pylint
- Do not install tests on system
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylint?expand=0&rev=93
This commit is contained in:
committed by
Git OBS Bridge
parent
dd60ce74b6
commit
30f807a735
@@ -75,7 +75,7 @@ feature.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/pylint/test/
|
||||
for p in pylint epylint pyreverse symilar ; do
|
||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||
done
|
||||
@@ -90,7 +90,7 @@ done
|
||||
|
||||
%check
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/
|
||||
%pytest pylint/test
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
|
Reference in New Issue
Block a user