Compare commits
10 Commits
0873b2d703
...
a321e742ca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a321e742ca | ||
|
|
cf94a6387c | ||
|
|
f9f6358f50 | ||
|
|
40d758bce9 | ||
|
|
1a8721ee82 | ||
|
|
4c11d1c2bf | ||
|
|
3db94f888f | ||
|
|
fffa0479d3 | ||
|
|
31e58a4d9c | ||
|
|
daf4e285b1 |
BIN
PyQt5-5.15.6.tar.gz
Normal file
BIN
PyQt5-5.15.6.tar.gz
Normal file
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
diff -up PyQt5_gpl-5.11.2/sip/QtCore/QtCoremod.sip.Timeline PyQt5_gpl-5.11.2/sip/QtCore/QtCoremod.sip
|
|
||||||
--- PyQt5_gpl-5.11.2/sip/QtCore/QtCoremod.sip.Timeline 2018-07-10 15:25:49.295960286 -0500
|
|
||||||
+++ PyQt5_gpl-5.11.2/sip/QtCore/QtCoremod.sip 2018-07-10 15:26:22.781340757 -0500
|
|
||||||
@@ -22,7 +22,7 @@
|
|
||||||
|
|
||||||
%Module(name=PyQt5.QtCore, call_super_init=True, default_VirtualErrorHandler=PyQt5, keyword_arguments="Optional", use_limited_api=True)
|
|
||||||
|
|
||||||
-%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_4 Qt_5_9_5 Qt_5_9_6 Qt_5_9_7 Qt_5_9_8 Qt_5_9_9 Qt_5_10_0 Qt_5_10_1 Qt_5_11_0 Qt_5_11_1}
|
|
||||||
+%Timeline {Qt_5_0_0 Qt_5_0_1 Qt_5_0_2 Qt_5_1_0 Qt_5_1_1 Qt_5_2_0 Qt_5_2_1 Qt_5_3_0 Qt_5_3_1 Qt_5_3_2 Qt_5_4_0 Qt_5_4_1 Qt_5_4_2 Qt_5_5_0 Qt_5_5_1 Qt_5_6_0 Qt_5_6_1 Qt_5_6_2 Qt_5_6_3 Qt_5_6_4 Qt_5_6_5 Qt_5_6_6 Qt_5_6_7 Qt_5_6_8 Qt_5_6_9 Qt_5_7_0 Qt_5_7_1 Qt_5_8_0 Qt_5_8_1 Qt_5_9_0 Qt_5_9_1 Qt_5_9_2 Qt_5_9_3 Qt_5_9_4 Qt_5_9_5 Qt_5_9_6 Qt_5_9_7 Qt_5_9_8 Qt_5_9_9 Qt_5_10_0 Qt_5_10_1 Qt_5_11_0 Qt_5_11_1 Qt_5_11_2}
|
|
||||||
|
|
||||||
%Platforms {WS_X11 WS_WIN WS_MACX}
|
|
||||||
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
diff -up PyQt5_gpl-5.11.2/configure.py.sip_check PyQt5_gpl-5.11.2/configure.py
|
|
||||||
--- PyQt5_gpl-5.11.2/configure.py.sip_check 2018-07-11 14:10:21.751437714 -0500
|
|
||||||
+++ PyQt5_gpl-5.11.2/configure.py 2018-07-11 14:12:13.035482279 -0500
|
|
||||||
@@ -647,7 +647,7 @@ class TargetConfiguration:
|
|
||||||
try:
|
|
||||||
from PyQt5 import sip
|
|
||||||
except ImportError:
|
|
||||||
- error(
|
|
||||||
+ inform(
|
|
||||||
"Unable to import PyQt5.sip. Make sure you have "
|
|
||||||
"configured SIP to create a private copy of the sip "
|
|
||||||
"module.")
|
|
||||||
@@ -2919,7 +2919,7 @@ def check_sip(target_config):
|
|
||||||
try:
|
|
||||||
from PyQt5 import sip
|
|
||||||
except ImportError:
|
|
||||||
- error(
|
|
||||||
+ inform(
|
|
||||||
"Unable to import PyQt5.sip. Make sure you have configured "
|
|
||||||
"SIP to create a private copy of the sip module.")
|
|
||||||
|
|
||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null || echo "%{python3_sitearch}/dbus/mainloop")
|
||||||
%ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
|
%ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
|
||||||
%global webengine 1
|
%global webengine 0
|
||||||
%endif
|
%endif
|
||||||
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
|
||||||
%global py3_sipdir %{_datadir}/sip/PyQt5
|
%global py3_sipdir %{_datadir}/sip/PyQt5
|
||||||
@ -8,31 +8,24 @@
|
|||||||
%global py3_site_qt5 %{python3_sitearch}/PyQt5
|
%global py3_site_qt5 %{python3_sitearch}/PyQt5
|
||||||
|
|
||||||
Name: python-qt5
|
Name: python-qt5
|
||||||
Version: 5.11.2
|
Version: 5.15.6
|
||||||
Release: 8
|
Release: 3
|
||||||
Summary: PyQt5 is a set of Python bindings for Qt5
|
Summary: PyQt5 is a set of Python bindings for Qt5
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Url: http://www.riverbankcomputing.com/software/pyqt/
|
Url: http://www.riverbankcomputing.com/software/pyqt/
|
||||||
|
Source0: https://pypi.python.org/packages/source/P/PyQt5/PyQt5-%{version}.tar.gz
|
||||||
%if 0%{?snap:1}
|
|
||||||
Source0: http://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5_gpl-%{version}%{?snap:.%{snap}}.tar.gz
|
|
||||||
%else
|
|
||||||
Source0: https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-%{version}/PyQt5_gpl-%{version}.tar.gz/download?use_mirror=netactuate#/PyQt5_gpl-%{version}.tar.gz
|
|
||||||
%endif
|
|
||||||
Source1: macros.pyqt5
|
Source1: macros.pyqt5
|
||||||
Source2: pylupdate5.sh
|
Source2: pylupdate5.sh
|
||||||
Source3: pyrcc5.sh
|
Source3: pyrcc5.sh
|
||||||
Source4: pyuic5.sh
|
Source4: pyuic5.sh
|
||||||
|
|
||||||
Patch0: PyQt5-Timeline.patch
|
|
||||||
Patch1: PyQt5_gpl-5.11.2-sip_check.patch
|
|
||||||
|
|
||||||
BuildRequires: chrpath findutils dbus-devel dbus-python-devel phonon-qt5-devel qt5-qttools-devel
|
BuildRequires: chrpath findutils dbus-devel dbus-python-devel qt5-qttools-devel
|
||||||
BuildRequires: qt5-qtbase-devel >= 5.5 qt5-qtenginio-devel qt5-qtconnectivity-devel
|
BuildRequires: qt5-qtbase-devel >= 5.5 qt5-qtenginio-devel qt5-qtconnectivity-devel
|
||||||
BuildRequires: qt5-qtlocation-devel qt5-qtmultimedia-devel qt5-qtdeclarative-devel
|
BuildRequires: qt5-qtlocation-devel qt5-qtmultimedia-devel qt5-qtdeclarative-devel
|
||||||
BuildRequires: qt5-qtsensors-devel qt5-qtserialport-devel qt5-qtx11extras-devel
|
BuildRequires: qt5-qtsensors-devel qt5-qtserialport-devel qt5-qtx11extras-devel
|
||||||
BuildRequires: qt5-qtxmlpatterns-devel qt5-qtwebchannel-devel qt5-qtwebsockets-devel
|
BuildRequires: qt5-qtxmlpatterns-devel qt5-qtwebchannel-devel qt5-qtwebsockets-devel
|
||||||
BuildRequires: pulseaudio-devel dbus-python qt5-qtsvg-devel qt5-qtscript-devel
|
BuildRequires: pulseaudio-libs-devel dbus-python qt5-qtsvg-devel qt5-qtscript-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}
|
||||||
BuildRequires: python%{python3_pkgversion}-enum34 python%{python3_pkgversion}-pyqt5-sip >= 4.19.12
|
BuildRequires: python%{python3_pkgversion}-enum34 python%{python3_pkgversion}-pyqt5-sip >= 4.19.12
|
||||||
BuildRequires: python%{python3_pkgversion}-dbus python%{python3_pkgversion}-sip-devel >= 4.19.12
|
BuildRequires: python%{python3_pkgversion}-dbus python%{python3_pkgversion}-sip-devel >= 4.19.12
|
||||||
@ -117,7 +110,7 @@ Obsoletes: python3-qt5 < 5.5.1-10
|
|||||||
Python v3 bindings for Qt5 Webkit.
|
Python v3 bindings for Qt5 Webkit.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n PyQt5_gpl-%{version}%{?snap:.%{snap}} -p1
|
%autosetup -n PyQt5-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH="%{_qt5_bindir}:$PATH"
|
export PATH="%{_qt5_bindir}:$PATH"
|
||||||
@ -129,7 +122,8 @@ pushd %{_target_platform}-python3
|
|||||||
--assume-shared --confirm-license --no-dist-info --qmake=%{_qt5_qmake} \
|
--assume-shared --confirm-license --no-dist-info --qmake=%{_qt5_qmake} \
|
||||||
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
|
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
|
||||||
%{?py3_sipdir:--sipdir=%{py3_sipdir}} --verbose QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
%{?py3_sipdir:--sipdir=%{py3_sipdir}} --verbose QMAKE_CFLAGS_RELEASE="%{optflags}" \
|
||||||
QMAKE_CXXFLAGS_RELEASE="%{optflags}" QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
|
QMAKE_CXXFLAGS_RELEASE="%{optflags} `pkg-config --cflags dbus-python`"\
|
||||||
|
QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}"
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@ -245,6 +239,21 @@ popd
|
|||||||
%doc %{_qt5_datadir}/qsci/api/python/PyQt5.api
|
%doc %{_qt5_datadir}/qsci/api/python/PyQt5.api
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 24 2023 peijiankang<peijiankang@kylinos.cn> - 5.15.6-3
|
||||||
|
- Remove fix-qcborcommon.patch
|
||||||
|
|
||||||
|
* Thu Mar 16 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 5.15.6-2
|
||||||
|
- Remove useless buildrequires
|
||||||
|
|
||||||
|
* Tue Mar 08 2022 wangkai <wangkai385@huawei.com> - 5.15.6-1
|
||||||
|
- Update to Pyqt5 5.15.6
|
||||||
|
|
||||||
|
* Tue Jan 11 2022 xu_ping <xuping33@huawei.com> - 5.11.2-10
|
||||||
|
- Fix compilation failures using pulseaudio-libs-devel instead of pulseaudio-devel
|
||||||
|
|
||||||
|
* Thu Dec 10 2020 huanghaitao <huanghaitao8@huawei.com> - 5.11.2-9
|
||||||
|
- disable webengine to drop python2
|
||||||
|
|
||||||
* Tue Oct 27 2020 wangxiao <wangxiao65@huawei.com> - 5.11.2-8
|
* Tue Oct 27 2020 wangxiao <wangxiao65@huawei.com> - 5.11.2-8
|
||||||
- drop python2 packages
|
- drop python2 packages
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user