forked from pool/python-PyQt6-Charts
- Don't write mtime-based init pyc file during import test
(boo#1047218) OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-PyQt6-Charts?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 19 09:30:47 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Don't write mtime-based init pyc file during import test
|
||||||
|
(boo#1047218)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 15 13:12:14 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
Tue Jun 15 13:12:14 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyQt6-Charts
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
@@ -65,12 +65,12 @@ used to generate the Python bindings for %{name}
|
|||||||
%pyqt_install
|
%pyqt_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1 # boo#1047218
|
||||||
%{python_expand # there is no test suite. If it compiles and imports, it should be okay.
|
%{python_expand # there is no test suite. If it compiles and imports, it should be okay.
|
||||||
export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
||||||
$python -c 'from PyQt6 import Qt%{qtlib}; assert Qt%{qtlib}.PYQT_CHART_VERSION_STR == "%{version}"'
|
$python -c 'from PyQt6 import Qt%{qtlib}; assert Qt%{qtlib}.PYQT_CHART_VERSION_STR == "%{version}"'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NEWS README
|
%doc NEWS README
|
||||||
|
Reference in New Issue
Block a user