Date: Sunday, November 27, 2022 @ 23:52:22
Author: arojas
Revision: 1354152
upgpkg: python-libcst 0.4.9-2: Switch to x86_64
Modified:
python-libcst/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-27 23:13:00 UTC (rev 1354151)
+++ PKGBUILD 2022-11-27 23:52:22 UTC (rev 1354152)
@@ -3,9 +3,9 @@
_pkgname=libcst
pkgname=python-libcst
pkgver=0.4.9
-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')
+arch=('x86_64')
url='https://github.com/Instagram/LibCST'
license=('MIT')
depends=('python-typing_extensions' 'python-typing_inspect' 'python-yaml')
@@ -17,8 +17,10 @@
prepare() {
cd $_pkgname-$pkgver
-# sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional,
AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py
-# python -m libcst.codegen.generate matchers
+ sed -i 's/subprocess.check_call/subprocess.run/' libcst/codegen/generate.py
+ python -m libcst.codegen.generate all
+
+ rm
libcst/metadata/tests/{test_full_repo_manager,test_type_inference_provider}.py
# need pyre
}
build() {