python3-pyqt6: update to 6.6.1.

This commit is contained in:
Đoàn Trần Công Danh 2023-12-10 21:32:15 +07:00 committed by Đoàn Trần Công Danh
parent caaf2039d1
commit c74b4fe183
5 changed files with 85 additions and 4 deletions

1
srcpkgs/python3-pyqt6-pdf Symbolic link
View File

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

View File

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

View File

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

View File

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

View File

@ -1,7 +1,7 @@
# Template file for 'python3-pyqt6'
pkgname=python3-pyqt6
version=6.5.2
revision=2
version=6.6.1
revision=1
build_style=sip-build
build_helper=qemu
configure_args="--confirm-license --dbus $XBPS_CROSS_BASE/usr/include/dbus-1.0"
@ -9,7 +9,7 @@ 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
qt6-remoteobjects-devel qt6-sensors-devel qt6-serialport-devel
qt6-connectivity-devel qt6-websockets-devel
qt6-connectivity-devel qt6-websockets-devel qt6-speech-devel
qt6-quick3d-devel qt6-shadertools-devel qt6-svg-devel python3-dbus-devel"
depends="python3-pyqt6-sip"
short_desc="Python 3 bindings for Qt6"
@ -17,9 +17,44 @@ 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=1487ee7350f9ffb66d60ab4176519252c2b371762cbe8f8340fd951f63801280
checksum=9f158aa29d205142c56f0f35d07784b8df0be28378d20a97bcda8bd64ffd0379
lib32disabled=yes
subpackages="python3-pyqt6-core-devel
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
"
case "$XBPS_TARGET_MACHINE" in
riscv64*) ;;
ppc*) ;;
armv5* | armv6*) ;;
*)
makedepends+=" qt6-pdf-devel"
subpackages+=" python3-pyqt6-pdf python3-pyqt6-pdf-devel"
;;
esac
# Split like qt6, but keep qt6-core in main pkg
python3-pyqt6-core-devel_package() {
@ -496,3 +531,45 @@ python3-pyqt6-connectivity-devel_package() {
vmove "${py3_sitelib}/PyQt6/bindings/QtNfc"
}
}
python3-pyqt6-pdf_package() {
lib32disabled=yes
short_desc+=" - Pdf"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove "${py3_sitelib}/PyQt6/QtPdf.*"
vmove "${py3_sitelib}/PyQt6/QtPdfWidgets.*"
}
}
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"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
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"
}
}