mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 22:53:51 +02:00
python-PyQt5: update to 5.13.0.
As of 5.12.0, QtWebEngine is no longer included in python-PyQt5: https://www.riverbankcomputing.com/software/pyqtwebengine/intro
This commit is contained in:
parent
29a184e521
commit
30b8752bd2
1 changed files with 7 additions and 33 deletions
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'python-PyQt5'
|
||||
pkgname=python-PyQt5
|
||||
version=5.11.3
|
||||
revision=3
|
||||
_sipver=4.19.13
|
||||
version=5.13.0
|
||||
revision=1
|
||||
_sipver=4.19.18
|
||||
lib32disabled=yes
|
||||
wrksrc="PyQt5_gpl-${version}"
|
||||
pycompile_module="PyQt5"
|
||||
|
@ -10,7 +10,7 @@ hostmakedepends="pkg-config
|
|||
python-devel python3-devel python-sip-devel python3-sip-devel python-dbus-devel
|
||||
qt5-tools-devel qt5-connectivity-devel qt5-declarative-devel qt5-location-devel
|
||||
qt5-multimedia-devel qt5-sensors-devel qt5-serialport-devel qt5-svg-devel
|
||||
qt5-webchannel-devel qt5-webengine-devel qt5-webkit-devel qt5-websockets-devel
|
||||
qt5-webchannel-devel qt5-webkit-devel qt5-websockets-devel
|
||||
qt5-x11extras-devel qt5-xmlpatterns-devel qt5-networkauth-devel pulseaudio-devel
|
||||
python-enum34"
|
||||
makedepends="${hostmakedepends/pkg-config/}"
|
||||
|
@ -19,8 +19,8 @@ short_desc="Python2 bindings for the Qt5 toolkit"
|
|||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://riverbankcomputing.com/software/pyqt/intro"
|
||||
license="GPL-3.0-only"
|
||||
distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt5_gpl-${version}.tar.gz"
|
||||
checksum=c9b57d15601d436faf35dacf8e0acefa220194829a653e771e80b189b3261073
|
||||
distfiles="https://www.riverbankcomputing.com/static/Downloads/PyQt5/${version}/PyQt5_gpl-${version}.tar.gz"
|
||||
checksum=0cdbffe5135926527b61cc3692dd301cd0328dd87eeaf1313e610787c46faff9
|
||||
|
||||
pre_build() {
|
||||
mkdir -p pyqt5-${py2_ver}
|
||||
|
@ -54,8 +54,7 @@ pyqt_modules = QtCore QtGui QtHelp QtMultimedia
|
|||
QtSql QtSvg QtTest QtWebKit QtWebKitWidgets QtWidgets QtXml
|
||||
QtXmlPatterns QtDesigner QtDBus QtSensors QtSerialPort
|
||||
QtX11Extras QtBluetooth QtPositioning QtQuickWidgets QtWebSockets
|
||||
QtWebChannel QtWebEngineWidgets QtLocation QtNfc QtWebEngineCore
|
||||
QtWebEngine QtNetworkAuth
|
||||
QtWebChannel QtLocation QtNfc QtNetworkAuth
|
||||
EOF
|
||||
|
||||
_sysroot="--sysroot $XBPS_CROSS_BASE"
|
||||
|
@ -240,17 +239,6 @@ python-PyQt5-webchannel_package() {
|
|||
vmove ${py2_sitelib}/PyQt5/QtWebChannel.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-webengine_package() {
|
||||
lib32disabled=yes
|
||||
depends="${sourcepkg}-${version}_${revision}
|
||||
python-PyQt5-webchannel-${version}_${revision}"
|
||||
short_desc+=" - webengine module"
|
||||
pkg_install() {
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebEngine.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebEngineCore.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebEngineWidgets.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-webkit_package() {
|
||||
lib32disabled=yes
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
|
@ -426,20 +414,6 @@ python3-PyQt5-webchannel_package() {
|
|||
vmove ${py3_sitelib}/PyQt5/QtWebChannel.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-webengine_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3-PyQt5-${version}_${revision}
|
||||
python3-PyQt5-webchannel-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - webengine module"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngine.pyi
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngine.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngineCore.pyi
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngineCore.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngineWidgets.pyi
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngineWidgets.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-webkit_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
|
|
Loading…
Add table
Reference in a new issue