mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/pyqt5 to 5.11.3-4
This commit is contained in:
parent
a1270f8499
commit
5c11ac5fcc
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue