forked from pool/python3-pyside2
Accepting request 1080509 from KDE:Qt5
OBS-URL: https://build.opensuse.org/request/show/1080509 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python3-pyside2?expand=0&rev=22
This commit is contained in:
commit
22313dbbd2
@ -1,28 +0,0 @@
|
|||||||
From 9cc26aab3244b3022bcb5be338602f2e02e0b3d6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christophe Marin <christophe@krop.fr>
|
|
||||||
Date: Fri, 13 Jan 2023 10:41:28 +0100
|
|
||||||
Subject: [PATCH] Fix build with Python 3.10
|
|
||||||
|
|
||||||
Patch picked from ArchLinux
|
|
||||||
|
|
||||||
Also see https://bugreports.qt.io/browse/PYSIDE-1775
|
|
||||||
---
|
|
||||||
sources/shiboken2/libshiboken/pep384impl.cpp | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/sources/shiboken2/libshiboken/pep384impl.cpp b/sources/shiboken2/libshiboken/pep384impl.cpp
|
|
||||||
index 66df0fd..a723303 100644
|
|
||||||
--- a/sources/shiboken2/libshiboken/pep384impl.cpp
|
|
||||||
+++ b/sources/shiboken2/libshiboken/pep384impl.cpp
|
|
||||||
@@ -751,7 +751,7 @@ _Pep_PrivateMangle(PyObject *self, PyObject *name)
|
|
||||||
#endif // IS_PY2
|
|
||||||
Shiboken::AutoDecRef privateobj(PyObject_GetAttr(
|
|
||||||
reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name()));
|
|
||||||
-#ifndef Py_LIMITED_API
|
|
||||||
+#if !defined(Py_LIMITED_API) && PY_VERSION_HEX < 0x03010000
|
|
||||||
return _Py_Mangle(privateobj, name);
|
|
||||||
#else
|
|
||||||
// PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always.
|
|
||||||
--
|
|
||||||
2.39.0
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:23436302c8deb5b4cbc769b205d09604e38ba83b40708efccb7bd8c9af6f6b5d
|
|
||||||
size 3582256
|
|
3
pyside-setup-opensource-src-5.15.9-1.tar.xz
Normal file
3
pyside-setup-opensource-src-5.15.9-1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3298660742037c71274a30770541abf6d1552ec65fc93678eedee5718852a62c
|
||||||
|
size 3582760
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 19 11:02:38 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
- Update to 5.15.9
|
||||||
|
* QByteArray::__msetitem__() was fixed for big endian archs
|
||||||
|
* UNICODE conversion with Python3/Non-Limited API was fixed
|
||||||
|
- Drop patch, fixed upstream:
|
||||||
|
* 0001-Fix-build-with-Python-3.10.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 13 10:01:16 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
Thu Apr 13 10:01:16 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
%global __requires_exclude qmlimport\\((Charts|TextBalloonPlugin)
|
%global __requires_exclude qmlimport\\((Charts|TextBalloonPlugin)
|
||||||
|
|
||||||
Name: python3-pyside2
|
Name: python3-pyside2
|
||||||
Version: 5.15.8
|
Version: 5.15.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python bindings for Qt
|
Summary: Python bindings for Qt
|
||||||
# Legal:
|
# Legal:
|
||||||
@ -30,9 +30,8 @@ Summary: Python bindings for Qt
|
|||||||
# pyside2-tools is GPL-2.0-only
|
# pyside2-tools is GPL-2.0-only
|
||||||
# shiboken2 contains files under GPL-3.0-only WITH Qt-GPL-exception-1.0
|
# shiboken2 contains files under GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||||
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-2.0-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0
|
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-2.0-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||||
Group: Development/Languages/Python
|
URL: https://wiki.qt.io/Qt_for_Python
|
||||||
URL: http://wiki.qt.io/Qt_for_Python
|
Source0: https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.9-src/pyside-setup-opensource-src-5.15.9-1.tar.xz
|
||||||
Source0: https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-%{version}-src/pyside-setup-opensource-src-%{version}.tar.xz
|
|
||||||
# PATCH-FIX-OPENSUSE
|
# PATCH-FIX-OPENSUSE
|
||||||
Patch0: 0001-Always-link-to-python-libraries.patch
|
Patch0: 0001-Always-link-to-python-libraries.patch
|
||||||
# PATCH-FIX-UPSTREAM
|
# PATCH-FIX-UPSTREAM
|
||||||
@ -41,8 +40,6 @@ Patch1: 0001-Don-t-try-to-install-or-use-uic-rcc-designer-copies.patch
|
|||||||
Patch2: 0001-cmake-Don-t-assume-qhelpgenerator-is-in-PATH.patch
|
Patch2: 0001-cmake-Don-t-assume-qhelpgenerator-is-in-PATH.patch
|
||||||
# PATCH-FIX-UPSTREAM
|
# PATCH-FIX-UPSTREAM
|
||||||
Patch3: 0001-Backport-Fix-GLES-builds.patch
|
Patch3: 0001-Backport-Fix-GLES-builds.patch
|
||||||
# PATCH-FIX-UPSTREAM PYSIDE-1775
|
|
||||||
Patch4: 0001-Fix-build-with-Python-3.10.patch
|
|
||||||
# Provide the PyPI names
|
# Provide the PyPI names
|
||||||
Provides: python3-PySide2 = %{version}-%{release}
|
Provides: python3-PySide2 = %{version}-%{release}
|
||||||
Provides: python3-shiboken2 = %{version}-%{release}
|
Provides: python3-shiboken2 = %{version}-%{release}
|
||||||
@ -126,7 +123,6 @@ application and UI framework.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Header Files for PySide2
|
Summary: Header Files for PySide2
|
||||||
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-2.0-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0
|
License: LGPL-3.0-only OR (GPL-2.0-only OR GPL-3.0-or-later) AND GPL-2.0-only AND GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -136,7 +132,6 @@ for Qt.
|
|||||||
%package examples
|
%package examples
|
||||||
Summary: Examples for using PySide2
|
Summary: Examples for using PySide2
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -144,7 +139,7 @@ BuildArch: noarch
|
|||||||
Examples and Tutorials for the PySide2 bindings for Qt.
|
Examples and Tutorials for the PySide2 bindings for Qt.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pyside-setup-opensource-src-%{version}
|
%autosetup -p1 -n pyside-setup-opensource-src-5.15.9
|
||||||
|
|
||||||
%build
|
%build
|
||||||
_libsuffix=$(echo %{_lib} | cut -b4-)
|
_libsuffix=$(echo %{_lib} | cut -b4-)
|
||||||
@ -246,8 +241,7 @@ pushd build/sources/pyside2
|
|||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.*
|
%license LICENSE.*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user