[arch-commits] Commit in pyqt5/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Fri Feb 27 04:52:56 UTC 2015


    Date: Friday, February 27, 2015 @ 05:52:56
  Author: fyan
Revision: 232037

upgpkg: pyqt5 5.4.1-1

- upstream new release
- move sip files into -common (FS#43821)

Modified:
  pyqt5/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-27 03:55:37 UTC (rev 232036)
+++ PKGBUILD	2015-02-27 04:52:56 UTC (rev 232037)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Yichao Yu <yyc1992 at gmail.com>
 # Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 # Contributor: riai <riai at bigfoot.com> Ben <ben at benmazer.net>
@@ -7,9 +8,9 @@
 pkgbase=pyqt5
 pkgname=pyqt5
 pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
-pkgver=5.4.0
-_pkgver=5.4
-pkgrel=2
+pkgver=5.4.1
+_pkgver=$pkgver
+pkgrel=1
 arch=('i686' 'x86_64')
 url="http://riverbankcomputing.co.uk/software/pyqt/intro"
 license=('GPL')
@@ -18,15 +19,15 @@
              'qt5-multimedia' 'qt5-tools' 'qt5-serialport' 'qt5-svg'
              'qt5-webengine' 'qt5-websockets' 'qt5-x11extras')
 source=("http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-${_pkgver}/PyQt-gpl-${_pkgver}.tar.gz")
-md5sums=('7f2eb79eaf3d7e5e7df5a4e9c8c9340e')
+md5sums=('a07bd7c426c7cda39f9a5072ee724aba')
 
 build() {
-  cp -r PyQt-gpl-${_pkgver} Py2Qt-gpl-${_pkgver}
+  cp -a PyQt-gpl-${_pkgver} Py2Qt-gpl-${_pkgver}
 
   cd PyQt-gpl-${_pkgver}
   python3 configure.py \
     --confirm-license \
-    -v /usr/share/sip/PyQt5 \
+    --no-sip-files \
     --qsci-api \
     -q /usr/bin/qmake-qt5
 
@@ -39,7 +40,7 @@
   cd ../Py2Qt-gpl-${_pkgver}
   python2 configure.py \
     --confirm-license \
-    -v /usr/share/sip/Py2-PyQt5 \
+    --no-sip-files \
     --qsci-api \
     -q /usr/bin/qmake-qt5
 
@@ -58,6 +59,9 @@
   make -C pylupdate DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
 
   install -Dm644 PyQt5.api "${pkgdir}"/usr/share/qt/qsci/api/python/PyQt5.api
+
+  install -d "${pkgdir}"/usr/share/sip/PyQt5
+  cp -a sip/* "${pkgdir}"/usr/share/sip/PyQt5
 }
 
 package_python-pyqt5(){



More information about the arch-commits mailing list