14
0

Accepting request 1128891 from home:bnavigator:branches:devel:languages:python:numeric

- 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

OBS-URL: https://build.opensuse.org/request/show/1128891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QDarkStyle?expand=0&rev=17
This commit is contained in:
2023-11-26 22:04:30 +00:00
committed by Git OBS Bridge
parent 1ebc78d88b
commit cd9768842a
5 changed files with 41 additions and 36 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a0c13508d2bf0f4919abb9cb5e4c3c8daa768b5da7232af313aeb194d3a61a2f
size 8330772

3
QDarkStyle-3.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ef95c588169ff21c7b00007981d769371816ffa5bf73490c159135a0ffe7ae6
size 8301251

View File

@@ -1,25 +0,0 @@
From 67fe9c150965b66b205dd9a0b3c1666d43d74335 Mon Sep 17 00:00:00 2001
From: Daniel Pizetta <daniel.pizetta@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()

View File

@@ -1,3 +1,34 @@
-------------------------------------------------------------------
Fri Nov 24 20:29:15 UTC 2023 - Ben Greiner <code@bnavigator.de>
- 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 <ecsos@opensuse.org>

View File

@@ -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