summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanManN2018-12-21 12:09:07 -0500
committerDanManN2018-12-21 12:09:07 -0500
commit8572b4927e87b99b0b5f42fe0a5d9f17ea025e8f (patch)
treee961d3cef8b222bbcd9170d693f1a046ca5714d9
parent1d6dae076db6e0073f589158970a5b4a5bab55cd (diff)
downloadaur-python-vcrpy-git.tar.gz
make depends + better version detection
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6352affae57..e06d51a0e7f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,11 @@
pkgbase = python-vcrpy-git
pkgdesc = VCR.py simplifies and speeds up tests that make HTTP requests.
pkgver = 2.7.r835.0cf11d4
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kevin1024/vcrpy
arch = any
+ makedepends = git
+ makedepends = python-setuptools
depends = python
provides = python-vcrpy
conflicts = python-vcrpy
diff --git a/PKGBUILD b/PKGBUILD
index 2ee7f349208..b729c912e67 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,13 @@ _pkgname=vcrpy
_author=kevin1024
pkgname=python-$_pkgname-git
pkgver=2.7.r835.0cf11d4
-pkgrel=1
+pkgrel=2
pkgdesc="VCR.py simplifies and speeds up tests that make HTTP requests."
arch=('any')
url="https://github.com/$_author/$_pkgname"
license=('')
depends=('python')
-makedepends=('')
+makedepends=('git' 'python-setuptools')
provides=("python-$_pkgname")
conflicts=("python-$_pkgname")
source=("git+https://github.com/$_author/$_pkgname.git")
@@ -19,7 +19,7 @@ md5sums=('SKIP')
prepare() {
cd "$_pkgname"
- git checkout $(curl https://api.github.com/repos/$_author/$_pkgname/releases/latest | grep tag_name| cut -d '"' -f4)
+ git checkout $(curl https://api.github.com/repos/$_author/$_pkgname/releases | grep tag_name | cut -d '"' -f4 | head -n 1)
}
pkgver() {