Hello community,
here is the log from the commit of package python-QDarkStyle for
openSUSE:Factory checked in at 2020-05-19 14:49:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-QDarkStyle (Old)
and /work/SRC/openSUSE:Factory/.python-QDarkStyle.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-QDarkStyle"
Tue May 19 14:49:12 2020 rev:4 rq:806988 version:2.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-QDarkStyle/python-QDarkStyle.changes
2020-01-29 13:15:39.714086443 +0100
+++
/work/SRC/openSUSE:Factory/.python-QDarkStyle.new.2738/python-QDarkStyle.changes
2020-05-19 14:49:15.724173580 +0200
@@ -1,0 +2,20 @@
+Mon May 18 13:43:58 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Add _multibuild to run the test in a flavor and use xvfb-run
+ instead of calling the Xvfb server directly and depending on the
+ xorg-x11-server-Xvfb package which is not available in SLE/Leap.
+
+-------------------------------------------------------------------
+Mon May 18 11:12:28 UTC 2020 - Antonio Larrosa <[email protected]>
+
+- Update to 2.8.1:
+ * Fix rst file formats and links #229
+ * Add .gitattributes for generated and documentation files
+ * Add more complete tox and Travis envs with many checks
+ * Fix removing message format argument
+ * Fix QGroupBox small indicator size #218
+ * Fix QGroupBox incorrect indicator icon when unfocused #219
+ * Fix QDateTimeEdit incorrect drop-down arrow icon #220
+ * Fix documentation
+
+-------------------------------------------------------------------
Old:
----
QDarkStyle-2.8.tar.gz
New:
----
QDarkStyle-2.8.1.tar.gz
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-QDarkStyle.spec ++++++
--- /var/tmp/diff_new_pack.DzB55b/_old 2020-05-19 14:49:16.432175150 +0200
+++ /var/tmp/diff_new_pack.DzB55b/_new 2020-05-19 14:49:16.436175158 +0200
@@ -16,31 +16,42 @@
#
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define X_display ":98"
-Name: python-QDarkStyle
-Version: 2.8
+Name: python-QDarkStyle%{psuffix}
+Version: 2.8.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 QtPy >= 1.7}
-BuildRequires: %{python_module helpdev}
-BuildRequires: %{python_module pyside2}
-BuildRequires: %{python_module pytest-qt}
-BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module qt5-devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: xorg-x11-server-Xvfb
-Requires: python-QtPy >= 1.7
-Requires: python-helpdev
+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 pyside2}
+BuildRequires: %{python_module pytest-qt}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module qt5-devel}
+BuildRequires: xvfb-run
+%endif
%python_subpackages
%description
@@ -51,33 +62,34 @@
sed -i '1{\,^#!%{_bindir}/env python,d}' qdarkstyle/*.py qdarkstyle/utils/*.py
%build
+%if !%{with test}
%python_build
+%endif
+%if %{with test}
%check
export LANG=C.UTF-8
-export DISPLAY=%{X_display}
export PYTHONDONTWRITEBYTECODE=1
-Xvfb %{X_display} >& Xvfb.log &
-trap "kill $! || true" EXIT
-sleep 10
-%{python_expand export PYTHON_PATH=%{buildroot}%{$python_sitelib}
-
-$python example/example.py --qt_from=pyqt5 --test
-$python example/example.py --qt_from=pyqt5 --test --no_dark
-
-$python example/example.py --qt_from=pyside2 --test
-$python example/example.py --qt_from=pyside2 --test --no_dark
-}
+
+%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
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python
example/example.py --qt_from=pyside2 --test
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run $python
example/example.py --qt_from=pyside2 --test --no_dark
+%endif
%install
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+%if !%{with test}
%files %{python_files}
%doc AUTHORS.rst CHANGES.rst README.rst
%license LICENSE.rst
%{_bindir}/qdarkstyle
%{python_sitelib}/qdarkstyle
%{python_sitelib}/QDarkStyle-*.egg-info
+%endif
%changelog
++++++ QDarkStyle-2.8.tar.gz -> QDarkStyle-2.8.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-QDarkStyle/QDarkStyle-2.8.tar.gz
/work/SRC/openSUSE:Factory/.python-QDarkStyle.new.2738/QDarkStyle-2.8.1.tar.gz
differ: char 15, line 1
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>