Accepting request 913014 from home:bmwiedemann:branches:KDE:Qt:PyQt
Stop writing mtime-based pyc files during tests (boo#1047218) OBS-URL: https://build.opensuse.org/request/show/913014 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6?expand=0&rev=7
This commit is contained in:
parent
ff75876522
commit
ddc3d38171
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 19 07:33:23 UTC 2021 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Stop writing mtime-based pyc files during tests (boo#1047218)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 14 22:42:04 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -121,6 +121,7 @@ dos2unix examples/quick/models/*/view.qml
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%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 QtCore; assert QtCore.PYQT_VERSION_STR == "%{version}"'
|
||||
|
Loading…
Reference in New Issue
Block a user