git » pyqt5.git » commit 7859007

Current version does not support Qt 5.4, so switch to snapshots

author Andrea Scarpino
2014-12-14 09:21:02 UTC
committer Andrea Scarpino
2014-12-14 09:21:02 UTC
parent a87697df1f1407606b07574e3fe225a72daed086

Current version does not support Qt 5.4, so switch to snapshots

PKGBUILD +11 -9

diff --git a/PKGBUILD b/PKGBUILD
index 85ae6ac..eb42717 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,8 @@
 pkgbase=pyqt5
 pkgname=pyqt5
 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
-pkgver=5.3.2
+pkgver=5.4.0s10c73f88bfd5
+_pkgver=5.4-snapshot-10c73f88bfd5
 pkgrel=1
 arch=('i686' 'x86_64')
 url="http://riverbankcomputing.co.uk/software/pyqt/intro"
@@ -14,13 +15,14 @@ license=('GPL')
 makedepends=('python-sip' 'python2-sip' 'python-opengl' 'python2-opengl'
              'python2-dbus' 'python-dbus' 'qt5-multimedia' 'qt5-tools'
              'qt5-svg' 'qt5-serialport')
-source=("http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-${pkgver}/PyQt-gpl-${pkgver}.tar.gz")
-md5sums=('81ef608fa4f3961918106d0ca07aa68a')
+#source=("http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-${pkgver}/PyQt-gpl-${pkgver}.tar.gz")
+source=("http://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt-gpl-${_pkgver}.tar.gz")
+md5sums=('85d953ec2e2d7102b67f211135c7ee7c')
 
 build() {
-  cp -r PyQt-gpl-${pkgver} Py2Qt-gpl-${pkgver}
+  cp -r PyQt-gpl-${_pkgver} Py2Qt-gpl-${_pkgver}
 
-  cd PyQt-gpl-${pkgver}
+  cd PyQt-gpl-${_pkgver}
   python3 configure.py \
     --confirm-license \
     -v /usr/share/sip/PyQt5 \
@@ -33,7 +35,7 @@ build() {
   make
 
   ### Python2 version ###
-  cd ../Py2Qt-gpl-${pkgver}
+  cd ../Py2Qt-gpl-${_pkgver}
   python2 configure.py \
     --confirm-license \
     -v /usr/share/sip/Py2-PyQt5 \
@@ -50,7 +52,7 @@ package_pyqt5-common(){
   pkgdesc="Common PyQt files shared between python-pyqt5 and python2-pyqt5"
   depends=('qt5-base')
 
-  cd PyQt-gpl-${pkgver}
+  cd PyQt-gpl-${_pkgver}
   make -C pyrcc DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
   make -C pylupdate DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
 
@@ -70,7 +72,7 @@ package_python-pyqt5(){
               'qt5-declarative: QtQml, qmlplugin'
               'qt5-serialport: QtSerialPort')
 
-  cd PyQt-gpl-${pkgver}
+  cd PyQt-gpl-${_pkgver}
   # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
   make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
 
@@ -92,7 +94,7 @@ package_python2-pyqt5(){
               'qt5-declarative: QtQml, qmlplugin'
               'qt5-serialport: QtSerialPort')
 
-  cd Py2Qt-gpl-${pkgver}
+  cd Py2Qt-gpl-${_pkgver}
   # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
   make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install