diff options
author | Rod Kay | 2017-06-15 16:33:49 +1000 |
---|---|---|
committer | Rod Kay | 2017-06-15 16:33:49 +1000 |
commit | b173bb6d9ab1a3acac0d3112a77c8e14675de44e (patch) | |
tree | b2124201dcf18b5f3a20b82c47726e362bea48da | |
parent | e5436e82e4e22e31d0a8fca6e85e26c7f620975b (diff) | |
download | aur-b173bb6d9ab1a3acac0d3112a77c8e14675de44e.tar.gz |
Explicitly use python2
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 10 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Thu Jun 15 06:02:58 UTC 2017 +# Thu Jun 15 06:33:22 UTC 2017 pkgbase = libadalang pkgdesc = A high performance semantic engine for the Ada programming language. pkgver = 1 @@ -35,10 +35,10 @@ prepare() ## Force use of pyhon2 # - rm -fr temp_bin - mkdir temp_bin - ln -s /usr/bin/python2 temp_bin/python - ln -s /usr/bin/python2-config temp_bin/python-config +# rm -fr temp_bin +# mkdir temp_bin +# ln -s /usr/bin/python2 temp_bin/python +# ln -s /usr/bin/python2-config temp_bin/python-config } @@ -50,16 +50,16 @@ build() # source /etc/profile.d/quex.sh - export PATH=$srcdir/libadalang-gps-src/temp_bin:$PATH +# export PATH=$srcdir/libadalang-gps-src/temp_bin:$PATH export PYTHONPATH=$srcdir/langkit-gps-src:$PYTHONPATH - python ada/manage.py generate + python2 ada/manage.py generate # Add -fPIC where needed. # patch -Np0 -i "$srcdir"/use_fpic_for_libadalang.patch - python ada/manage.py build + python2 ada/manage.py build } @@ -71,9 +71,9 @@ package() # source /etc/profile.d/quex.sh - export PATH=$srcdir/libadalang-gps-src/temp_bin:$PATH +# export PATH=$srcdir/libadalang-gps-src/temp_bin:$PATH - python ada/manage.py install $pkgdir/usr + python2 ada/manage.py install $pkgdir/usr mkdir -p $pkgdir/usr/lib/python2.7/site-packages |