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
This commit is contained in:
Dominique Leuenberger 2024-11-11 12:45:22 +00:00 committed by Git OBS Bridge
commit 66e557554f
4 changed files with 25 additions and 10 deletions

BIN
QtPy-2.4.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
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) 2024 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.2
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}
@ -58,7 +58,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-packaging
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
# Note: Don't add any Requires, Recommends, or Suggests for a
# specific backend here, because we need to minimize the space
# occupied on the Tumbleweed DVD. The application importing QtPy
@ -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

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

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