python3-pyqt6: update to 6.7.0.

This commit is contained in:
Đoàn Trần Công Danh 2024-06-23 10:44:33 +07:00 committed by Đoàn Trần Công Danh
parent 0ee59350db
commit 91542a1d69
25 changed files with 57 additions and 303 deletions

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1 +0,0 @@
python3-pyqt6

View File

@ -1,10 +1,11 @@
# Template file for 'python3-pyqt6'
pkgname=python3-pyqt6
version=6.6.1
revision=2
version=6.7.0
revision=1
build_style=sip-build
build_helper=qemu
configure_args="--confirm-license --dbus $XBPS_CROSS_BASE/usr/include/dbus-1.0"
configure_args="--confirm-license --dbus $XBPS_CROSS_BASE/usr/include/dbus-1.0
--verbose"
hostmakedepends="qt6-base python3-dbus python3-PyQt-builder pkg-config"
makedepends="qt6-base-devel qt6-declarative-devel qt6-tools-devel
qt6-webchannel-devel qt6-multimedia-devel qt6-location-devel
@ -17,33 +18,33 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://www.riverbankcomputing.com/software/pyqt/"
distfiles="$PYPI_SITE/P/PyQt6/PyQt6-$version.tar.gz"
checksum=9f158aa29d205142c56f0f35d07784b8df0be28378d20a97bcda8bd64ffd0379
checksum=3d31b2c59dc378ee26e16586d9469842483588142fc377280aad22aaf2fa6235
lib32disabled=yes
subpackages="python3-pyqt6-core-devel
subpackages="python3-pyqt6-bindings
python3-pyqt6-devel python3-pyqt6-devel-tools
python3-pyqt6-connectivity python3-pyqt6-connectivity-devel
python3-pyqt6-dbus python3-pyqt6-dbus-devel
python3-pyqt6-declarative python3-pyqt6-declarative-devel
python3-pyqt6-gui python3-pyqt6-gui-devel
python3-pyqt6-multimedia python3-pyqt6-multimedia-devel
python3-pyqt6-network python3-pyqt6-network-devel
python3-pyqt6-opengl-widgets python3-pyqt6-opengl-widgets-devel
python3-pyqt6-position python3-pyqt6-position-devel
python3-pyqt6-printsupport python3-pyqt6-printsupport-devel
python3-pyqt6-quick3d python3-pyqt6-quick3d-devel
python3-pyqt6-remoteobjects python3-pyqt6-remoteobjects-devel
python3-pyqt6-sensors python3-pyqt6-sensors-devel
python3-pyqt6-serialport python3-pyqt6-serialport-devel
python3-pyqt6-speech python3-pyqt6-speech-devel
python3-pyqt6-sql python3-pyqt6-sql-devel
python3-pyqt6-svg python3-pyqt6-svg-devel
python3-pyqt6-test python3-pyqt6-test-devel
python3-pyqt6-tools python3-pyqt6-tools-devel
python3-pyqt6-websockets python3-pyqt6-websockets-devel
python3-pyqt6-webchannel python3-pyqt6-webchannel-devel
python3-pyqt6-widgets python3-pyqt6-widgets-devel
python3-pyqt6-xml python3-pyqt6-xml-devel
python3-pyqt6-connectivity
python3-pyqt6-dbus
python3-pyqt6-declarative
python3-pyqt6-gui
python3-pyqt6-multimedia
python3-pyqt6-network
python3-pyqt6-opengl-widgets
python3-pyqt6-position
python3-pyqt6-printsupport
python3-pyqt6-quick3d
python3-pyqt6-remoteobjects
python3-pyqt6-sensors
python3-pyqt6-serialport
python3-pyqt6-speech
python3-pyqt6-sql
python3-pyqt6-svg
python3-pyqt6-test
python3-pyqt6-tools
python3-pyqt6-websockets
python3-pyqt6-webchannel
python3-pyqt6-widgets
python3-pyqt6-xml
"
case "$XBPS_TARGET_MACHINE" in
@ -52,18 +53,42 @@ case "$XBPS_TARGET_MACHINE" in
armv5* | armv6*) ;;
*)
makedepends+=" qt6-pdf-devel"
subpackages+=" python3-pyqt6-pdf python3-pyqt6-pdf-devel"
subpackages+=" python3-pyqt6-pdf"
;;
esac
# Split like qt6, but keep qt6-core in main pkg
python3-pyqt6-core-devel_package() {
python3-pyqt6-bindings_package() {
lib32disabled=yes
replaces="python3-pyqt6-core-devel
python3-pyqt6-connectivity-devel
python3-pyqt6-dbus-devel
python3-pyqt6-declarative-devel
python3-pyqt6-gui-devel
python3-pyqt6-multimedia-devel
python3-pyqt6-network-devel
python3-pyqt6-opengl-widgets-devel
python3-pyqt6-pdf-devel
python3-pyqt6-position-devel
python3-pyqt6-printsupport-devel
python3-pyqt6-quick3d-devel
python3-pyqt6-remoteobjects-devel
python3-pyqt6-sensors-devel
python3-pyqt6-serialport-devel
python3-pyqt6-speech-devel
python3-pyqt6-sql-devel
python3-pyqt6-svg-devel
python3-pyqt6-test-devel
python3-pyqt6-tools-devel
python3-pyqt6-websockets-devel
python3-pyqt6-webchannel-devel
python3-pyqt6-widgets-devel
python3-pyqt6-xml-devel"
depends="${sourcepkg}>=${version}_${revision}
qt6-base-devel python3-devel sip"
short_desc="${short_desc} - core development files"
short_desc="${short_desc} - SIP bindings"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtCore"
vmove "${py3_sitelib}/PyQt6/bindings"
}
}
@ -77,16 +102,6 @@ python3-pyqt6-dbus_package() {
}
}
python3-pyqt6-dbus-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-dbus>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}"
short_desc="${short_desc} - DBus - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtDBus"
}
}
python3-pyqt6-tools_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -98,17 +113,6 @@ python3-pyqt6-tools_package() {
}
}
python3-pyqt6-tools-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-tools>=${version}_${revision} qt6-tools-devel
python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - Tools - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtDesigner"
vmove "${py3_sitelib}/PyQt6/bindings/QtHelp"
}
}
python3-pyqt6-gui_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -119,17 +123,6 @@ python3-pyqt6-gui_package() {
}
}
python3-pyqt6-gui-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-gui>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}"
short_desc="${short_desc} - GUI - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtGui"
vmove "${py3_sitelib}/PyQt6/bindings/QtOpenGL"
}
}
python3-pyqt6-network_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -139,16 +132,6 @@ python3-pyqt6-network_package() {
}
}
python3-pyqt6-network-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-network>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}"
short_desc="${short_desc} - Network"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtNetwork"
}
}
python3-pyqt6-opengl-widgets_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -158,16 +141,6 @@ python3-pyqt6-opengl-widgets_package() {
}
}
python3-pyqt6-opengl-widgets-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-opengl-widgets>=${version}_${revision}
python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - OpenGL Widgets - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtOpenGLWidgets"
}
}
python3-pyqt6-printsupport_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -177,16 +150,6 @@ python3-pyqt6-printsupport_package() {
}
}
python3-pyqt6-printsupport-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-printsupport>=${version}_${revision}
python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - Print Support - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtPrintSupport"
}
}
python3-pyqt6-declarative_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -199,18 +162,6 @@ python3-pyqt6-declarative_package() {
}
}
python3-pyqt6-declarative-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-declarative>=${version}_${revision}
qt6-declarative-devel python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - Declarative - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtQml"
vmove "${py3_sitelib}/PyQt6/bindings/QtQuick"
vmove "${py3_sitelib}/PyQt6/bindings/QtQuickWidgets"
}
}
python3-pyqt6-quick3d_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -220,16 +171,6 @@ python3-pyqt6-quick3d_package() {
}
}
python3-pyqt6-quick3d-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-quick3d>=${version}_${revision} qt6-quick3d-devel
python3-pyqt6-declarative-devel>=${version}_${revision}"
short_desc="${short_desc} - Quick3D - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtQuick3D"
}
}
python3-pyqt6-sql_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -239,16 +180,6 @@ python3-pyqt6-sql_package() {
}
}
python3-pyqt6-sql-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-sql>=${version}_${revision}
python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - SQL - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtSql"
}
}
python3-pyqt6-svg_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -259,17 +190,6 @@ python3-pyqt6-svg_package() {
}
}
python3-pyqt6-svg-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-svg>=${version}_${revision} qt6-svg-devel
python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - svg - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtSvg"
vmove "${py3_sitelib}/PyQt6/bindings/QtSvgWidgets"
}
}
python3-pyqt6-test_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -279,16 +199,6 @@ python3-pyqt6-test_package() {
}
}
python3-pyqt6-test-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-test>=${version}_${revision}
python3-pyqt6-widgets-devel>=${version}_${revision}"
short_desc="${short_desc} - Test - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtTest"
}
}
python3-pyqt6-widgets_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -298,16 +208,6 @@ python3-pyqt6-widgets_package() {
}
}
python3-pyqt6-widgets-devel_package() {
lib32disabled=yes
depends="python3-pyqt6-widgets>=${version}_${revision}
python3-pyqt6-gui-devel>=${version}_${revision}"
short_desc="${short_desc} - Widgets"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtWidgets"
}
}
python3-pyqt6-xml_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -317,16 +217,6 @@ python3-pyqt6-xml_package() {
}
}
python3-pyqt6-xml-devel_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}"
short_desc="${short_desc} - Xml - development files"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtXml"
}
}
python3-pyqt6-devel-tools_package() {
lib32disabled=yes
depends="${sourcepkg}>=${version}_${revision}"
@ -341,7 +231,7 @@ python3-pyqt6-devel-tools_package() {
python3-pyqt6-devel_package() {
lib32disabled=yes
build_style=meta
depends="${subpackages/python3-pyqt6-devel /}"
depends="python3-pyqt6-devel-tools python3-pyqt6-bindings"
short_desc="${short_desc} - development files"
}
@ -354,17 +244,6 @@ python3-pyqt6-websockets_package() {
}
}
python3-pyqt6-websockets-devel_package() {
lib32disabled=yes
short_desc+=" - WebSockets - development files"
depends="python3-pyqt6-websockets>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-websockets-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtWebSockets"
}
}
python3-pyqt6-webchannel_package() {
lib32disabled=yes
short_desc+=" - WebChannel"
@ -374,17 +253,6 @@ python3-pyqt6-webchannel_package() {
}
}
python3-pyqt6-webchannel-devel_package() {
lib32disabled=yes
short_desc+=" - WebChannel - development files"
depends="python3-pyqt6-webchannel>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-webchannel-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtWebChannel"
}
}
python3-pyqt6-multimedia_package() {
lib32disabled=yes
short_desc+=" - Multimedia"
@ -395,18 +263,6 @@ python3-pyqt6-multimedia_package() {
}
}
python3-pyqt6-multimedia-devel_package() {
lib32disabled=yes
short_desc+=" - Multimedia - development files"
depends="python3-pyqt6-multimedia>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-multimedia-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtMultimedia*"
vmove "${py3_sitelib}/PyQt6/bindings/QtSpatialAudio*"
}
}
python3-pyqt6-position_package() {
lib32disabled=yes
short_desc+=" - Position"
@ -416,17 +272,6 @@ python3-pyqt6-position_package() {
}
}
python3-pyqt6-position-devel_package() {
lib32disabled=yes
short_desc+=" - Position - development files"
depends="python3-pyqt6-position>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-location-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtPositioning"
}
}
python3-pyqt6-remoteobjects_package() {
lib32disabled=yes
short_desc+=" - RemoteObjects"
@ -436,17 +281,6 @@ python3-pyqt6-remoteobjects_package() {
}
}
python3-pyqt6-remoteobjects-devel_package() {
lib32disabled=yes
short_desc+=" - RemoteObjects - development files"
depends="python3-pyqt6-remoteobjects>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-remoteobjects-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtRemoteObjects"
}
}
python3-pyqt6-sensors_package() {
lib32disabled=yes
short_desc+=" - Sensors"
@ -456,17 +290,6 @@ python3-pyqt6-sensors_package() {
}
}
python3-pyqt6-sensors-devel_package() {
lib32disabled=yes
short_desc+=" - Sensors - development files"
depends="python3-pyqt6-sensors>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-sensors-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtSensors"
}
}
python3-pyqt6-serialport_package() {
lib32disabled=yes
short_desc+=" - SerialPort"
@ -476,17 +299,6 @@ python3-pyqt6-serialport_package() {
}
}
python3-pyqt6-serialport-devel_package() {
lib32disabled=yes
short_desc+=" - SerialPort - development files"
depends="python3-pyqt6-serialport>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-serialport-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtSerialPort"
}
}
python3-pyqt6-connectivity_package() {
lib32disabled=yes
short_desc+=" - Connectivity"
@ -497,18 +309,6 @@ python3-pyqt6-connectivity_package() {
}
}
python3-pyqt6-connectivity-devel_package() {
lib32disabled=yes
short_desc+=" - Connectivity - development files"
depends="python3-pyqt6-connectivity>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-connectivity-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtBluetooth"
vmove "${py3_sitelib}/PyQt6/bindings/QtNfc"
}
}
python3-pyqt6-pdf_package() {
lib32disabled=yes
short_desc+=" - Pdf"
@ -519,18 +319,6 @@ python3-pyqt6-pdf_package() {
}
}
python3-pyqt6-pdf-devel_package() {
lib32disabled=yes
short_desc+=" - Pdf - development files"
depends="python3-pyqt6-pdf>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-pdf-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtPdf"
vmove "${py3_sitelib}/PyQt6/bindings/QtPdfWidgets"
}
}
python3-pyqt6-speech_package() {
lib32disabled=yes
short_desc+=" - Speech"
@ -539,14 +327,3 @@ python3-pyqt6-speech_package() {
vmove "${py3_sitelib}/PyQt6/QtTextToSpeech.*"
}
}
python3-pyqt6-speech-devel_package() {
lib32disabled=yes
short_desc+=" - Speech - development files"
depends="python3-pyqt6-speech>=${version}_${revision}
python3-pyqt6-core-devel>=${version}_${revision}
qt6-speech-devel"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/bindings/QtTextToSpeech"
}
}