diff --git a/QDarkStyle-3.0.2.tar.gz b/QDarkStyle-3.0.2.tar.gz deleted file mode 100644 index 2057f1b..0000000 --- a/QDarkStyle-3.0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0c13508d2bf0f4919abb9cb5e4c3c8daa768b5da7232af313aeb194d3a61a2f -size 8330772 diff --git a/QDarkStyle-3.2.1.tar.gz b/QDarkStyle-3.2.1.tar.gz new file mode 100644 index 0000000..8661ffe --- /dev/null +++ b/QDarkStyle-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ef95c588169ff21c7b00007981d769371816ffa5bf73490c159135a0ffe7ae6 +size 8301251 diff --git a/QDarkStyle-issue275-pyside2.patch b/QDarkStyle-issue275-pyside2.patch deleted file mode 100644 index c645c59..0000000 --- a/QDarkStyle-issue275-pyside2.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 67fe9c150965b66b205dd9a0b3c1666d43d74335 Mon Sep 17 00:00:00 2001 -From: Daniel Pizetta -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() diff --git a/python-QDarkStyle.changes b/python-QDarkStyle.changes index 5aa0bd7..d5a3d9e 100644 --- a/python-QDarkStyle.changes +++ b/python-QDarkStyle.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Fri Nov 24 20:29:15 UTC 2023 - Ben Greiner + +- Update to 3.2.1 + * Add COLOR_DISABLED to vars #337 + * Enhance contributing guide +- Release 3.2: + * Improve C++ usage description #329 + * Add Qt6 support, fixes entries and docs + * Fix warnings calls #325 + * Fix hidden background Qtoolbox MR #324 + * Enhance contrast ligh theme MR #335 + * Drop Python 2 support #327 + * Add constant to disable color of widgets + * Fixes small typos and shebang cleanup +- Release 3.1: + * Fixes generating resources + * Correct spelling mistakes + * Refactoring functions from qdarkstyle.utils + * Include prefix of palette.ID for qrc, qss, _rc files, keep + working on C++ #273 + * Fix global variables issue #298 + * Include data files when installing package #299 +- Release 3.0.3: + * Temporary fix for expanded combo box in Qt 5.15, fixes #282, + #285, MR #288 + * Fix generating assets in Posix + * Fix tristate value for checkbox #275 + * Minor fixes and improvements +- Drop QDarkStyle-issue275-pyside2.patch + ------------------------------------------------------------------- Wed Aug 16 14:39:18 UTC 2023 - ecsos diff --git a/python-QDarkStyle.spec b/python-QDarkStyle.spec index 7e1835b..401e1a1 100644 --- a/python-QDarkStyle.spec +++ b/python-QDarkStyle.spec @@ -1,7 +1,7 @@ # -# spec file for package python-QDarkStyle-test +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,24 +27,23 @@ %{?sle15_python_module_pythons} %define X_display ":98" Name: python-QDarkStyle%{psuffix} -Version: 3.0.2 +Version: 3.2.1 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-setuptools +Requires: python-QtPy >= 2 +Requires(post): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %if %{with test} BuildRequires: %{python_module QDarkStyle = %{version}} -BuildRequires: %{python_module QtPy >= 1.9} +BuildRequires: %{python_module QtPy >= 2} BuildRequires: %{python_module qt5-devel} # pyside2 is for primary python3 flavor only BuildRequires: python3-pyside2