Accepting request 865308 from home:alarrosa:branches:devel:languages:python
- Add patch so the renaming of QtDataVisualization doesn't cause a problem on applications using the old name (gh#spyder-ide/qtpy#228): * 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch OBS-URL: https://build.opensuse.org/request/show/865308 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-QtPy?expand=0&rev=28
This commit is contained in:
parent
c459eaf325
commit
f6218b6040
@ -0,0 +1,22 @@
|
||||
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 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 09:30:26 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Add patch so the renaming of QtDataVisualization doesn't cause
|
||||
a problem on applications using the old name
|
||||
(gh#spyder-ide/qtpy#228):
|
||||
* 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 14 09:12:53 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
@ -25,6 +25,7 @@ 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
|
||||
Patch0: 0001-Add-QtDatavisualization-alias-to-QtDataVisualization.patch
|
||||
BuildRequires: %{python_module qt3d-qt5}
|
||||
BuildRequires: %{python_module qt5}
|
||||
BuildRequires: %{python_module qtdatavis3d-qt5}
|
||||
@ -61,6 +62,7 @@ sed -i 's/\r$//' LICENSE.txt
|
||||
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