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

Felix Yan felixonmars at archlinux.org
Thu Nov 19 20:38:56 UTC 2020


    Date: Thursday, November 19, 2020 @ 20:38:55
  Author: felixonmars
Revision: 757733

add fix for python 3.9

Modified:
  python-ioflo/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-19 20:32:01 UTC (rev 757732)
+++ PKGBUILD	2020-11-19 20:38:55 UTC (rev 757733)
@@ -15,6 +15,12 @@
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ioflo/ioflo/archive/v$pkgver.tar.gz")
 sha512sums=('7485924ce329889afb1c3e0555b54fdbfb11eafce48fb0ac15bacd229fea512c44fcc118bbc4368ebc7c770d62129ee6b895b982f73a269de7131ea37daac02b')
 
+prepare() {
+  cd ioflo-$pkgver
+  sed -i "s/encoding='utf-8',//" ioflo/aio/http/httping.py
+  sed -i "s/encoding='utf-8'/'utf-8'/" ioflo/aio/http/clienting.py
+}
+
 build() {
   cd ioflo-$pkgver
   python setup.py build



More information about the arch-commits mailing list