summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo (XenGi) Band2020-04-05 17:47:25 +0200
committerRicardo (XenGi) Band2020-04-05 17:47:25 +0200
commit60c01ede7e62b23b21d21046ef6788eb27d56348 (patch)
treede77711348235a227c9d57f99979fd4f8091d0ba
parentbd49dcadcdd9f397cd2d0d456c61f5d3606620d2 (diff)
downloadaur-60c01ede7e62b23b21d21046ef6788eb27d56348.tar.gz
updated to v2.1.0; included temp fix for https://bugs.archlinux.org/task/64173
-rw-r--r--.SRCINFO9
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD13
3 files changed, 15 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d71570cdbe..58629d77cae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = virtualfish
pkgdesc = Fish shell tool for managing Python virtual environments
- pkgver = 2.0.1
+ pkgver = 2.1.0
pkgrel = 1
url = https://github.com/justinmayer/virtualfish
arch = any
@@ -10,9 +10,10 @@ pkgbase = virtualfish
depends = python-pkgconfig
depends = python-psutil
depends = python-virtualenv
- depends = python-xdg
- source = https://files.pythonhosted.org/packages/source/v/virtualfish/virtualfish-2.0.1.tar.gz
- sha256sums = 18be951a4997cd58ed6861f1d833390b63bb631a2c31933dc3e713e63ea80b6b
+ source = https://files.pythonhosted.org/packages/source/v/virtualfish/virtualfish-2.1.0.tar.gz
+ source = xdg.py::https://github.com/srstevenson/xdg/blob/4.0.1/src/xdg/__init__.py
+ sha256sums = 704b9e4ec0594f84ef6a29d3caca4c74ee9778ec57ab97c5bd79073e477982c2
+ sha256sums = abf7d06bdb0eee3c51c05e0d271fd22771a3649802aad852c155b3e54b4afe4a
pkgname = virtualfish
diff --git a/.gitignore b/.gitignore
index 598a1ed9c50..9d95720fd61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
virtualfish/
+xdg.py
# Created by https://www.gitignore.io/api/linux,archlinuxpackages,vim
diff --git a/PKGBUILD b/PKGBUILD
index 77cd7c81b7a..12475b76ec3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,17 @@
# Maintainer: Ricardo Band <email@ricardo.band>
pkgname=virtualfish
-pkgver=2.0.1
+pkgver=2.1.0
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")
+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')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz"
+ "xdg.py::https://github.com/srstevenson/xdg/blob/4.0.1/src/xdg/__init__.py")
+sha256sums=('704b9e4ec0594f84ef6a29d3caca4c74ee9778ec57ab97c5bd79073e477982c2'
+ 'abf7d06bdb0eee3c51c05e0d271fd22771a3649802aad852c155b3e54b4afe4a')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -19,5 +21,8 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+
+ # temporary fix issue with xdg/pyxdg https://bugs.archlinux.org/task/64173
+ install -m 0644 "$srcdir/xdg.py" "$pkgdir/usr/lib/python3.8/site-packages/virtualfish/loader/xdg.py"
}