summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSophie Tauchert2022-07-14 20:47:30 +0200
committerSophie Tauchert2022-07-14 20:47:30 +0200
commit19d20f9bd780a44f9072d39c1337c20bed6ad3e5 (patch)
tree934da7f122766e44f6cb1dbf63832acfd577cc27 /PKGBUILD
parent1532bd488b5440e8627d2f3c1d34678fe5cc71cc (diff)
downloadaur-19d20f9bd780a44f9072d39c1337c20bed6ad3e5.tar.gz
Fix for missing git tag
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 94a171729cd5..738de43beb32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,9 @@
_pkgname=injector
pkgname=python-${_pkgname}
pkgver=0.20.1
-pkgrel=1
+# temp fix while pypi version has no corresponding git tag
+_git_tag=0.20.0
+pkgrel=2
pkgdesc="Python dependency injection framework, inspired by Guice."
arch=('any')
url="http://github.com/alecthomas/injector"
@@ -12,7 +14,7 @@ depends=('python' 'python-typing_extensions')
makedepends=('python-setuptools')
provides=()
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
- "https://raw.githubusercontent.com/alecthomas/injector/${pkgver}/COPYING")
+ "https://raw.githubusercontent.com/alecthomas/injector/${_git_tag}/COPYING")
sha256sums=('8661b49a2f8309ce61e3a6a82b7acb5e225c4bde8e17d1610c893a670dff223a'
'567278bc23fa55244f132af7164aa684940c75fa35b19c395899422cb92613ba')