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

Antonio Rojas arojas at archlinux.org
Tue May 29 22:37:30 UTC 2018


    Date: Tuesday, May 29, 2018 @ 22:37:30
  Author: arojas
Revision: 325132

Use python3

Modified:
  qt5-declarative/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-29 21:35:40 UTC (rev 325131)
+++ PKGBUILD	2018-05-29 22:37:30 UTC (rev 325132)
@@ -11,7 +11,7 @@
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='Classes for QML and JavaScript languages'
 depends=('qt5-xmlpatterns')
-makedepends=('python2')
+makedepends=('python')
 groups=('qt' 'qt5')
 conflicts=('qtchooser' 'qt5-declarative-render2d')
 replaces=('qt5-declarative-render2d')
@@ -21,15 +21,11 @@
 
 prepare() {
   mkdir -p build
-
-  # Use python2 for Python 2.x
-  find -name '*.pro' -o -name '*.pri' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g'
 }
 
 build() {
   cd build
 
-  export PYTHON=python2
   qmake ../${_pkgfqn}
   make
 }



More information about the arch-commits mailing list