1
0

12 Commits

Author SHA256 Message Date
60866e4999 Accepting request 1289116 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1289116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=11
2025-06-30 11:06:23 +00:00
5aec6eb74a - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QDarkStyle?expand=0&rev=23
2025-06-30 04:08:58 +00:00
8937bc0917 Accepting request 1282335 from devel:languages:python
Forwarded request #1281835 from krop

- Drop pyside2 support for Leap 16 and factory (boo#1243916)

OBS-URL: https://build.opensuse.org/request/show/1282335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=10
2025-06-03 15:57:28 +00:00
7268f794ae - Drop pyside2 support for Leap 16 and factory (boo#1243916)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QDarkStyle?expand=0&rev=21
2025-06-03 13:20:43 +00:00
e844e8138a Accepting request 1181543 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=9
2024-06-19 14:37:09 +00:00
ae2a37036c Accepting request 1128986 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1128986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=8
2023-11-27 21:43:10 +00:00
3d049d9f34 Accepting request 1104323 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1104323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=7
2023-08-17 17:44:34 +00:00
Richard Brown
0401087ac8 Accepting request 884006 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/884006
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=6
2021-04-10 13:27:43 +00:00
4ba3f19beb Accepting request 859297 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/859297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=5
2020-12-30 16:12:57 +00:00
25b6000985 Accepting request 806988 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/806988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=4
2020-05-19 12:49:12 +00:00
43ab52f3b3 Accepting request 767948 from devel:languages:python
- Fix the tarball fetching

- disable python2 as build dependency pyside is only available on python3
- update to version 2.8:
 -  Fix tooltip giant rectangle #174
 -  Fix QTextEdit wihout borders inside frame #188
 -  Fix PyQt5 issuies on dropbown #191
 -  Fix combo box with icons #169
 -  Fix QToolbBar vertical handle #210
 -  Fix pane tab labelcropped on activation #199
 -  Enhance vertical/horiontal lines #184
 -  Enhance tool button size and spacing #181, #183, #202
 -  Enhance buttons and inputs with focus, blue border #194, #211
 -  Enhance QSplitter #207
 -  Removed QStatusBar vertical lines #205
- update to version 2.7:
 -  Remove utils from import in qdarkstyle, #170
 -  Fix border colors in tool button #176
 -  Fix scroll area and stacked with 2px padding, #159
 -  Fix backgroung submenu color, #179
 -  Fix extra border aside header's arrow indicator, #180
 -  Fix menu right arrrow indicator
 -  Fix slide bars colors, #150
 -  Fix QLabels problems, #163, #139
 -  Fix problems with example settings using PySide2 and --no\_dark #167
 -  Provide SVG files for all images, standard names and sizes, fix images, #149
 -  Improve images and add high resolution images, #140
 -  Improve docs
 -  Add check to scripts for generating images, #137
 -  Fix tox and travis scripts #76

OBS-URL: https://build.opensuse.org/request/show/767948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=3
2020-01-29 12:15:07 +00:00
77c36fe3d4 Accepting request 705019 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/705019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QDarkStyle?expand=0&rev=2
2019-05-24 09:33:00 +00:00
2 changed files with 21 additions and 10 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jun 30 04:08:40 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Mon Jun 2 08:54:23 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Drop pyside2 support for Leap 16 and factory (boo#1243916)
-------------------------------------------------------------------
Thu May 23 08:16:14 UTC 2024 - Max Lin <mlin@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-QDarkStyle
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,15 +31,16 @@ 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
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-QtPy >= 2
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module QDarkStyle = %{version}}
@@ -47,10 +48,8 @@ BuildRequires: %{python_module QtPy >= 2}
BuildRequires: %{python_module qt5-devel}
# pyside2 is for primary python3 flavor only
# but the exception was in Leap 15.6 has both built with 3.6 and 3.11
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500
%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150600
BuildRequires: %{python_module pyside2}
%else
BuildRequires: python3-pyside2
%endif
BuildRequires: xvfb-run
%endif
@@ -65,12 +64,12 @@ sed -i '1{\,^#!%{_bindir}/env python,d}' qdarkstyle/*.py qdarkstyle/*/*.py
%build
%if !%{with test}
%python_build
%pyproject_wheel
%endif
%install
%if !%{with test}
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/qdarkstyle
%python_clone -a %{buildroot}%{_bindir}/qdarkstyle.example
%python_clone -a %{buildroot}%{_bindir}/qdarkstyle.utils
@@ -81,8 +80,10 @@ sed -i '1{\,^#!%{_bindir}/env python,d}' qdarkstyle/*.py qdarkstyle/*/*.py
%check
export LANG=C.UTF-8
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python -B -m qdarkstyle.example --qt_from=pyqt5 --test
%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150600
# pyside2 is for primary python3 flavor only
PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run python%{python_bin_suffix} -B -m qdarkstyle.example --qt_from=pyside2 --test
%endif
# no qtsass compiler (extras_require 'develop')
#%%pytest
%endif
@@ -101,7 +102,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} xvfb-run python%{python_bin_suffix} -B
%python_alternative %{_bindir}/qdarkstyle.example
%python_alternative %{_bindir}/qdarkstyle.utils
%{python_sitelib}/qdarkstyle
%{python_sitelib}/QDarkStyle-%{version}*-info
%{python_sitelib}/[Qq][Dd]ark[Ss]tyle-%{version}.dist-info
%endif
%changelog