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

Antonio Rojas arojas at archlinux.org
Sat Feb 2 14:25:02 UTC 2019


    Date: Saturday, February 2, 2019 @ 14:25:01
  Author: arojas
Revision: 345116

Compile optimized bytecode (FS#61552)

Modified:
  pyqt5/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-02 13:27:18 UTC (rev 345115)
+++ PKGBUILD	2019-02-02 14:25:01 UTC (rev 345116)
@@ -7,7 +7,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')
@@ -75,6 +75,7 @@
 
   # 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
@@ -107,6 +108,7 @@
 
   # 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



More information about the arch-commits mailing list