15
0

Accepting request 1191536 from home:bmwiedemann:branches:devel:languages:python

Don't write python bytecode in tests for reproducible builds

OBS-URL: https://build.opensuse.org/request/show/1191536
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=14
This commit is contained in:
2024-08-06 07:30:06 +00:00
committed by Git OBS Bridge
parent e880527d44
commit 34937c3dae
2 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ rm -rf %{buildroot}%{_bindir}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTHONDONTWRITEBYTECODE=1
# Still not resolved issues with tests, gh#editorconfig/editorconfig-core-py#37
%{python_expand cmake .
export PYTHONPATH=%{buildroot}%{$python_sitelib}