Accepting request 913037 from KDE:Qt:PyQt

- Don't write mtime-based init pyc file during import test
  (boo#1047218)

OBS-URL: https://build.opensuse.org/request/show/913037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyqt-builder?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2021-08-24 08:53:56 +00:00 committed by Git OBS Bridge
commit c228ea6796
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 19 09:32:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Don't write mtime-based init pyc file during import test
(boo#1047218)
-------------------------------------------------------------------
Sun Jul 4 13:42:44 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -62,6 +62,7 @@ sip-install or pip can then be used to build and install the project.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTHONDONTWRITEBYTECODE=1 # boo#1047218
%{python_expand # no real unit tests; check import and bundle entry point
export PYTHONPATH=%{buildroot}%{$python_sitelib}
$python -c 'import pyqtbuild'