[packages/python-PyQt5] - include also Qt5TextToSpeech binding; require qt 5.15.0

qboosh qboosh at pld-linux.org
Mon Apr 17 21:14:24 CEST 2023


commit 939d08ddd2122224899d35aaf60a85932a6158e9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 17 21:16:43 2023 +0200

    - include also Qt5TextToSpeech binding; require qt 5.15.0

 python-PyQt5.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-PyQt5.spec b/python-PyQt5.spec
index 3cdda26..f5f1af7 100644
--- a/python-PyQt5.spec
+++ b/python-PyQt5.spec
@@ -9,13 +9,13 @@
 # minimal required sip version
 %define		sip_ver		2:4.19.23
 # last qt version covered by these bindings (minimal required is currently 5.0.0)
-# %define	qt_ver		%{version}
-%define		qt_ver		5.12.0
+%define		qt_ver		5.15.0
 %define		qtenginio_ver	1:1.6.0
 
 Summary:	Python 2 bindings for the Qt5 toolkit
 Summary(pl.UTF-8):	Wiązania Pythona 2 do toolkitu Qt5
 Name:		python-%{module}
+# 5.15.5 seems to be the last python2-compatible version
 Version:	5.15.5
 Release:	2
 License:	GPL v3
@@ -47,6 +47,7 @@ BuildRequires:	Qt5Quick-devel >= %{qt_ver}
 BuildRequires:	Qt5Quick3D-devel >= %{qt_ver}
 BuildRequires:	Qt5Sensors-devel >= %{qt_ver}
 BuildRequires:	Qt5SerialPort-devel >= %{qt_ver}
+BuildRequires:	Qt5Speech-devel >= %{qt_ver}
 BuildRequires:	Qt5Sql-devel >= %{qt_ver}
 BuildRequires:	Qt5Svg-devel >= %{qt_ver}
 BuildRequires:	Qt5Test-devel >= %{qt_ver}
@@ -371,6 +372,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py_sitedir}/PyQt5/QtSql.so
 %attr(755,root,root) %{py_sitedir}/PyQt5/QtSvg.so
 %attr(755,root,root) %{py_sitedir}/PyQt5/QtTest.so
+%attr(755,root,root) %{py_sitedir}/PyQt5/QtTextToSpeech.so
 %attr(755,root,root) %{py_sitedir}/PyQt5/QtWebChannel.so
 %if %{with webkit}
 %attr(755,root,root) %{py_sitedir}/PyQt5/QtWebKit.so
@@ -432,6 +434,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py3_sitedir}/PyQt5/QtSql.so
 %attr(755,root,root) %{py3_sitedir}/PyQt5/QtSvg.so
 %attr(755,root,root) %{py3_sitedir}/PyQt5/QtTest.so
+%attr(755,root,root) %{py3_sitedir}/PyQt5/QtTextToSpeech.so
 %attr(755,root,root) %{py3_sitedir}/PyQt5/QtWebChannel.so
 %if %{with webkit}
 %attr(755,root,root) %{py3_sitedir}/PyQt5/QtWebKit.so
@@ -477,6 +480,7 @@ rm -rf $RPM_BUILD_ROOT
 %{py3_sitedir}/PyQt5/QtSql.pyi
 %{py3_sitedir}/PyQt5/QtSvg.pyi
 %{py3_sitedir}/PyQt5/QtTest.pyi
+%{py3_sitedir}/PyQt5/QtTextToSpeech.pyi
 %{py3_sitedir}/PyQt5/QtWebChannel.pyi
 %if %{with webkit}
 %{py3_sitedir}/PyQt5/QtWebKit.pyi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt5.git/commitdiff/2dc568de638e9afe8a0992bf16d76f0544049d7d



More information about the pld-cvs-commit mailing list