python-PyQt5: make webengine package depend on webchannel to avoid import errors
This commit is contained in:
parent
2cc9fdcb61
commit
268f46fbf8
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-PyQt5'
|
||||
pkgname=python-PyQt5
|
||||
version=5.7.1
|
||||
revision=1
|
||||
revision=2
|
||||
lib32disabled=yes
|
||||
wrksrc="PyQt5_gpl-${version}"
|
||||
replaces="python-PyQt5-enginio<5.7_1"
|
||||
|
@ -214,7 +214,8 @@ python-PyQt5-webchannel_package() {
|
|||
}
|
||||
python-PyQt5-webengine_package() {
|
||||
lib32disabled=yes
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
depends="${sourcepkg}-${version}_${revision}
|
||||
python-PyQt5-webchannel-${version}_${revision}"
|
||||
short_desc+=" - webengine module"
|
||||
pkg_install() {
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebEngine.so
|
||||
|
@ -385,7 +386,8 @@ python3-PyQt5-webchannel_package() {
|
|||
python3-PyQt5-webengine_package() {
|
||||
lib32disabled=yes
|
||||
replaces="python3.4-PyQt5-webengine>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
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.so
|
||||
|
|
Loading…
Reference in a new issue