- 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
|
Sat Sep 1 11:14:33 UTC 2018 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@ -69,10 +69,10 @@ done
|
|||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand pushd %{buildroot}%{$python_sitelib}/guessit
|
export LANG='en_US.UTF8'
|
||||||
$python %{_bindir}/py.test
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
rm -rf .benchmarks .pytest_cache
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||||
popd
|
py.test-%{$python_version} guessit/test
|
||||||
}
|
}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user