[arch-commits] Commit in python-libcst/repos/community-staging-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Nov 25 14:45:27 UTC 2020
Date: Wednesday, November 25, 2020 @ 14:45:27
Author: ffy00
Revision: 761070
archrelease: copy trunk to community-staging-any
Added:
python-libcst/repos/community-staging-any/PKGBUILD
(from rev 761069, python-libcst/trunk/PKGBUILD)
Deleted:
python-libcst/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-25 14:45:24 UTC (rev 761069)
+++ PKGBUILD 2020-11-25 14:45:27 UTC (rev 761070)
@@ -1,44 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=LibCST
-pkgname=python-libcst
-pkgver=0.3.13
-pkgrel=3
-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=('f4f0a962557a12bf92b806d10ee9c10de04c066fe6f56e59a2664439a79f49b9a98e4420b78321ac0dd49c04a3603f778b2ebbc0597521725421bd512072c2eb')
-
-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-staging-any/PKGBUILD (from rev 761069, python-libcst/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-25 14:45:27 UTC (rev 761070)
@@ -0,0 +1,44 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at 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:
More information about the arch-commits
mailing list