summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a0004d0b948..981bb731fc4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = virtualfish
pkgdesc = A virtualenv wrapper for the Fish shell
pkgver = 1.0.6
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/adambrenecki/virtualfish
install = virtualfish.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 1c615bd921b..c8d0fb68cc3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,15 +2,15 @@
pkgbase=virtualfish
pkgname=('python-virtualfish' 'python2-virtualfish')
pkgver=1.0.6
-pkgrel=5
+pkgrel=6
pkgdesc="A virtualenv wrapper for the Fish shell"
arch=(any)
url="https://github.com/adambrenecki/virtualfish"
license=('MIT')
options=(!emptydirs)
install=virtualfish.install
-makedepends=('python-setuptools' 'python-setuptools-scm' 'python-virtualenv' 'python-pkgconfig' 'python-psutil' 'python-xdg'
- 'python2-setuptools' 'python2-setuptools-scm' 'python2-virtualenv' 'python2-pkgconfig' 'python2-psutil' 'python2-xdg')
+_deps=('setuptools' 'setuptools-scm' 'virtualenv' 'pkgconfig' 'psutil' 'xdg')
+makedepends=("${_deps[@]/#/python-}" "${_deps[@]/#/python2-}")
source=("${pkgbase}::git+https://github.com/adambrenecki/${pkgbase}.git#tag=${pkgver}")
sha256sums=('SKIP')
@@ -19,13 +19,13 @@ prepare() {
}
package_python-virtualfish() {
- depends=('python-setuptools' 'python-setuptools-scm' 'python-virtualenv' 'python-pkgconfig' 'python-psutil' 'python-xdg')
+ depends=("${_deps[@]/#/python-}")
cd "${srcdir}/${pkgbase}"
python setup.py install --root="$pkgdir/" --optimize=1
}
package_python2-virtualfish() {
- depends=('python2-setuptools' 'python2-setuptools-scm' 'python2-virtualenv' 'python2-pkgconfig' 'python2-psutil' 'python2-xdg')
+ depends=("${_deps[@]/#/python2-}")
cd "${srcdir}/${pkgbase}-py2"
python2 setup.py install --root="$pkgdir/" --optimize=1
}