Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-QDarkStyle for openSUSE:Factory checked in at 2021-04-10 15:27:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-QDarkStyle (Old) and /work/SRC/openSUSE:Factory/.python-QDarkStyle.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-QDarkStyle" Sat Apr 10 15:27:43 2021 rev:6 rq:884006 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-QDarkStyle/python-QDarkStyle.changes 2020-12-30 17:13:06.200501126 +0100 +++ /work/SRC/openSUSE:Factory/.python-QDarkStyle.new.2401/python-QDarkStyle.changes 2021-04-10 15:28:46.778477432 +0200 @@ -1,0 +2,25 @@ +Thu Apr 8 19:36:26 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to version 3.0.2 + * Enable the use of setTabColor and add example, fixes #212 + * Update description to inform about Python 2 and Qt4 unsupported + versions + * Add missing examples #251 + * Enhancement of state of active/non-active items in views #209 + * Update manifest to include UI files + * New structure to create different palettes #268, #164 + * New light palette #240, #268 + * Improved dark palette #252, #266, #264, #265, #248 + * Improved tool buttons #260 + * Improved tabs #270, #271, #267 + * Improved combo boxes #263 + * Improved close/float sizes os-dependent #267 + * Fix checkbox problems #200, #259, #239 + * Fix indicators' colors in menus and tables #242 + * Fix dock widget tab hover #243 + * Workaround for menus with indicators and icons #214 + * Update to be compatible with Qt 5.[12,13,14,15] +- add QDarkStyle-issue275-pyside2.patch + gh#ColinDuquesnoy/QDarkStyleSheet#275 + +------------------------------------------------------------------- Old: ---- QDarkStyle-2.8.1.tar.gz New: ---- QDarkStyle-3.0.2.tar.gz QDarkStyle-issue275-pyside2.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-QDarkStyle.spec ++++++ --- /var/tmp/diff_new_pack.lzatjn/_old 2021-04-10 15:28:47.322478072 +0200 +++ /var/tmp/diff_new_pack.lzatjn/_new 2021-04-10 15:28:47.326478077 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-QDarkStyle +# spec file for package python-QDarkStyle-test # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,26 +28,24 @@ %define skip_python2 1 %define X_display ":98" Name: python-QDarkStyle%{psuffix} -Version: 2.8.1 +Version: 3.0.2 Release: 0 Summary: A dark stylesheet for Python and Qt applications License: MIT Group: Development/Languages/Python URL: https://github.com/ColinDuquesnoy/QDarkStyleSheet Source: https://github.com/ColinDuquesnoy/QDarkStyleSheet/archive/v%{version}.tar.gz#/QDarkStyle-%{version}.tar.gz +#PATCH-FIX-UPSTREAM QDarkStyle-issue275-pyside2.patch -- gh#ColinDuquesnoy/QDarkStyleSheet#275 +Patch0: https://github.com/ColinDuquesnoy/QDarkStyleSheet/commit/67fe9c1.patch#/QDarkStyle-issue275-pyside2.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-QtPy >= 1.9 -Requires: python-helpdev >= 0.6.10 Requires: python-setuptools BuildArch: noarch %if %{with test} BuildRequires: %{python_module QDarkStyle = %{version}} BuildRequires: %{python_module QtPy >= 1.9} -BuildRequires: %{python_module helpdev >= 0.6.10} -BuildRequires: %{python_module pytest-qt} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module qt5-devel} # pyside2 is for primary python3 flavor only BuildRequires: python3-pyside2 @@ -59,35 +57,35 @@ QDarkStyle is a dark stylesheet for Python and Qt applications. %prep -%setup -q -n QDarkStyleSheet-%{version} -sed -i '1{\,^#!%{_bindir}/env python,d}' qdarkstyle/*.py qdarkstyle/utils/*.py +%autosetup -p1 -n QDarkStyleSheet-%{version} +sed -i '1{\,^#!%{_bindir}/env python,d}' qdarkstyle/*.py qdarkstyle/*/*.py %build %if !%{with test} %python_build %endif -%if %{with test} -%check -export LANG=C.UTF-8 -export PYTHONDONTWRITEBYTECODE=1 - -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python example/example.py --qt_from=pyqt5 --test -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python example/example.py --qt_from=pyqt5 --test --no_dark -# pyside2 is for primary python3 flavor only -PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run python3 example/example.py --qt_from=pyside2 --test -PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run python3 example/example.py --qt_from=pyside2 --test --no_dark -%endif - %install %if !%{with test} %python_install %python_clone -a %{buildroot}%{_bindir}/qdarkstyle +%python_clone -a %{buildroot}%{_bindir}/qdarkstyle.example +%python_clone -a %{buildroot}%{_bindir}/qdarkstyle.utils %python_expand %fdupes %{buildroot}%{$python_sitelib} %endif +%if %{with test} +%check +export LANG=C.UTF-8 +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python -B -m qdarkstyle.example --qt_from=pyqt5 --test +# pyside2 is for primary python3 flavor only +PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run python3 -B -m qdarkstyle.example --qt_from=pyside2 --test +# no qtsass compiler (extras_require 'develop') +#%%pytest +%endif + %post -%python_install_alternative qdarkstyle +%python_install_alternative qdarkstyle qdarkstyle.example qdarkstyle.utils %postun %python_uninstall_alternative qdarkstyle @@ -97,6 +95,8 @@ %doc AUTHORS.rst CHANGES.rst README.rst %license LICENSE.rst %python_alternative %{_bindir}/qdarkstyle +%python_alternative %{_bindir}/qdarkstyle.example +%python_alternative %{_bindir}/qdarkstyle.utils %{python_sitelib}/qdarkstyle %{python_sitelib}/QDarkStyle-%{version}*-info %endif ++++++ QDarkStyle-2.8.1.tar.gz -> QDarkStyle-3.0.2.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-QDarkStyle/QDarkStyle-2.8.1.tar.gz /work/SRC/openSUSE:Factory/.python-QDarkStyle.new.2401/QDarkStyle-3.0.2.tar.gz differ: char 16, line 1 ++++++ QDarkStyle-issue275-pyside2.patch ++++++ >From 67fe9c150965b66b205dd9a0b3c1666d43d74335 Mon Sep 17 00:00:00 2001 From: Daniel Pizetta <daniel.pize...@usp.br> Date: Sun, 4 Apr 2021 10:54:25 -0300 Subject: [PATCH] Fix tristate enumerator, closes #275 --- qdarkstyle/example/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdarkstyle/example/__main__.py b/qdarkstyle/example/__main__.py index c9a34fa5..b3d84e49 100644 --- a/qdarkstyle/example/__main__.py +++ b/qdarkstyle/example/__main__.py @@ -162,9 +162,9 @@ def main(): uic.loadUi(os.path.join(here, 'ui/dw_buttons.ui'), dw_buttons) window.addDockWidget(QtCore.Qt.RightDockWidgetArea, dw_buttons) - # Set state indeterminate (value=1) + # Set state indeterminate #275 dw_buttons.checkBoxTristate.stateChanged.connect(dw_buttons.checkBoxTristateDis.setCheckState) - dw_buttons.checkBoxTristate.setCheckState(1) + dw_buttons.checkBoxTristate.setCheckState(QtCore.Qt.PartiallyChecked) # Add actions on popup toolbuttons menu = QtWidgets.QMenu()