Accepting request 918889 from home:bnavigator:branches:devel:languages:python
- Update to 1.11.1 * Wrap pysideuic and pyside2uic imports since they could be unavailable * qtpy/tests/test_uic.py: skip if pyside2uic not installed - Release 1.11.0 * Add QtWebEngineWidgets.QWebEngineProfile for PyQt5 and PySide2 * Rename QtDatavisualization to use uppercase v * Add support for QStyleOptionFrameV3 from PyQt4 * Add QtWinExtras module * Add support for QtSerialPort add-on * Add support for the QtPositioning module * Add loadUiType implementation for PySide2 - Drop patch merged upstream gh#spyder-ide/QtPy#228 * 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch OBS-URL: https://build.opensuse.org/request/show/918889 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=32
This commit is contained in:
parent
0b6e8b567d
commit
9334e0d0a6
@ -1,22 +0,0 @@
|
||||
From 1e5d4ca1b1c182ef261b0f6832e5be87d0d813de Mon Sep 17 00:00:00 2001
|
||||
From: Antonio Larrosa <antonio.larrosa@gmail.com>
|
||||
Date: Thu, 21 Jan 2021 10:16:50 +0100
|
||||
Subject: [PATCH] Add QtDatavisualization alias to QtDataVisualization
|
||||
|
||||
There might be applications using the wrong name. This
|
||||
commit introduces an alias so they keep working as usual.
|
||||
---
|
||||
qtpy/QtDatavisualization.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
create mode 100644 qtpy/QtDatavisualization.py
|
||||
|
||||
diff --git a/qtpy/QtDatavisualization.py b/qtpy/QtDatavisualization.py
|
||||
new file mode 100644
|
||||
index 0000000..cd0cb4d
|
||||
--- /dev/null
|
||||
+++ b/qtpy/QtDatavisualization.py
|
||||
@@ -0,0 +1 @@
|
||||
+from .QtDataVisualization import *
|
||||
--
|
||||
2.30.0
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3d20f010caa3b2c04835d6a2f66f8873b041bdaf7a76085c2a0d7890cdd65ea9
|
||||
size 34339
|
3
QtPy-1.11.1.tar.gz
Normal file
3
QtPy-1.11.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d471fcb9cf96315b564ad3b42ca830d0286d1049d6a44c578d3dc3836381bb91
|
||||
size 37068
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 14 11:06:30 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.11.1
|
||||
* Wrap pysideuic and pyside2uic imports since they could be
|
||||
unavailable
|
||||
* qtpy/tests/test_uic.py: skip if pyside2uic not installed
|
||||
- Release 1.11.0
|
||||
* Add QtWebEngineWidgets.QWebEngineProfile for PyQt5 and PySide2
|
||||
* Rename QtDatavisualization to use uppercase v
|
||||
* Add support for QStyleOptionFrameV3 from PyQt4
|
||||
* Add QtWinExtras module
|
||||
* Add support for QtSerialPort add-on
|
||||
* Add support for the QtPositioning module
|
||||
* Add loadUiType implementation for PySide2
|
||||
- Drop patch merged upstream gh#spyder-ide/QtPy#228
|
||||
* 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 17 14:37:49 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -19,15 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-QtPy
|
||||
Version: 1.10.0
|
||||
Version: 1.11.1
|
||||
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
|
||||
# PATCH-FIX-UPSTREAM 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch -- gh#spyder-ide/qtpy#228
|
||||
Patch0: 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -76,9 +74,6 @@ except ImportError:\
|
||||
sed -i '/skipif.*not PYSIDE2/ d' qtpy/tests/test_qtcharts.py
|
||||
# remove script calling pytest so that pytest does not discover it
|
||||
rm qtpy/tests/runtests.py
|
||||
# Submitted to upstream at gh#spyder-ide/qtpy#228
|
||||
mv qtpy/QtDatavisualization.py qtpy/QtDataVisualization.py
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Loading…
x
Reference in New Issue
Block a user