Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a321e742ca
!23 [sync] PR-22: remove fix-qcborcommon.patch
From: @openeuler-sync-bot 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2023-09-07 04:10:10 +00:00
peijiankang
cf94a6387c remove fix-qcborcommon.patch
(cherry picked from commit 78c3eb87368c289dfe92d65398956fde7c91599a)
2023-09-07 10:09:56 +08:00
openeuler-ci-bot
f9f6358f50
!19 Remove useless buildrequires
From: @zhangwenlong01 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2023-03-17 01:02:42 +00:00
Wenlong Zhang
40d758bce9 Remove useless buildrequires
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
2023-03-16 20:59:42 +08:00
openeuler-ci-bot
1a8721ee82
!18 Update to Pyqt5 5.15.6
From: @wk333 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-04-20 06:41:03 +00:00
wk333
4c11d1c2bf Update to Pyqt5 5.15.6 2022-04-18 16:34:55 +08:00
openeuler-ci-bot
3db94f888f
!16 [sync] PR-8: 修改编译依赖使用pulseaudio-libs-devel代替pulseaudio-devel
From: @openeuler-sync-bot 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-03-28 12:40:41 +00:00
cherry530
fffa0479d3 Fix compilation failures using pulseaudio-libs-devel instead of pulseaudio-devel
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 2b906865035d2e56727a03026413099e8f81fbc7)
2022-03-28 14:35:49 +08:00
openeuler-ci-bot
31e58a4d9c !7 disable webengine to drop python2
From: @hht8
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-12-10 19:59:58 +08:00
hht8
daf4e285b1 disable webengine to drop python2 2020-12-10 16:11:37 +08:00
5 changed files with 24 additions and 48 deletions

BIN
PyQt5-5.15.6.tar.gz Normal file

Binary file not shown.

View File

@ -1,12 +0,0 @@
diff -up PyQt5_gpl-5.11.2/sip/Qt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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}

View File

@ -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.

View File

@ -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")
%ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el}
%global webengine 1
%global webengine 0
%endif
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
%global py3_sipdir %{_datadir}/sip/PyQt5
@ -8,31 +8,24 @@
%global py3_site_qt5 %{python3_sitearch}/PyQt5
Name: python-qt5
Version: 5.11.2
Release: 8
Version: 5.15.6
Release: 3
Summary: PyQt5 is a set of Python bindings for Qt5
License: GPLv3
Url: http://www.riverbankcomputing.com/software/pyqt/
%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
Source0: https://pypi.python.org/packages/source/P/PyQt5/PyQt5-%{version}.tar.gz
Source1: macros.pyqt5
Source2: pylupdate5.sh
Source3: pyrcc5.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-qtlocation-devel qt5-qtmultimedia-devel qt5-qtdeclarative-devel
BuildRequires: qt5-qtsensors-devel qt5-qtserialport-devel qt5-qtx11extras-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}-enum34 python%{python3_pkgversion}-pyqt5-sip >= 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.
%prep
%autosetup -n PyQt5_gpl-%{version}%{?snap:.%{snap}} -p1
%autosetup -n PyQt5-%{version} -p1
%build
export PATH="%{_qt5_bindir}:$PATH"
@ -129,7 +122,8 @@ pushd %{_target_platform}-python3
--assume-shared --confirm-license --no-dist-info --qmake=%{_qt5_qmake} \
--qsci-api --qsci-api-destdir=%{_qt5_datadir}/qsci \
%{?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
popd
@ -245,6 +239,21 @@ popd
%doc %{_qt5_datadir}/qsci/api/python/PyQt5.api
%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
- drop python2 packages