summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSophie Tauchert2022-07-14 20:47:30 +0200
committerSophie Tauchert2022-07-14 20:47:30 +0200
commit19d20f9bd780a44f9072d39c1337c20bed6ad3e5 (patch)
tree934da7f122766e44f6cb1dbf63832acfd577cc27
parent1532bd488b5440e8627d2f3c1d34678fe5cc71cc (diff)
downloadaur-19d20f9bd780a44f9072d39c1337c20bed6ad3e5.tar.gz
Fix for missing git tag
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c615c3e1ad0..0ab2deac02ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-injector
pkgdesc = Python dependency injection framework, inspired by Guice.
pkgver = 0.20.1
- pkgrel = 1
+ pkgrel = 2
url = http://github.com/alecthomas/injector
arch = any
license = BSD
@@ -9,7 +9,7 @@ pkgbase = python-injector
depends = python
depends = python-typing_extensions
source = https://files.pythonhosted.org/packages/source/i/injector/injector-0.20.1.tar.gz
- source = https://raw.githubusercontent.com/alecthomas/injector/0.20.1/COPYING
+ source = https://raw.githubusercontent.com/alecthomas/injector/0.20.0/COPYING
sha256sums = 8661b49a2f8309ce61e3a6a82b7acb5e225c4bde8e17d1610c893a670dff223a
sha256sums = 567278bc23fa55244f132af7164aa684940c75fa35b19c395899422cb92613ba
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')