python-PyQt5: update to 5.7.1

This commit is contained in:
Alessio Sergi 2017-01-22 19:33:45 +01:00
parent 94f1b825a8
commit d591e294f1
1 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-PyQt5' # Template file for 'python-PyQt5'
pkgname=python-PyQt5 pkgname=python-PyQt5
version=5.7 version=5.7.1
revision=2 revision=1
lib32disabled=yes lib32disabled=yes
wrksrc="PyQt5_gpl-${version}" wrksrc="PyQt5_gpl-${version}"
replaces="python-PyQt5-enginio<5.7_1" replaces="python-PyQt5-enginio<5.7_1"
@ -19,7 +19,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.riverbankcomputing.co.uk/software/pyqt/intro" homepage="http://www.riverbankcomputing.co.uk/software/pyqt/intro"
license="GPL-3" license="GPL-3"
distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt5_gpl-${version}.tar.gz" distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt5_gpl-${version}.tar.gz"
checksum=892693ba5f79989abb2061dad2d5c4e6f127e9dd3240f73f8220c7152cd35b05 checksum=be849f212a074049b9ebc10b6c07dddefb86e6d30e8df8a5c715cbb2cf7fad14
# FIXME: Cross fails because make -f qtdetail uses g++ but $CXXFLAGS # FIXME: Cross fails because make -f qtdetail uses g++ but $CXXFLAGS
# qtdetail is a host tool and should be compiled as such # qtdetail is a host tool and should be compiled as such
nocross=yes nocross=yes
@ -217,6 +217,7 @@ python-PyQt5-webengine_package() {
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - webengine module" short_desc+=" - webengine module"
pkg_install() { pkg_install() {
vmove ${py2_sitelib}/PyQt5/QtWebEngine.so
vmove ${py2_sitelib}/PyQt5/QtWebEngineCore.so vmove ${py2_sitelib}/PyQt5/QtWebEngineCore.so
vmove ${py2_sitelib}/PyQt5/QtWebEngineWidgets.so vmove ${py2_sitelib}/PyQt5/QtWebEngineWidgets.so
} }
@ -387,6 +388,7 @@ python3-PyQt5-webengine_package() {
depends="python3-PyQt5-${version}_${revision}" depends="python3-PyQt5-${version}_${revision}"
short_desc="${short_desc/Python2/Python3} - webengine module" short_desc="${short_desc/Python2/Python3} - webengine module"
pkg_install() { pkg_install() {
vmove ${py3_sitelib}/PyQt5/QtWebEngine.so
vmove ${py3_sitelib}/PyQt5/QtWebEngineCore.so vmove ${py3_sitelib}/PyQt5/QtWebEngineCore.so
vmove ${py3_sitelib}/PyQt5/QtWebEngineWidgets.so vmove ${py3_sitelib}/PyQt5/QtWebEngineWidgets.so
} }