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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Apr 16 21:56:27 UTC 2019


    Date: Tuesday, April 16, 2019 @ 21:56:26
  Author: svenstaro
Revision: 451841

upgpkg: emscripten 1.38.30-2

Try using only Python 3 (FS#62342)

Modified:
  emscripten/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-16 21:46:25 UTC (rev 451840)
+++ PKGBUILD	2019-04-16 21:56:26 UTC (rev 451841)
@@ -5,12 +5,12 @@
 
 pkgname=emscripten
 pkgver=1.38.30
-pkgrel=1
+pkgrel=2
 pkgdesc="LLVM-based project that compiles C and C++ into highly-optimizable JavaScript for the web"
 arch=('x86_64')
 url="http://emscripten.org"
 license=('custom')
-depends=('nodejs' 'python' 'python2')
+depends=('nodejs' 'python')
 makedepends=('cmake' 'libxml2')
 optdepends=('java-environment: for using clojure'
             'ruby: for using websockify addon'
@@ -34,9 +34,7 @@
   rm -rf tools/clang
   ln -s "$srcdir"/emscripten-fastcomp-clang-$pkgver tools/clang
 
-  # python2 shebang fixes
   cd ../emscripten-$pkgver
-  sed '1s|python$|python2|' -i $(find third_party tools -name \*.py) emrun
 
   # adapt config file template to use our custom environment variable and path
   sed -e "s|getenv('LLVM')|getenv('EMSCRIPTEN_FASTCOMP')|" \
@@ -48,7 +46,7 @@
   cd emscripten-fastcomp-$pkgver/build
 
   cmake .. \
-    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DPYTHON_EXECUTABLE=/usr/bin/python \
     -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_SKIP_RPATH=YES \
     -DLLVM_TARGETS_TO_BUILD="X86;JSBackend" \


More information about the arch-commits mailing list