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

Felix Yan felixonmars at archlinux.org
Fri Nov 13 20:19:16 UTC 2020


    Date: Friday, November 13, 2020 @ 20:19:15
  Author: felixonmars
Revision: 753992

add fixes for python 3.9

Modified:
  python-aspectlib/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-13 20:18:15 UTC (rev 753991)
+++ PKGBUILD	2020-11-13 20:19:15 UTC (rev 753992)
@@ -14,6 +14,11 @@
 source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/python-aspectlib/archive/v$pkgver.tar.gz")
 sha512sums=('24e700a14096042f2382910eb1245a9b64d99670c8bd60e2df4afe41113e8f813633bae10c8c2487c52c556f537a77ee43f6672a00af1f05d2ed4a129a92332e')
 
+prepare() {
+  cd python-aspectlib-$pkgver
+  sed -i 's/from _dummy_thread import allocate_lock/from _thread import allocate_lock/' src/aspectlib/test.py
+}
+
 build() {
   cd python-aspectlib-$pkgver
   python setup.py build



More information about the arch-commits mailing list