summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdo Roig-Maranges2021-04-25 15:38:30 +0200
committerAbdo Roig-Maranges2021-04-25 15:50:11 +0200
commit2d8e2f4e9f7772caabae6891078d3e412caa035a (patch)
treefe76ed87475ff7c8c37adffc24f00194465d8f6b
parent4f4e3dde5dcfd452113407c3c6735fb1e257908e (diff)
downloadaur-2d8e2f4e9f7772caabae6891078d3e412caa035a.tar.gz
do not use git source so we can check hash
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dbe99c88487a..f4cb111f4ebf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 41e37486cc35..280497ffefc6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"