Accepting request 993765 from home:coolo:branches:openSUSE:Factory
- Disable Qt5 bindings as they require python2 (for chromium within qtwebengine) and we want to get rid of it in ring1 I honestly can't judge the impact of this change, but I'm trying to limit python2 (and with it qt5webengine and with it pyside2) dependencies in ring1 OBS-URL: https://build.opensuse.org/request/show/993765 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=38
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 8 12:12:04 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- Disable Qt5 bindings as they require python2 (for chromium within
|
||||
qtwebengine) and we want to get rid of it in ring1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 3 19:09:24 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@@ -25,16 +25,9 @@
|
||||
%bcond_with test
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%bcond_without pyqt5
|
||||
%bcond_with pyqt5
|
||||
%bcond_without pyqt6
|
||||
%ifnarch %power64 s390x
|
||||
%bcond_without pyside2
|
||||
%else
|
||||
%bcond_with pyside2
|
||||
%endif
|
||||
# unfortunately we get a segfault in the other backends when pyside6 is installed at the same time (!?)
|
||||
# test locally: osc build -M test --with pyside6 --without pyside2 --without pyqt5 --without pyqt6 --define "pythons python3"
|
||||
%bcond_with pyside6
|
||||
%bcond_without pyside6
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-QtPy%{psuffix}
|
||||
@@ -83,9 +76,6 @@ BuildRequires: qt6-sql-sqlite
|
||||
BuildRequires: %{python_module PyQt6-WebEngine}
|
||||
%endif
|
||||
%endif
|
||||
%if %{with pyside2}
|
||||
BuildRequires: python3-pyside2
|
||||
%endif
|
||||
%if %{with pyside6}
|
||||
BuildRequires: python3-pyside6
|
||||
BuildRequires: qt6-sql-sqlite
|
||||
@@ -152,10 +142,6 @@ donttest_pyqt6=" or test_qtwebengine"
|
||||
export QT_API=pyqt6 FORCE_QT_API=1
|
||||
%pytest -rwEfs -v ../qtpy -k "not ($donttest_qt_api $donttest $donttest_pyqt6)"
|
||||
%endif
|
||||
%if %{with pyside2}
|
||||
export QT_API=pyside2 FORCE_QT_API=1
|
||||
pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api $donttest)"
|
||||
%endif
|
||||
%if %{with pyside6}
|
||||
export QT_API=pyside6 FORCE_QT_API=1
|
||||
pytest-%{python3_bin_suffix} -rwEfs -v ../qtpy -k "not ($donttest_qt_api $donttest)"
|
||||
|
Reference in New Issue
Block a user