summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFelix Yan2019-11-04 08:47:17 +0000
committerFelix Yan2019-11-04 08:47:17 +0000
commit5ab4b79ca77c95b637cc91b64bdab398292de5e2 (patch)
tree6fd4060c0d5cd693a309656deb30b2a7bb6bcda0 /PKGBUILD
parentcdcbb9f17c97c6169d19bae246ac28d2f6def50d (diff)
downloadaur-5ab4b79ca77c95b637cc91b64bdab398292de5e2.tar.gz
add fix for python 3.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4f92249b4d4c..7409b98e2d32 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,6 +13,10 @@ checkdepends=('python-pytest-runner')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Suor/whatever/archive/$pkgver.tar.gz")
sha512sums=('eb3f0b9bc63197c1bfdd135a46a597e2f5d6131900910f266c984c1afd901d6cbc8c8ee62397e9af8393bf34beff068dc0007e8b016e70f275e019420f18f6e1')
+prepare() {
+ sed -i -e 's/(1, 0, 1)/(1, 0, 0, 1)/' -e 's/(self._arity, 0, self._arity)/(self._arity, 0, 0, self._arity)/' whatever-$pkgver/whatever.py
+}
+
build() {
cd whatever-$pkgver
python setup.py build