summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2019-12-06 21:22:10 +0100
committeractionless2019-12-06 21:22:10 +0100
commit7b6084660d83a2146e2239803455291a5ee5eef1 (patch)
tree9d1e52a85baf5a8e4504072ec141d80fea2ca2ec
parentea3a9c620ed302a78f6e0725f85ae17982ec70af (diff)
downloadaur-7b6084660d83a2146e2239803455291a5ee5eef1.tar.gz
don't hardcode path to python libs
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 72f77b4903a3..3e4c206ab456 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 = 5
+ pkgrel = 6
url = http://github.com/defunkt/pystache
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 519ccb7addd8..5dff1af17593 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python-pystache
_pkgname=pystache
pkgver=0.5.4
-pkgrel=5
+pkgrel=6
pkgdesc="The mustache template engine written in python"
arch=("any")
url="http://github.com/defunkt/pystache"
@@ -24,7 +24,7 @@ check() {
mkdir test_dir
cd "$_pkgname-$pkgver"
python setup.py install --root=../test_dir
- PYTHONPATH=../test_dir/usr/lib/python3.7/site-packages/ \
+ PYTHONPATH=../test_dir/usr/lib/python*/site-packages/ \
../test_dir/usr/bin/pystache-test .
}