Accepting request 913034 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/913034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyQt6-3D?expand=0&rev=2
This commit is contained in:
Richard Brown 2021-08-20 14:57:39 +00:00 committed by Git OBS Bridge
commit cc48c5248b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 19 09:29:27 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Don't write mtime-based init pyc file during import test
(boo#1047218)
-------------------------------------------------------------------
Tue Jun 15 13:09:32 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,5 +1,5 @@
#
# spec file for package python-PyQt6-3D
# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@ -72,6 +72,7 @@ used to generate the Python bindings for %{name}
%pyqt_install
%check
export PYTHONDONTWRITEBYTECODE=1 # boo#1047218
%{python_expand # there is no test suite. If it compiles and imports, it should be okay.
export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python -c 'from PyQt6 import Qt3DAnimation, Qt3DCore, Qt3DExtras, Qt3DInput, Qt3DLogic, Qt3DRender'