summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2019-12-06 22:13:59 +0100
committeractionless2019-12-06 22:13:59 +0100
commit2e083f5e4afbb30ef6474b4775b20997a5cb9534 (patch)
tree2a4ed82cca83a5e98c19392ad33069e905c59fb9
parentd8547cd6869c3f06ac3d33be5f0a740f7b6c868b (diff)
downloadaur-2e083f5e4afbb30ef6474b4775b20997a5cb9534.tar.gz
resolve absolute PYTHONPATH in check()
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3e4c206ab456..e44165ea02b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pystache
pkgdesc = The mustache template engine written in python
pkgver = 0.5.4
- pkgrel = 6
+ pkgrel = 7
url = http://github.com/defunkt/pystache
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 31a520979d89..e414430a337b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python-pystache
_pkgname=pystache
pkgver=0.5.4
-pkgrel=6
+pkgrel=7
pkgdesc="The mustache template engine written in python"
arch=("any")
url="http://github.com/defunkt/pystache"
@@ -25,7 +25,7 @@ check() {
rm -rf "$test_dir"
mkdir "$test_dir"
python setup.py install --root="$test_dir"
- PYTHONPATH="$test_dir"/usr/lib/python*/site-packages/ \
+ PYTHONPATH=$(readlink -e "$test_dir"/usr/lib/python*/site-packages/) \
"$test_dir"/usr/bin/pystache-test .
}