diff --git a/QtPy-2.2.0.tar.gz b/QtPy-2.2.0.tar.gz deleted file mode 100644 index 1c1b5bd..0000000 --- a/QtPy-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d85f1b121f24a41ad26c55c446e66abdb7c528839f8c4f11f156ec4541903914 -size 51573 diff --git a/QtPy-2.3.0.tar.gz b/QtPy-2.3.0.tar.gz new file mode 100644 index 0000000..e1ba13b --- /dev/null +++ b/QtPy-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0603c9c83ccc035a4717a12908bf6bc6cb22509827ea2ec0e94c2da7c9ed57c5 +size 53980 diff --git a/python-QtPy.changes b/python-QtPy.changes index 41ec292..5a0f970 100644 --- a/python-QtPy.changes +++ b/python-QtPy.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Sun Nov 20 19:55:23 UTC 2022 - Ben Greiner + +- Update to 2.3.0 + * PR 382 - PR: Add QtPdf and QtPdfWidgets, by @jschueller (381) + * PR 380 - PR: Enable more qt6 tests, by @jschueller + * PR 379 - PR: Raise error when no bindings are found at + __init__, by @dalthviz (367) + * PR 378 - PR: Try PySide6 on conda, by @jschueller + * PR 376 - PR: Expand the CI test matrix with Qt/bindings 6.4 and + fix tests with PyQt 5.9, by @CAM-Gerlach (375) + * PR 374 - Don't re-assign Qt.MouseButton.MiddleButton on + PySide6, by @astrofrog (373) + * PR 372 - PR: Add Qsci to the imports, by @dgoeries (134) +- Release 2.2.1 + * PR 368 - PR: Add missing self for QtBindingsNotFoundError + definition, by @dalthviz + * PR 366 - PR: Aliased QUndoCommand, provided + QLineEdit.getTextMargins() and QFontMetricsF.width(), by + @random-developer (365) + * PR 363 - PR: Fix typo in Qt flags in Readme, by @Czaki + * PR 362 - PR: Fix various minor typos found with Codespell, by + @luzpaz + * PR 361 - PR: toPython helpers for QDate and QTime, by + @bob-schumaker + * PR 360 - CI: Ensure conda-forge channel usage when testing with + conda, by @dalthviz + ------------------------------------------------------------------- Thu Aug 18 13:23:53 UTC 2022 - Ben Greiner diff --git a/python-QtPy.spec b/python-QtPy.spec index e45c04e..4734160 100644 --- a/python-QtPy.spec +++ b/python-QtPy.spec @@ -35,9 +35,8 @@ BuildArch: noarch %bcond_with pyside6 %endif -%define skip_python2 1 Name: python-QtPy%{psuffix} -Version: 2.2.0 +Version: 2.3.0 Release: 0 Summary: Abstraction layer on top of Qt bindings License: MIT @@ -59,7 +58,7 @@ Requires(postun):update-alternatives # require (e.g. qtwebengine). Note that setup.py does not declare # any requirements, in this regard either. %if %{with test} -BuildRequires: %{python_module QtPy = %{version}} +BuildRequires: %{python_module QtPy-test = %{version}} BuildRequires: %{python_module pytest >= 6} BuildRequires: %{python_module pytest-qt} %if %{with pyqt5} @@ -102,6 +101,17 @@ Basically, you can write your code as if you were using PyQt or PySide directly, but import Qt modules from qtpy instead of PyQt5, PySide2, PyQt6 or PySide6. +%package test +Summary: The qtpy.tests module +Requires: %{name} = %{version} + +%description test +QtPy is a small abstraction layer that lets you +write applications using a single API call to either PyQt or PySide. + +This subpackage separately provides the qtpy.tests module +in order to avoid stupid rpmlint errors. + %prep %setup -q -n QtPy-%{version} # wrong EOL encondig @@ -177,8 +187,13 @@ popd %doc AUTHORS.md CHANGELOG.md README.md %license LICENSE.txt %{python_sitelib}/qtpy +%exclude %{python_sitelib}/qtpy/tests %{python_sitelib}/QtPy-%{version}*-info %python_alternative %{_bindir}/qtpy + +%files %{python_files test} +%license LICENSE.txt +%{python_sitelib}/qtpy/tests %endif %changelog