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

Filipe Laíns ffy00 at archlinux.org
Wed Nov 25 14:45:24 UTC 2020


    Date: Wednesday, November 25, 2020 @ 14:45:24
  Author: ffy00
Revision: 761069

upgpkg: python-libcst 0.3.14-2

Modified:
  python-libcst/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-25 14:41:25 UTC (rev 761068)
+++ PKGBUILD	2020-11-25 14:45:24 UTC (rev 761069)
@@ -3,7 +3,7 @@
 _pkgname=LibCST
 pkgname=python-libcst
 pkgver=0.3.14
-pkgrel=1
+pkgrel=2
 pkgdesc="A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree"
 arch=('any')
 url='https://github.com/Instagram/LibCST'
@@ -17,6 +17,7 @@
 prepare() {
   cd $_pkgname-$pkgver
 
+  sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py
   python -m libcst.codegen.generate matchers
 }
 


More information about the arch-commits mailing list