[arch-commits] Commit in python-whatever/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:47:17 UTC 2019


    Date: Monday, November 4, 2019 @ 08:47:17
  Author: felixonmars
Revision: 523799

add fix for python 3.8

Modified:
  python-whatever/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++++
 1 file changed, 4 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-04 08:44:25 UTC (rev 523798)
+++ PKGBUILD	2019-11-04 08:47:17 UTC (rev 523799)
@@ -13,6 +13,10 @@
 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



More information about the arch-commits mailing list