diff options
author | Abdo Roig-Maranges | 2021-04-25 15:38:30 +0200 |
---|---|---|
committer | Abdo Roig-Maranges | 2021-04-25 15:50:11 +0200 |
commit | 2d8e2f4e9f7772caabae6891078d3e412caa035a (patch) | |
tree | fe76ed87475ff7c8c37adffc24f00194465d8f6b | |
parent | 4f4e3dde5dcfd452113407c3c6735fb1e257908e (diff) | |
download | aur-2d8e2f4e9f7772caabae6891078d3e412caa035a.tar.gz |
do not use git source so we can check hash
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 5 deletions
@@ -11,8 +11,8 @@ pkgbase = python-github3.py depends = python-uritemplate depends = python-dateutil depends = python-jwcrypto - source = github3::git+https://github.com/sigmavirus24/github3.py.git#commit=e586949a4dbed22f169afaffe25cb07e5a60a606 - sha256sums = SKIP + source = github3-2.0.0.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/2.0.0.tar.gz + sha256sums = 3ee0481402d94f0737da5687e70d836b5a3dbe5567cb2d240cb0c616334a95a5 pkgname = python-github3.py @@ -1,7 +1,6 @@ # Maintainer: Diego Nieto Cid <dnietoc@gmail.com> pkgname="python-github3.py" -_commit="e586949a4dbed22f169afaffe25cb07e5a60a606" pkgver="2.0.0" pkgrel=1 pkgdesc="A comprehensive wrapper around the GitHub API (v3)" @@ -10,8 +9,8 @@ url="https://github.com/sigmavirus24/github3.py" license=("custom:Modified BSD") makedepends=("python-setuptools") depends=("python" "python-requests" "python-uritemplate" "python-dateutil" "python-jwcrypto") -source=(github3::"git+https://github.com/sigmavirus24/github3.py.git#commit=${_commit}") -sha256sums=('SKIP') +source=("github3-$pkgver.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('3ee0481402d94f0737da5687e70d836b5a3dbe5567cb2d240cb0c616334a95a5') build() { cd "${srcdir}/github3" |