summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRod Kay2017-06-09 13:43:22 +1000
committerRod Kay2017-06-09 13:43:22 +1000
commit7028dfbf0648e59ce8978976fd06483454feddf4 (patch)
tree3f62c9ae44212935bf90bc7b30164262992161b7
parent7e6d15ebc3a376960bf6a9b0bc3b1fddb06905ae (diff)
downloadaur-7028dfbf0648e59ce8978976fd06483454feddf4.tar.gz
Add langkit dir to PYTHONPATH
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0fce68378f..2fb62b1c22b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Jun 8 09:47:44 UTC 2017
+# Fri Jun 9 03:42:50 UTC 2017
pkgbase = libadalang
pkgdesc = A high performance semantic engine for the Ada programming language.
pkgver = 1
diff --git a/PKGBUILD b/PKGBUILD
index 0f39bb523fb..4c46d44a7fa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -35,8 +35,8 @@ prepare()
# Install langkit
#
- rm -fr langkit
- mv ../langkit .
+# rm -fr langkit
+# mv ../langkit .
## Force use of pyhon2
#
@@ -56,6 +56,8 @@ build()
source /etc/profile.d/quex.sh
export PATH=$srcdir/$pkgname/temp_bin:$PATH
+ export PYTHONPATH=$srcdir/langkit:$PYTHONPATH
+
python ada/manage.py generate
# Add -fPIC where needed.