summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo (XenGi) Band2018-07-01 16:39:04 +0200
committerRicardo (XenGi) Band2018-07-01 16:39:04 +0200
commitacaa671e6f8cda08b21b5e7d86ea031b2359d0dc (patch)
treef86f4da6c614b04e90d226c68139a734e4b22ad0
parent175047ced868952927c721cd89ff1ace6ac57361 (diff)
downloadaur-acaa671e6f8cda08b21b5e7d86ea031b2359d0dc.tar.gz
fixed depends and makedepends
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD15
-rw-r--r--virtualfish.install3
3 files changed, 16 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2dcbec115b2..becd3288c85 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,18 @@
pkgbase = virtualfish
pkgdesc = A virtualenv wrapper for the Fish shell
- pkgver = 1.0.5
- pkgrel = 5
+ pkgver = 1.0.6
+ pkgrel = 2
url = https://github.com/adambrenecki/virtualfish
+ install = virtualfish.install
arch = any
license = MIT
- depends = python-virtualenv
- depends = python2-virtualenv
- depends = python-setuptools
- depends = python2-setuptools
options = !emptydirs
- source = virtualfish::git+https://github.com/adambrenecki/virtualfish.git#tag=1.0.5
- sha1sums = SKIP
+ source = virtualfish::git+https://github.com/adambrenecki/virtualfish.git#tag=1.0.6
+ sha256sums = SKIP
pkgname = python-virtualfish
depends = python-virtualenv
- depends = python-setuptools
pkgname = python2-virtualfish
depends = python2-virtualenv
- depends = python2-setuptools
diff --git a/PKGBUILD b/PKGBUILD
index c183ce144ee..c4cbbf78544 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,32 @@
# Maintainer: Ricardo (XenGi) Band <email@ricardo.band>
pkgbase=virtualfish
pkgname=('python-virtualfish' 'python2-virtualfish')
-pkgver=1.0.5
-pkgrel=5
+pkgver=1.0.6
+pkgrel=2
pkgdesc="A virtualenv wrapper for the Fish shell"
arch=(any)
url="https://github.com/adambrenecki/virtualfish"
license=('MIT')
-depends=('python-virtualenv' 'python2-virtualenv' 'python-setuptools' 'python2-setuptools')
options=(!emptydirs)
-install=
+install=virtualfish.install
source=("${pkgbase}::git+https://github.com/adambrenecki/${pkgbase}.git#tag=${pkgver}")
-sha1sums=('SKIP')
+sha256sums=('SKIP')
prepare() {
cp -a "$srcdir/$pkgbase"{,-py2}
}
package_python-virtualfish() {
- depends=('python-virtualenv' 'python-setuptools')
+ depends=('python-virtualenv')
+ makedepends=('python-setuptools')
cd "${srcdir}/${pkgbase}"
python setup.py install --root="$pkgdir/" --optimize=1
}
package_python2-virtualfish() {
- depends=('python2-virtualenv' 'python2-setuptools')
+ depends=('python2-virtualenv')
+ makedepends=('python2-setuptools')
cd "${srcdir}/${pkgbase}-py2"
python2 setup.py install --root="$pkgdir/" --optimize=1
diff --git a/virtualfish.install b/virtualfish.install
new file mode 100644
index 00000000000..d38e5afaaa9
--- /dev/null
+++ b/virtualfish.install
@@ -0,0 +1,3 @@
+post_install () {
+ echo "To use, edit ~/.config/fish/config.fish, adding a line that reads eval (python -m virtualfish)"
+}