diff options
author | Felix Yan | 2019-11-04 08:47:17 +0000 |
---|---|---|
committer | Felix Yan | 2019-11-04 08:47:17 +0000 |
commit | 5ab4b79ca77c95b637cc91b64bdab398292de5e2 (patch) | |
tree | 6fd4060c0d5cd693a309656deb30b2a7bb6bcda0 /PKGBUILD | |
parent | cdcbb9f17c97c6169d19bae246ac28d2f6def50d (diff) | |
download | aur-5ab4b79ca77c95b637cc91b64bdab398292de5e2.tar.gz |
add fix for python 3.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |