SHA256
1
0
forked from pool/python-QtPy

8 Commits

Author SHA256 Message Date
9590ba7cd5 Import openSUSE:Leap:16.0 modifications 2025-08-12 12:17:38 +02:00
306c293a97 Accepting request 1282339 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1282339
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QtPy?expand=0&rev=28
2025-06-03 15:51:35 +00:00
d7d2096b6e Accepting request 1281945 from home:krop:pyside2-removal
- Drop pyside2 support for Leap 16 and factory (boo#1243916)

OBS-URL: https://build.opensuse.org/request/show/1281945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=57
2025-06-03 13:25:00 +00:00
4908194950 - Normalize metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=56
2025-03-28 02:09:40 +00:00
0a8a64fae4 Accepting request 1247119 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1247119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QtPy?expand=0&rev=27
2025-02-19 15:03:31 +00:00
5e48b4e4a5 Accepting request 1247088 from home:glaubitz:branches:devel:languages:python
- Update to 2.4.3
  * Breaking change related to QMenu in 2.4.2 (PR 507) by @dalthviz
  * Hijacked PyQt types are not returned from native Qt APIs (PR 507) by @dalthviz
  * Check/fix several CI warnings (PR 511) by @dalthviz
  * PR: Remove `Mambaforge` usage and update Linux setup (CI), by @dalthviz) #501
  * PR: Ensure `QMenu` and `QToolBar` `isinstance` checks succeed and remove
    unneeded wrapper classes , by @dalthviz #505, #502
  * PR: Ignore PySide6 `QSqlDatabase.exec` `DeprecationWarning`, by @juliangilbey

OBS-URL: https://build.opensuse.org/request/show/1247088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=54
2025-02-19 14:19:29 +00:00
d058c895c3 Accepting request 1223204 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1223204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-QtPy?expand=0&rev=26
2024-11-11 12:45:22 +00:00
34b09b151e Accepting request 1222745 from home:nkrapp:branches:devel:languages:python
- Update to 2.4.2

Waiting for https://build.opensuse.org/requests/1222739

OBS-URL: https://build.opensuse.org/request/show/1222745
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=52
2024-11-10 21:36:51 +00:00
4 changed files with 38 additions and 11 deletions

Binary file not shown.

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed Feb 19 13:25:19 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.4.3
* Breaking change related to QMenu in 2.4.2 (PR 507) by @dalthviz
* Hijacked PyQt types are not returned from native Qt APIs (PR 507) by @dalthviz
* Check/fix several CI warnings (PR 511) by @dalthviz
* PR: Remove `Mambaforge` usage and update Linux setup (CI), by @dalthviz) #501
* PR: Ensure `QMenu` and `QToolBar` `isinstance` checks succeed and remove
unneeded wrapper classes , by @dalthviz #505, #502
* PR: Ignore PySide6 `QSqlDatabase.exec` `DeprecationWarning`, by @juliangilbey
-------------------------------------------------------------------
Thu Nov 7 16:24:15 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- Update to 2.4.2
* PR: Update coveralls config (CI) by @dalthviz in #428
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #468
* PR: Make QAction.setShortcut and setShortcuts accept many types by @StSav012 in #461
* [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #471
* PR: Fix coverage errors and macOS jobs by @dalthviz in #483
* PR: Update pytest.importorskip usage (CI) by @dalthviz in #486
* PR: Help users understand why PySide 6.8.0 gives a segfault by @hmaarrfk in #495
* Replace Quansight logo by CZI one in Readme by @ccordoba12 in #497
* PR: Add QtCore.Qt.MouseButton.MidButton alias for Qt6 by @PierreRaybaut in #475
-------------------------------------------------------------------
Tue Apr 16 11:01:50 UTC 2024 - Max Lin <mlin@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-QtPy
#
# 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
@@ -40,13 +40,13 @@ BuildArch: noarch
%endif
%{?sle15_python_module_pythons}
Name: python-QtPy%{psuffix}
Version: 2.4.1
Version: 2.4.3
Release: 0
Summary: Abstraction layer on top of Qt bindings
License: MIT
Group: Development/Languages/Python
URL: https://github.com/spyder-ide/qtpy
Source: https://files.pythonhosted.org/packages/source/Q/QtPy/QtPy-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/Q/QtPy/qtpy-%{version}.tar.gz
# from https://github.com/spyder-ide/qtpy/pull/466
Patch1: qt6.6-deprecations.patch
BuildRequires: %{python_module base >= 3.7}
@@ -68,6 +68,7 @@ Requires(postun):update-alternatives
%if %{with test}
BuildRequires: %{python_module QtPy-test = %{version}}
BuildRequires: %{python_module pytest >= 6}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-qt}
%if %{with pyqt5}
BuildRequires: %{python_module qt3d-qt5}
@@ -100,7 +101,7 @@ BuildRequires: python3-pyside2
%if 0%{?suse_version} == 1500 && 0%{?sle_version} > 150500
BuildRequires: %{python_module pyside6}
%else
BuildRequires: python3-pyside6
BuildRequires: python3-pyside6 > 6.8.0
%endif
BuildRequires: qt6-sql-sqlite
%endif
@@ -129,7 +130,7 @@ This subpackage separately provides the qtpy.tests module
in order to avoid stupid rpmlint errors.
%prep
%autosetup -p1 -n QtPy-%{version}
%autosetup -p1 -n qtpy-%{version}
# wrong EOL encondig
sed -i 's/\r$//' LICENSE.txt *.md
# qtcharts is present in our PyQt
@@ -210,7 +211,7 @@ popd
%license LICENSE.txt
%{python_sitelib}/qtpy
%exclude %{python_sitelib}/qtpy/tests
%{python_sitelib}/QtPy-%{version}.dist-info
%{python_sitelib}/[Qq]t[Pp]y-%{version}.dist-info
%python_alternative %{_bindir}/qtpy
%files %{python_files test}

3
qtpy-2.4.3.tar.gz Normal file
View File

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