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
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 31 18:44:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Do not install tests on system
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 8 08:34:05 UTC 2019 - Michael Ströder <michael@stroeder.com>
|
Sat Jun 8 08:34:05 UTC 2019 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@@ -75,7 +75,7 @@ feature.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/pylint/test/
|
||||||
for p in pylint epylint pyreverse symilar ; do
|
for p in pylint epylint pyreverse symilar ; do
|
||||||
%python_clone -a %{buildroot}%{_bindir}/$p
|
%python_clone -a %{buildroot}%{_bindir}/$p
|
||||||
done
|
done
|
||||||
@@ -90,7 +90,7 @@ done
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} pylint/test/
|
%pytest pylint/test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Reference in New Issue
Block a user