summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas2017-08-05 04:12:45 +0200
committerNiklas2017-08-05 04:12:45 +0200
commita0635c5a45121600e761795d737f48cca310fc1c (patch)
tree876db3768c8d5570f6962705fe62dad9d5934241
parent55ad93c7fad2914953b526080d10e6b120fc60e1 (diff)
downloadaur-a0635c5a45121600e761795d737f48cca310fc1c.tar.gz
Added python dependency
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e7d98fb325d..cdf5bbfd13d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,6 +11,8 @@ pkgbase = python-chainmap
sha256sums = 405da3bce9913bfb33e6e497803b447b60d12ab44031ca357626143e087e0526
pkgname = python-chainmap
+ depends = python
pkgname = python2-chainmap
+ depends = python2
diff --git a/PKGBUILD b/PKGBUILD
index ed8689d0460..800df69af5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,11 +18,15 @@ prepare() {
}
package_python-chainmap() {
+ depends=('python')
+
cd "${srcdir}/${_name}-${pkgver}"
python setup.py install --root="$pkgdir/" --optimize=1
}
package_python2-chainmap() {
+ depends=('python2')
+
cd "${srcdir}/${_name}-${pkgver}-python2"
python2 setup.py install --root="$pkgdir/" --optimize=1
}