- Update package test syntax to match up other python pkgs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-guessit?expand=0&rev=12
This commit is contained in:
parent
8a23449611
commit
fef3e87e55
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 3 09:01:03 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update package test syntax to match up other python pkgs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 1 11:14:33 UTC 2018 - aloisio@gmx.com
|
||||
|
||||
|
@ -69,10 +69,10 @@ done
|
||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%{python_expand pushd %{buildroot}%{$python_sitelib}/guessit
|
||||
$python %{_bindir}/py.test
|
||||
rm -rf .benchmarks .pytest_cache
|
||||
popd
|
||||
export LANG='en_US.UTF8'
|
||||
export PYTHONDONTWRITEBYTECODE=1
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_version} guessit/test
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
|
Loading…
x
Reference in New Issue
Block a user