summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2017-06-15 16:33:49 +1000
committerRod Kay2017-06-15 16:33:49 +1000
commitb173bb6d9ab1a3acac0d3112a77c8e14675de44e (patch)
treeb2124201dcf18b5f3a20b82c47726e362bea48da
parente5436e82e4e22e31d0a8fca6e85e26c7f620975b (diff)
downloadaur-b173bb6d9ab1a3acac0d3112a77c8e14675de44e.tar.gz
Explicitly use python2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD18
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4741517b9b..34f3cca6a1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 46597839214..45de65d8b3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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