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

Antonio Rojas arojas at archlinux.org
Tue May 29 22:52:55 UTC 2018


    Date: Tuesday, May 29, 2018 @ 22:52:54
  Author: arojas
Revision: 325133

Use python3

Modified:
  qt5-base/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-29 22:37:30 UTC (rev 325132)
+++ PKGBUILD	2018-05-29 22:52:54 UTC (rev 325133)
@@ -41,10 +41,6 @@
   sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
     mkspecs/common/g++-unix.conf
 
-  # Use python2 for Python 2.x
-  find . -name '*.py' -exec sed -i \
-    's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
-
   # Fix missing private includes https://bugreports.qt.io/browse/QTBUG-37417
   patch -p1 -i ../qt-private-includes.patch
 }
@@ -52,7 +48,7 @@
 build() {
   cd ${_pkgfqn}
 
-  PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource -v \
+  ./configure -confirm-license -opensource -v \
     -prefix /usr \
     -docdir /usr/share/doc/qt \
     -headerdir /usr/include/qt \



More information about the arch-commits mailing list