python-PyQt4: update to 4.11.4

This commit is contained in:
Alessio Sergi 2015-06-14 14:04:14 +02:00
parent 8c29540786
commit 258fd86e7d
1 changed files with 15 additions and 12 deletions

View File

@ -1,19 +1,20 @@
# Template file for 'python-PyQt4'
pkgname=python-PyQt4
version=4.11.3
revision=3
version=4.11.4
revision=1
wrksrc="PyQt-x11-gpl-${version}"
hostmakedepends="pkg-config"
makedepends="python-devel python3.4-devel python-sip-devel python3.4-sip-devel
qt-devel dbus-devel python-dbus-devel MesaLib-devel phonon-devel"
depends="python-sip"
pycompile_module="PyQt4"
short_desc="Python2 bindings for the Qt4 toolkit"
_short_desc="${short_desc/Python2/Python3.4}"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.riverbankcomputing.co.uk/software/pyqt/intro"
license="GPL-2, GPL-3"
distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt-x11-gpl-${version}.tar.gz"
checksum=853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686
checksum=fc1fe77495432ba3b0d74ff5cb164d375a97f5dddb728256330f615a7cdcf407
_do_pyqt4_build() {
local pyver=${1:-2.7} tools=
@ -66,22 +67,22 @@ python-PyQt4-devel-tools_package() {
}
python-PyQt4-devel_package() {
depends="python-sip-devel python3.4-sip-devel
python-PyQt4>=${version}_${revision} python3.4-PyQt4>=${version}_${revision}"
python-PyQt4-${version}_${revision} python3.4-PyQt4-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/sip
}
}
python-PyQt4-dbus_package() {
depends="${sourcepkg}>=${version}_${revision} python-dbus"
short_desc+=" - D-Bus support"
depends="${sourcepkg}-${version}_${revision} python-dbus"
short_desc+=" - dbus support"
pkg_install() {
vmove usr/lib/python2.7/site-packages/dbus/mainloop/qt.so
}
}
python-PyQt4-phonon_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - Phonon bindings"
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - phonon bindings"
pkg_install() {
vmove usr/lib/python2.7/site-packages/PyQt4/phonon.so
}
@ -95,6 +96,8 @@ python-PyQt4-doc_package() {
}
python3.4-PyQt4_package() {
depends="python3.4-sip"
pycompile_version="3.4"
pycompile_module="PyQt4"
short_desc="${_short_desc}"
pkg_install() {
vmove usr/bin/python3-pyuic4
@ -102,15 +105,15 @@ python3.4-PyQt4_package() {
}
}
python3.4-PyQt4-dbus_package() {
depends="python3.4-PyQt4>=${version}_${revision} python3.4-dbus"
short_desc="${_short_desc} - D-Bus support"
depends="python3.4-PyQt4-${version}_${revision} python3.4-dbus"
short_desc="${_short_desc} - dbus support"
pkg_install() {
vmove usr/lib/python3.4/site-packages/dbus/mainloop/qt.so
}
}
python3.4-PyQt4-phonon_package() {
depends="python3.4-PyQt4>=${version}_${revision}"
short_desc="${_short_desc} - Phonon bindings"
depends="python3.4-PyQt4-${version}_${revision}"
short_desc="${_short_desc} - phonon bindings"
pkg_install() {
vmove usr/lib/python3.4/site-packages/PyQt4/phonon.so
}