extra/pyqt5 to 5.11.3-4

This commit is contained in:
Kevin Mihelich 2019-02-02 18:26:37 +00:00
parent a1270f8499
commit 5c11ac5fcc

View file

@ -10,7 +10,7 @@
pkgbase=pyqt5
pkgname=('pyqt5-common' 'python-pyqt5' 'python2-pyqt5')
pkgver=5.11.3
pkgrel=3
pkgrel=4
arch=('x86_64')
url="http://riverbankcomputing.co.uk/software/pyqt/intro"
license=('GPL')
@ -80,6 +80,7 @@ package_python-pyqt5(){
# compile Python bytecode
python -m compileall -d / "$pkgdir"/usr/lib
python -O -m compileall -d / "$pkgdir"/usr/lib
# Provided by pyqt-common
rm "$pkgdir"/usr/share/qt/qsci/api/python/PyQt5.api
@ -112,6 +113,7 @@ package_python2-pyqt5(){
# compile Python bytecode
python2 -m compileall -d / "$pkgdir"/usr/lib
python2 -O -m compileall -d / "$pkgdir"/usr/lib
# Fix conflicts with python-pyqt5
mv "$pkgdir"/usr/bin/{,python2-}pyuic5