Date: Sunday, November 27, 2022 @ 19:54:02 Author: arojas Revision: 1354130
upgpkg: python-libcst 0.4.9-1: Update to 0.4.9 (bootstrap) Modified: python-libcst/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-11-27 19:15:16 UTC (rev 1354129) +++ PKGBUILD 2022-11-27 19:54:02 UTC (rev 1354130) @@ -1,24 +1,24 @@ # Maintainer: Filipe LaĆns (FFY00) <[email protected]> -_pkgname=LibCST +_pkgname=libcst pkgname=python-libcst -pkgver=0.3.20 -pkgrel=4 +pkgver=0.4.9 +pkgrel=1 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' license=('MIT') depends=('python-typing_extensions' 'python-typing_inspect' 'python-yaml') -makedepends=('python-setuptools' 'python-isort' 'python-black') +makedepends=('python-setuptools-scm' 'python-setuptools-rust' 'python-isort' 'python-black' 'ufmt') checkdepends=('python-hypothesis' 'python-hypothesmith') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('03920d896850a228c3e48d9eb6256d6e781829965a6ccc4a8d9051ea8ad21a86c25b95cb4aef03b0fd3bd8d45694398dd7e30aeefc9d1b530747ee85ba73861f') +source=("https://pypi.io/packages/source/l/libcst/libcst-$pkgver.tar.gz") +sha512sums=('f4f6b89ae06b319d8a7ce29e3a2446318b587684adcc80fae32fd4cf4cb3744ef20e11543d38b27622b4b748df1ca4f829d23cf0327f0f4639c93a4fc118c4df') 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/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py +# python -m libcst.codegen.generate matchers } build() {
