summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122020-12-15 08:53:35 +0100
committerwillemw122020-12-15 08:53:35 +0100
commit5cf11fcceaacf63feef15ffaa062b2164eb7cab0 (patch)
tree0b925d8acd4f3e8634abd32ecb1b712103b96488
parent7a243ac97bc2ea2cb6aa83629fb567d022ecf0db (diff)
downloadaur-5cf11fcceaacf63feef15ffaa062b2164eb7cab0.tar.gz
Replace deprecated pip search
Add PIP_DEFAULT_TIMEOUT environment variable
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 367e7c9028d..f80c9a58aae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sickchill-git
pkgdesc = Automatic video library manager for TV shows
- pkgver = 2020.9.7.post4.r0
+ pkgver = 2020.11.24.post1.r0
pkgrel = 1
url = https://sickchill.github.io
install = sickchill-git.install
diff --git a/PKGBUILD b/PKGBUILD
index 4b3d216784d..55b27d31b46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# That is the only reason why this package ends on -git.
pkgname=sickchill-git
-pkgver=2020.9.7.post4.r0
+pkgver=2020.11.24.post1.r0
pkgrel=1
pkgdesc="Automatic video library manager for TV shows"
arch=('any')
@@ -24,9 +24,13 @@ md5sums=('309b8555af7b355f16a3ec784771f426'
'97fb191af2e326d5aba2cf58270b4feb'
'515f13e391105a716ef6763ba8533fc7')
+export PIP_DEFAULT_TIMEOUT=60
+
pkgver() {
- python -m venv pkgver
- pkgver/bin/pip search "${pkgname%-git}" | awk '$1 == "'${pkgname%-git}'" { gsub("[()]", ""); print $2 ".r0" }'
+ #python -m venv pkgver
+ #pkgver/bin/pip search "${pkgname%-git}" | awk '$1 == "'${pkgname%-git}'" { gsub("[()]", ""); print $2 ".r0" }'
+
+ curl -s "https://pypi.org/search/?q=${pkgname%-git}" | sed -n 's/.*package-snippet__version">\(.*\)<.*/\1.r0/p'
}
build() {