Date: Tuesday, January 5, 2021 @ 15:55:30 Author: ffy00 Revision: 809407
archrelease: copy trunk to community-any Added: python-libcst/repos/community-any/PKGBUILD (from rev 809406, python-libcst/trunk/PKGBUILD) Deleted: python-libcst/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-05 15:55:27 UTC (rev 809406) +++ PKGBUILD 2021-01-05 15:55:30 UTC (rev 809407) @@ -1,44 +0,0 @@ -# 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: Copied: python-libcst/repos/community-any/PKGBUILD (from rev 809406, python-libcst/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-05 15:55:30 UTC (rev 809407) @@ -0,0 +1,44 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +_pkgname=LibCST +pkgname=python-libcst +pkgver=0.3.16 +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=('220ace78d009ea29e9d05073815328da8fe6f31540c46d44569b35e611917378d857f7fae4f07dd19b96f490281768477cc375b8e524559ad5a737562d1c40d1') + +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: