Date: Tuesday, December 8, 2020 @ 19:05:48 Author: ffy00 Revision: 772007
archrelease: copy trunk to community-any Added: python-libcst/repos/community-any/PKGBUILD (from rev 772006, python-libcst/trunk/PKGBUILD) Deleted: python-libcst/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-08 19:05:44 UTC (rev 772006) +++ PKGBUILD 2020-12-08 19:05:48 UTC (rev 772007) @@ -1,44 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -_pkgname=LibCST -pkgname=python-libcst -pkgver=0.3.14 -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' -license=('MIT') -depends=('python-typing_extensions' 'python-typing_inspect' 'python-yaml') -makedepends=('python-setuptools') -checkdepends=('python-hypothesis' 'python-hypothesmith' 'python-isort' 'python-black') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('d3ce611815917a42070c632646556d08350428b8a7264d3617ccf3b9dca7c722945f281f47ab90bd08677a8bc732e63ded68a37c7848fc404198e3b98daed0e9') - -prepare() { - cd $_pkgname-$pkgver - - sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py - python -m libcst.codegen.generate matchers -} - -build() { - cd $_pkgname-$pkgver - - python setup.py build -} - -check() { - cd $_pkgname-$pkgver - - python -m unittest -} - -package() { - cd $_pkgname-$pkgver - - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-libcst/repos/community-any/PKGBUILD (from rev 772006, python-libcst/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-08 19:05:48 UTC (rev 772007) @@ -0,0 +1,44 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +_pkgname=LibCST +pkgname=python-libcst +pkgver=0.3.15 +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') +checkdepends=('python-hypothesis' 'python-hypothesmith' 'python-isort' 'python-black') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha512sums=('61836e41d807f9f292ead74df8ca67e9b51e7f520050d6d87328ce5c5cf164e5e703d9644d6b080552f609109ea34546b40c22d36f33c676f357e7fa22462970') + +prepare() { + cd $_pkgname-$pkgver + + sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatcherNodeMeta/' libcst/codegen/gen_matcher_classes.py + python -m libcst.codegen.generate matchers +} + +build() { + cd $_pkgname-$pkgver + + python setup.py build +} + +check() { + cd $_pkgname-$pkgver + + python -m unittest +} + +package() { + cd $_pkgname-$pkgver + + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: