summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo (XenGi) Band2020-04-04 00:44:43 +0200
committerRicardo (XenGi) Band2020-04-04 00:44:43 +0200
commitbd49dcadcdd9f397cd2d0d456c61f5d3606620d2 (patch)
tree2d1322430ec7b993ca70394c2e46dbd28c12b06a
parent79d8521a4b36781694640715014430733a78b3bb (diff)
downloadaur-bd49dcadcdd9f397cd2d0d456c61f5d3606620d2.tar.gz
updated to v2.0.1
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD34
-rw-r--r--virtualfish.install2
3 files changed, 23 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65505896db4..0d71570cdbe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,18 @@
pkgbase = virtualfish
- pkgdesc = A virtualenv wrapper for the Fish shell
- pkgver = 1.0.6
- pkgrel = 10
- url = https://github.com/adambrenecki/virtualfish
- install = virtualfish.install
+ pkgdesc = Fish shell tool for managing Python virtual environments
+ pkgver = 2.0.1
+ pkgrel = 1
+ url = https://github.com/justinmayer/virtualfish
arch = any
license = MIT
makedepends = python-setuptools
- makedepends = python-setuptools-scm>=1.11.1
+ depends = python
+ depends = python-pkgconfig
+ depends = python-psutil
depends = python-virtualenv
- depends = python-pkgconfig>=1.2.2
- depends = python-psutil>=5.2.2
depends = python-xdg
- depends = python-distlib
- provides = python-virtualfish
- source = virtualfish::git+https://github.com/adambrenecki/virtualfish.git#tag=1.0.6
- sha256sums = SKIP
+ source = https://files.pythonhosted.org/packages/source/v/virtualfish/virtualfish-2.0.1.tar.gz
+ sha256sums = 18be951a4997cd58ed6861f1d833390b63bb631a2c31933dc3e713e63ea80b6b
pkgname = virtualfish
diff --git a/PKGBUILD b/PKGBUILD
index 1eb228927c2..77cd7c81b7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,31 +1,23 @@
-# Maintainer: Ricardo (XenGi) Band <email@ricardo.band>
+# Maintainer: Ricardo Band <email@ricardo.band>
pkgname=virtualfish
-pkgver=1.0.6
-pkgrel=10
-pkgdesc="A virtualenv wrapper for the Fish shell"
-arch=(any)
-url="https://github.com/adambrenecki/virtualfish"
-license=('MIT')
-install=virtualfish.install
-provides=('python-virtualfish')
-makedepends=('python-setuptools' 'python-setuptools-scm>=1.11.1')
-#checkdepends=('python-pytest>=3.1.3' 'python-pytest-xdist>=1.22.2')
-depends=('python-virtualenv' 'python-pkgconfig>=1.2.2' 'python-psutil>=5.2.2' 'python-xdg' 'python-distlib') # >=1.0.5')
-source=("${pkgname}::git+https://github.com/adambrenecki/${pkgname}.git#tag=${pkgver}")
-sha256sums=('SKIP')
-
-#check() {
-# cd "${srcdir}/${pkgname}"
-# pytest .
-#}
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Fish shell tool for managing Python virtual environments"
+arch=("any")
+url=https://github.com/justinmayer/virtualfish
+license=("MIT")
+depends=("python" "python-pkgconfig" "python-psutil" "python-virtualenv" "python-xdg")
+makedepends=("python-setuptools")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz")
+sha256sums=('18be951a4997cd58ed6861f1d833390b63bb631a2c31933dc3e713e63ea80b6b')
build() {
- cd "${srcdir}/${pkgname}"
+ cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
- cd "${srcdir}/${pkgname}"
+ cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
diff --git a/virtualfish.install b/virtualfish.install
index 5d31a60b9c3..d37b2c00932 100644
--- a/virtualfish.install
+++ b/virtualfish.install
@@ -1,3 +1,3 @@
post_install () {
- echo "To use, edit ~/.config/fish/config.fish, adding a line that reads 'eval (python -m virtualfish)'"
+ echo "Run 'vf install' to install virtualfish"
}